Search is not available for this dataset
id stringlengths 1 8 | text stringlengths 72 9.81M | addition_count int64 0 10k | commit_subject stringlengths 0 3.7k | deletion_count int64 0 8.43k | file_extension stringlengths 0 32 | lang stringlengths 1 94 | license stringclasses 10
values | repo_name stringlengths 9 59 |
|---|---|---|---|---|---|---|---|---|
10072450 | <NME> split.gemspec
<BEF> # -*- encoding: utf-8 -*-
# frozen_string_literal: true
$:.push File.expand_path("../lib", __FILE__)
require "split/version"
Gem::Specification.new do |s|
s.name = "split"
s.version = Split::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Andrew Nesbitt"]
s... | 1 | Require a newer version of bundler for development | 1 | .gemspec | gemspec | mit | splitrb/split |
10072451 | <NME> configuration.rb
<BEF> # frozen_string_literal: true
module Split
class Configuration
attr_accessor :ignore_ip_addresses
attr_accessor :ignore_filter
'Gigabot' => 'Gigabot spider',
'Googlebot' => 'Google spider',
'msnbot' => 'Microsoft bot',
'rogerbot' => 'SeoMoz spider',
... | 1 | Merge pull request #129 from zinkkrysty/master | 0 | .rb | rb | mit | splitrb/split |
10072452 | <NME> configuration.rb
<BEF> # frozen_string_literal: true
module Split
class Configuration
attr_accessor :ignore_ip_addresses
attr_accessor :ignore_filter
'Gigabot' => 'Gigabot spider',
'Googlebot' => 'Google spider',
'msnbot' => 'Microsoft bot',
'rogerbot' => 'SeoMoz spider',
... | 1 | Merge pull request #129 from zinkkrysty/master | 0 | .rb | rb | mit | splitrb/split |
10072453 | <NME> configuration.rb
<BEF> # frozen_string_literal: true
module Split
class Configuration
attr_accessor :ignore_ip_addresses
attr_accessor :ignore_filter
'Gigabot' => 'Gigabot spider',
'Googlebot' => 'Google spider',
'msnbot' => 'Microsoft bot',
'rogerbot' => 'SeoMoz spider',
... | 1 | Merge pull request #129 from zinkkrysty/master | 0 | .rb | rb | mit | splitrb/split |
10072454 | <NME> base.template.html
<BEF> ADDFILE
<MSG> chore(docs-app): Created simple angular app for documentation index page
<DFF> @@ -0,0 +1,5 @@
+<div>
+ <h2>{$ doc.name $}</h2>
+ <strong>({$ doc.docType $})</strong>
+ <p>{$ doc.description $}</p>
+</div>
\ No newline at end of file
| 5 | chore(docs-app): Created simple angular app for documentation index page | 0 | .html | template | mit | Semantic-Org/Semantic-UI-Angular |
10072455 | <NME> base.template.html
<BEF> ADDFILE
<MSG> chore(docs-app): Created simple angular app for documentation index page
<DFF> @@ -0,0 +1,5 @@
+<div>
+ <h2>{$ doc.name $}</h2>
+ <strong>({$ doc.docType $})</strong>
+ <p>{$ doc.description $}</p>
+</div>
\ No newline at end of file
| 5 | chore(docs-app): Created simple angular app for documentation index page | 0 | .html | template | mit | Semantic-Org/Semantic-UI-Angular |
10072456 | <NME> base.template.html
<BEF> ADDFILE
<MSG> chore(docs-app): Created simple angular app for documentation index page
<DFF> @@ -0,0 +1,5 @@
+<div>
+ <h2>{$ doc.name $}</h2>
+ <strong>({$ doc.docType $})</strong>
+ <p>{$ doc.description $}</p>
+</div>
\ No newline at end of file
| 5 | chore(docs-app): Created simple angular app for documentation index page | 0 | .html | template | mit | Semantic-Org/Semantic-UI-Angular |
10072457 | <NME> jquery.meow.css
<BEF> .meows {
position: fixed;
top: 0;
right: 0;
}
.meow {
position: relative;
margin: 20px 20px 0 0;
}
.meow .inner {
width: 300px;
min-height: 48px;
padding: 10px;
font-family: Helvetica, Arial, sans-serif;
font-size: 15px;
color: #fff;
text-shadow: 1px 1px 3px #000;
... | 94 | utilize mixins | 0 | .css | meow | mit | zacstewart/Meow |
10072458 | <NME> jquery.meow.css
<BEF> .meows {
position: fixed;
top: 0;
right: 0;
}
.meow {
position: relative;
margin: 20px 20px 0 0;
}
.meow .inner {
width: 300px;
min-height: 48px;
padding: 10px;
font-family: Helvetica, Arial, sans-serif;
font-size: 15px;
color: #fff;
text-shadow: 1px 1px 3px #000;
... | 94 | utilize mixins | 0 | .css | meow | mit | zacstewart/Meow |
10072459 | <NME> button.spec.js
<BEF> ADDFILE
<MSG> chore(smButton): Added unit tests
<DFF> @@ -0,0 +1,73 @@
+describe('Semantic-UI: Elements - smButton', function() {
+'use strict';
+
+ var $scope, $compile;
+
+ beforeEach(module('semantic.ui.elements.button'));
+
+ beforeEach(inject(function($rootScope, _$compile_) {
+ $... | 73 | chore(smButton): Added unit tests | 0 | .js | spec | mit | Semantic-Org/Semantic-UI-Angular |
10072460 | <NME> button.spec.js
<BEF> ADDFILE
<MSG> chore(smButton): Added unit tests
<DFF> @@ -0,0 +1,73 @@
+describe('Semantic-UI: Elements - smButton', function() {
+'use strict';
+
+ var $scope, $compile;
+
+ beforeEach(module('semantic.ui.elements.button'));
+
+ beforeEach(inject(function($rootScope, _$compile_) {
+ $... | 73 | chore(smButton): Added unit tests | 0 | .js | spec | mit | Semantic-Org/Semantic-UI-Angular |
10072461 | <NME> button.spec.js
<BEF> ADDFILE
<MSG> chore(smButton): Added unit tests
<DFF> @@ -0,0 +1,73 @@
+describe('Semantic-UI: Elements - smButton', function() {
+'use strict';
+
+ var $scope, $compile;
+
+ beforeEach(module('semantic.ui.elements.button'));
+
+ beforeEach(inject(function($rootScope, _$compile_) {
+ $... | 73 | chore(smButton): Added unit tests | 0 | .js | spec | mit | Semantic-Org/Semantic-UI-Angular |
10072462 | <NME> experiment_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "time"
describe Split::Experiment do
def new_experiment(goals = [])
Split::Experiment.new("link_color", alternatives: ["blue", "red", "green"], goals: goals)
end
def alternative(color)
Split::Alternative.new(colo... | 1 | fixed spec with incorrect parameter | 1 | .rb | rb | mit | splitrb/split |
10072463 | <NME> experiment_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "time"
describe Split::Experiment do
def new_experiment(goals = [])
Split::Experiment.new("link_color", alternatives: ["blue", "red", "green"], goals: goals)
end
def alternative(color)
Split::Alternative.new(colo... | 1 | fixed spec with incorrect parameter | 1 | .rb | rb | mit | splitrb/split |
10072464 | <NME> experiment_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "time"
describe Split::Experiment do
def new_experiment(goals = [])
Split::Experiment.new("link_color", alternatives: ["blue", "red", "green"], goals: goals)
end
def alternative(color)
Split::Alternative.new(colo... | 1 | fixed spec with incorrect parameter | 1 | .rb | rb | mit | splitrb/split |
10072465 | <NME> configuration_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
describe Split::Configuration do
before(:each) { @config = Split::Configuration.new }
it "should provide a default value for ignore_ip_addresses" do
expect(@config.ignore_ip_addresses).to eq([])
end
it "should provide ... | 12 | Merge pull request #335 from peterylai/cookie_length_config | 0 | .rb | rb | mit | splitrb/split |
10072466 | <NME> configuration_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
describe Split::Configuration do
before(:each) { @config = Split::Configuration.new }
it "should provide a default value for ignore_ip_addresses" do
expect(@config.ignore_ip_addresses).to eq([])
end
it "should provide ... | 12 | Merge pull request #335 from peterylai/cookie_length_config | 0 | .rb | rb | mit | splitrb/split |
10072467 | <NME> configuration_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
describe Split::Configuration do
before(:each) { @config = Split::Configuration.new }
it "should provide a default value for ignore_ip_addresses" do
expect(@config.ignore_ip_addresses).to eq([])
end
it "should provide ... | 12 | Merge pull request #335 from peterylai/cookie_length_config | 0 | .rb | rb | mit | splitrb/split |
10072468 | <NME> radioButton.spec.js
<BEF> ADDFILE
<MSG> Merge pull request #10 from Semantic-Org/semantic-ui-elements-radio-button
WIP: smRadioGroup and smRadioButton directives
<DFF> @@ -0,0 +1,77 @@
+describe('Semantic-UI: Elements - smRadioButton', function() {
+ 'use strict';
+
+ var $scope, $compile, html;
+
+ beforeEa... | 77 | Merge pull request #10 from Semantic-Org/semantic-ui-elements-radio-button | 0 | .js | spec | mit | Semantic-Org/Semantic-UI-Angular |
10072469 | <NME> radioButton.spec.js
<BEF> ADDFILE
<MSG> Merge pull request #10 from Semantic-Org/semantic-ui-elements-radio-button
WIP: smRadioGroup and smRadioButton directives
<DFF> @@ -0,0 +1,77 @@
+describe('Semantic-UI: Elements - smRadioButton', function() {
+ 'use strict';
+
+ var $scope, $compile, html;
+
+ beforeEa... | 77 | Merge pull request #10 from Semantic-Org/semantic-ui-elements-radio-button | 0 | .js | spec | mit | Semantic-Org/Semantic-UI-Angular |
10072470 | <NME> radioButton.spec.js
<BEF> ADDFILE
<MSG> Merge pull request #10 from Semantic-Org/semantic-ui-elements-radio-button
WIP: smRadioGroup and smRadioButton directives
<DFF> @@ -0,0 +1,77 @@
+describe('Semantic-UI: Elements - smRadioButton', function() {
+ 'use strict';
+
+ var $scope, $compile, html;
+
+ beforeEa... | 77 | Merge pull request #10 from Semantic-Org/semantic-ui-elements-radio-button | 0 | .js | spec | mit | Semantic-Org/Semantic-UI-Angular |
10072471 | <NME> trial_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/trial"
describe Split::Trial do
let(:user) { mock_user }
let(:alternatives) { ["basket", "cart"] }
let(:experiment) do
Split::Experiment.new("basket_text", alternatives: alternatives).save
end
it "should be ini... | 128 | Merge pull request #375 from mtyeh411/on_trial_callback | 74 | .rb | rb | mit | splitrb/split |
10072472 | <NME> trial_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/trial"
describe Split::Trial do
let(:user) { mock_user }
let(:alternatives) { ["basket", "cart"] }
let(:experiment) do
Split::Experiment.new("basket_text", alternatives: alternatives).save
end
it "should be ini... | 128 | Merge pull request #375 from mtyeh411/on_trial_callback | 74 | .rb | rb | mit | splitrb/split |
10072473 | <NME> trial_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/trial"
describe Split::Trial do
let(:user) { mock_user }
let(:alternatives) { ["basket", "cart"] }
let(:experiment) do
Split::Experiment.new("basket_text", alternatives: alternatives).save
end
it "should be ini... | 128 | Merge pull request #375 from mtyeh411/on_trial_callback | 74 | .rb | rb | mit | splitrb/split |
10072474 | <NME> expand.ts
<BEF> import { strictEqual as equal } from 'assert';
import expand, { resolveConfig } from '../src';
describe('Expand Abbreviation', () => {
describe('Markup', () => {
it('basic', () => {
equal(expand('input[value="text$"]*2'), '<input type="text" value="text1"><input type="text... | 5 | Indent text with new lines when wrpping with abbreviation | 0 | .ts | ts | mit | emmetio/emmet |
10072475 | <NME> expand.ts
<BEF> import { strictEqual as equal } from 'assert';
import expand, { resolveConfig } from '../src';
describe('Expand Abbreviation', () => {
describe('Markup', () => {
it('basic', () => {
equal(expand('input[value="text$"]*2'), '<input type="text" value="text1"><input type="text... | 5 | Indent text with new lines when wrpping with abbreviation | 0 | .ts | ts | mit | emmetio/emmet |
10072476 | <NME> helper.rb
<BEF> # frozen_string_literal: true
module Split
module Helper
OVERRIDE_PARAM_NAME = "ab_test"
module_function
def ab_test(metric_descriptor, control = nil, *alternatives)
begin
experiment = ExperimentCatalog.find_or_initialize(metric_descriptor, control, *alternatives)
... | 2 | Merge pull request #60 from dv/catch_all_db_failover | 2 | .rb | rb | mit | splitrb/split |
10072477 | <NME> helper.rb
<BEF> # frozen_string_literal: true
module Split
module Helper
OVERRIDE_PARAM_NAME = "ab_test"
module_function
def ab_test(metric_descriptor, control = nil, *alternatives)
begin
experiment = ExperimentCatalog.find_or_initialize(metric_descriptor, control, *alternatives)
... | 2 | Merge pull request #60 from dv/catch_all_db_failover | 2 | .rb | rb | mit | splitrb/split |
10072478 | <NME> helper.rb
<BEF> # frozen_string_literal: true
module Split
module Helper
OVERRIDE_PARAM_NAME = "ab_test"
module_function
def ab_test(metric_descriptor, control = nil, *alternatives)
begin
experiment = ExperimentCatalog.find_or_initialize(metric_descriptor, control, *alternatives)
... | 2 | Merge pull request #60 from dv/catch_all_db_failover | 2 | .rb | rb | mit | splitrb/split |
10072479 | <NME> split.gemspec
<BEF> # -*- encoding: utf-8 -*-
# frozen_string_literal: true
$:.push File.expand_path("../lib", __FILE__)
require "split/version"
Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.authors = ["Andrew Nesbitt"]
s.email = ["andrewnez@gmail.com"]
s.homepage = ""... | 1 | Added homepage to gemspec | 1 | .gemspec | gemspec | mit | splitrb/split |
10072480 | <NME> split.gemspec
<BEF> # -*- encoding: utf-8 -*-
# frozen_string_literal: true
$:.push File.expand_path("../lib", __FILE__)
require "split/version"
Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.authors = ["Andrew Nesbitt"]
s.email = ["andrewnez@gmail.com"]
s.homepage = ""... | 1 | Added homepage to gemspec | 1 | .gemspec | gemspec | mit | splitrb/split |
10072481 | <NME> split.gemspec
<BEF> # -*- encoding: utf-8 -*-
# frozen_string_literal: true
$:.push File.expand_path("../lib", __FILE__)
require "split/version"
Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.authors = ["Andrew Nesbitt"]
s.email = ["andrewnez@gmail.com"]
s.homepage = ""... | 1 | Added homepage to gemspec | 1 | .gemspec | gemspec | mit | splitrb/split |
10072482 | <NME> configuration_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
describe Split::Configuration do
before(:each) { @config = Split::Configuration.new }
it "should provide a default value for ignore_ip_addresses" do
expect(@config.ignore_ip_addresses).to eq([])
end
it "should provide ... | 3 | Ignore anything that doesn't present a good UA | 0 | .rb | rb | mit | splitrb/split |
10072483 | <NME> configuration_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
describe Split::Configuration do
before(:each) { @config = Split::Configuration.new }
it "should provide a default value for ignore_ip_addresses" do
expect(@config.ignore_ip_addresses).to eq([])
end
it "should provide ... | 3 | Ignore anything that doesn't present a good UA | 0 | .rb | rb | mit | splitrb/split |
10072484 | <NME> configuration_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
describe Split::Configuration do
before(:each) { @config = Split::Configuration.new }
it "should provide a default value for ignore_ip_addresses" do
expect(@config.ignore_ip_addresses).to eq([])
end
it "should provide ... | 3 | Ignore anything that doesn't present a good UA | 0 | .rb | rb | mit | splitrb/split |
10072485 | <NME> README.md
<BEF> # [Split](https://libraries.io/rubygems/split)
[](http://badge.fury.io/rb/split)

[
[](http://badge.fury.io/rb/split)

[
[](http://badge.fury.io/rb/split)

[
begin
experiment = ExperimentCatalog.find_or_initialize(metric_descriptor, control, *alternatives)
... | 1 | Remove goals assignment, which is not used anywhere ab_record_extra_info | 1 | .rb | rb | mit | splitrb/split |
10072489 | <NME> helper.rb
<BEF> # frozen_string_literal: true
module Split
module Helper
OVERRIDE_PARAM_NAME = "ab_test"
module_function
def ab_test(metric_descriptor, control = nil, *alternatives)
begin
experiment = ExperimentCatalog.find_or_initialize(metric_descriptor, control, *alternatives)
... | 1 | Remove goals assignment, which is not used anywhere ab_record_extra_info | 1 | .rb | rb | mit | splitrb/split |
10072490 | <NME> helper.rb
<BEF> # frozen_string_literal: true
module Split
module Helper
OVERRIDE_PARAM_NAME = "ab_test"
module_function
def ab_test(metric_descriptor, control = nil, *alternatives)
begin
experiment = ExperimentCatalog.find_or_initialize(metric_descriptor, control, *alternatives)
... | 1 | Remove goals assignment, which is not used anywhere ab_record_extra_info | 1 | .rb | rb | mit | splitrb/split |
10072491 | <NME> redis_adapter_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
describe Split::Persistence::RedisAdapter do
let(:context) { double(lookup: "blah") }
subject { Split::Persistence::RedisAdapter.new(context) }
describe "#redis_key" do
before { Split::Persistence::RedisAdapter.reset_con... | 1 | Fixed syntax error on old Rubies | 1 | .rb | rb | mit | splitrb/split |
10072492 | <NME> redis_adapter_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
describe Split::Persistence::RedisAdapter do
let(:context) { double(lookup: "blah") }
subject { Split::Persistence::RedisAdapter.new(context) }
describe "#redis_key" do
before { Split::Persistence::RedisAdapter.reset_con... | 1 | Fixed syntax error on old Rubies | 1 | .rb | rb | mit | splitrb/split |
10072493 | <NME> redis_adapter_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
describe Split::Persistence::RedisAdapter do
let(:context) { double(lookup: "blah") }
subject { Split::Persistence::RedisAdapter.new(context) }
describe "#redis_key" do
before { Split::Persistence::RedisAdapter.reset_con... | 1 | Fixed syntax error on old Rubies | 1 | .rb | rb | mit | splitrb/split |
10072494 | <NME> user.rb
<BEF> # frozen_string_literal: true
require "forwardable"
module Split
class User
extend Forwardable
def_delegators :@user, :keys, :[], :[]=, :delete
attr_reader :user
def initialize(context, adapter = nil)
@user = adapter || Split::Persistence.adapter.new(context)
@cleane... | 1 | fix spec failures | 1 | .rb | rb | mit | splitrb/split |
10072495 | <NME> user.rb
<BEF> # frozen_string_literal: true
require "forwardable"
module Split
class User
extend Forwardable
def_delegators :@user, :keys, :[], :[]=, :delete
attr_reader :user
def initialize(context, adapter = nil)
@user = adapter || Split::Persistence.adapter.new(context)
@cleane... | 1 | fix spec failures | 1 | .rb | rb | mit | splitrb/split |
10072496 | <NME> user.rb
<BEF> # frozen_string_literal: true
require "forwardable"
module Split
class User
extend Forwardable
def_delegators :@user, :keys, :[], :[]=, :delete
attr_reader :user
def initialize(context, adapter = nil)
@user = adapter || Split::Persistence.adapter.new(context)
@cleane... | 1 | fix spec failures | 1 | .rb | rb | mit | splitrb/split |
10072497 | <NME> stylesheet.ts
<BEF> import { strictEqual as equal, ok } from 'assert';
import { stylesheet as expandAbbreviation, resolveConfig, CSSAbbreviationScope } from '../src';
import score from '../src/stylesheet/score';
const defaultConfig = resolveConfig({
type: 'stylesheet',
options: {
'output.field': ... | 11 | Added initial CSS-in-JS output support | 0 | .ts | ts | mit | emmetio/emmet |
10072498 | <NME> stylesheet.ts
<BEF> import { strictEqual as equal, ok } from 'assert';
import { stylesheet as expandAbbreviation, resolveConfig, CSSAbbreviationScope } from '../src';
import score from '../src/stylesheet/score';
const defaultConfig = resolveConfig({
type: 'stylesheet',
options: {
'output.field': ... | 11 | Added initial CSS-in-JS output support | 0 | .ts | ts | mit | emmetio/emmet |
10072499 | <NME> split.gemspec
<BEF> # -*- encoding: utf-8 -*-
# frozen_string_literal: true
$:.push File.expand_path("../lib", __FILE__)
require "split/version"
Gem::Specification.new do |s|
s.name = "split"
s.version = Split::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Andrew Nesbitt"]
s... | 1 | Merge pull request #1 from martinciu/master | 1 | .gemspec | gemspec | mit | splitrb/split |
10072500 | <NME> split.gemspec
<BEF> # -*- encoding: utf-8 -*-
# frozen_string_literal: true
$:.push File.expand_path("../lib", __FILE__)
require "split/version"
Gem::Specification.new do |s|
s.name = "split"
s.version = Split::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Andrew Nesbitt"]
s... | 1 | Merge pull request #1 from martinciu/master | 1 | .gemspec | gemspec | mit | splitrb/split |
10072501 | <NME> split.gemspec
<BEF> # -*- encoding: utf-8 -*-
# frozen_string_literal: true
$:.push File.expand_path("../lib", __FILE__)
require "split/version"
Gem::Specification.new do |s|
s.name = "split"
s.version = Split::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Andrew Nesbitt"]
s... | 1 | Merge pull request #1 from martinciu/master | 1 | .gemspec | gemspec | mit | splitrb/split |
10072502 | <NME> alternative_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/alternative"
describe Split::Alternative do
let(:alternative) {
Split::Alternative.new("Basket", "basket_text")
}
let(:alternative2) {
Split::Alternative.new("Cart", "basket_text")
}
let!(:experiment... | 4 | Merge pull request #18 from lautis/atomic-increment-operations | 0 | .rb | rb | mit | splitrb/split |
10072503 | <NME> alternative_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/alternative"
describe Split::Alternative do
let(:alternative) {
Split::Alternative.new("Basket", "basket_text")
}
let(:alternative2) {
Split::Alternative.new("Cart", "basket_text")
}
let!(:experiment... | 4 | Merge pull request #18 from lautis/atomic-increment-operations | 0 | .rb | rb | mit | splitrb/split |
10072504 | <NME> alternative_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/alternative"
describe Split::Alternative do
let(:alternative) {
Split::Alternative.new("Basket", "basket_text")
}
let(:alternative2) {
Split::Alternative.new("Cart", "basket_text")
}
let!(:experiment... | 4 | Merge pull request #18 from lautis/atomic-increment-operations | 0 | .rb | rb | mit | splitrb/split |
10072505 | <NME> index.ts
<BEF> import abbreviation, { CSSAbbreviation, CSSProperty, CSSValue, Literal, Value, Field, FunctionCall } from '@emmetio/css-abbreviation';
import { Config, SnippetsMap } from '../config';
import createSnippet, { CSSSnippet, nest, CSSSnippetType, CSSSnippetRaw, CSSSnippetProperty } from './snippets';
im... | 13 | Fixed CSSAbbreviationScope ts export | 3 | .ts | ts | mit | emmetio/emmet |
10072506 | <NME> index.ts
<BEF> import abbreviation, { CSSAbbreviation, CSSProperty, CSSValue, Literal, Value, Field, FunctionCall } from '@emmetio/css-abbreviation';
import { Config, SnippetsMap } from '../config';
import createSnippet, { CSSSnippet, nest, CSSSnippetType, CSSSnippetRaw, CSSSnippetProperty } from './snippets';
im... | 13 | Fixed CSSAbbreviationScope ts export | 3 | .ts | ts | mit | emmetio/emmet |
10072507 | <NME> .travis.yml
<BEF> language: node_js
node_js:
- "8"
- "10"
<MSG> Updated Travis build script
<DFF> @@ -2,3 +2,6 @@ language: node_js
node_js:
- "8"
- "10"
+ - "12"
+before_install: npm i -g lerna
+install: lerna bootstrap
| 3 | Updated Travis build script | 0 | .yml | travis | mit | emmetio/emmet |
10072508 | <NME> .travis.yml
<BEF> language: node_js
node_js:
- "8"
- "10"
<MSG> Updated Travis build script
<DFF> @@ -2,3 +2,6 @@ language: node_js
node_js:
- "8"
- "10"
+ - "12"
+before_install: npm i -g lerna
+install: lerna bootstrap
| 3 | Updated Travis build script | 0 | .yml | travis | mit | emmetio/emmet |
10072509 | <NME> experiment_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "time"
describe Split::Experiment do
def new_experiment(goals = [])
Split::Experiment.new("link_color", alternatives: ["blue", "red", "green"], goals: goals)
end
def alternative(color)
Split::Alternative.new(colo... | 2 | Update winner choose hook name | 2 | .rb | rb | mit | splitrb/split |
10072510 | <NME> experiment_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "time"
describe Split::Experiment do
def new_experiment(goals = [])
Split::Experiment.new("link_color", alternatives: ["blue", "red", "green"], goals: goals)
end
def alternative(color)
Split::Alternative.new(colo... | 2 | Update winner choose hook name | 2 | .rb | rb | mit | splitrb/split |
10072511 | <NME> experiment_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "time"
describe Split::Experiment do
def new_experiment(goals = [])
Split::Experiment.new("link_color", alternatives: ["blue", "red", "green"], goals: goals)
end
def alternative(color)
Split::Alternative.new(colo... | 2 | Update winner choose hook name | 2 | .rb | rb | mit | splitrb/split |
10072512 | <NME> format.ts
<BEF> import { equal } from 'assert';
import html from '../src/markup/format/html';
import haml from '../src/markup/format/haml';
import pug from '../src/markup/format/pug';
import slim from '../src/markup/format/slim';
import parse from '../src/markup';
import createConfig, { Options } from '../src/con... | 14 | Working on node commenting | 0 | .ts | ts | mit | emmetio/emmet |
10072513 | <NME> format.ts
<BEF> import { equal } from 'assert';
import html from '../src/markup/format/html';
import haml from '../src/markup/format/haml';
import pug from '../src/markup/format/pug';
import slim from '../src/markup/format/slim';
import parse from '../src/markup';
import createConfig, { Options } from '../src/con... | 14 | Working on node commenting | 0 | .ts | ts | mit | emmetio/emmet |
10072514 | <NME> stylesheet.ts
<BEF> import { strictEqual as equal, ok } from 'assert';
import { stylesheet as expandAbbreviation, resolveConfig, CSSAbbreviationScope } from '../src';
import score from '../src/stylesheet/score';
const defaultConfig = resolveConfig({
type: 'stylesheet',
options: {
'output.field': ... | 9 | Properly setup context for parsing CSS values | 0 | .ts | ts | mit | emmetio/emmet |
10072515 | <NME> stylesheet.ts
<BEF> import { strictEqual as equal, ok } from 'assert';
import { stylesheet as expandAbbreviation, resolveConfig, CSSAbbreviationScope } from '../src';
import score from '../src/stylesheet/score';
const defaultConfig = resolveConfig({
type: 'stylesheet',
options: {
'output.field': ... | 9 | Properly setup context for parsing CSS values | 0 | .ts | ts | mit | emmetio/emmet |
10072516 | <NME> configuration.rb
<BEF> # frozen_string_literal: true
module Split
class Configuration
attr_accessor :ignore_ip_addresses
attr_accessor :ignore_filter
attr_accessor :db_failover
attr_accessor :db_failover_on_db_error
attr_accessor :db_failover_allow_parameter_override
attr_accessor :allo... | 8 | Additional bots. | 0 | .rb | rb | mit | splitrb/split |
10072517 | <NME> configuration.rb
<BEF> # frozen_string_literal: true
module Split
class Configuration
attr_accessor :ignore_ip_addresses
attr_accessor :ignore_filter
attr_accessor :db_failover
attr_accessor :db_failover_on_db_error
attr_accessor :db_failover_allow_parameter_override
attr_accessor :allo... | 8 | Additional bots. | 0 | .rb | rb | mit | splitrb/split |
10072518 | <NME> configuration.rb
<BEF> # frozen_string_literal: true
module Split
class Configuration
attr_accessor :ignore_ip_addresses
attr_accessor :ignore_filter
attr_accessor :db_failover
attr_accessor :db_failover_on_db_error
attr_accessor :db_failover_allow_parameter_override
attr_accessor :allo... | 8 | Additional bots. | 0 | .rb | rb | mit | splitrb/split |
10072519 | <NME> 7.0.gemfile
<BEF> source "https://rubygems.org"
gem "codeclimate-test-reporter"
gem "rails", "~> 7.0"
gem "matrix"
gemspec path: "../"
<MSG> Enable Rubocop to be executed at CI
<DFF> @@ -1,5 +1,6 @@
source "https://rubygems.org"
+gem "rubocop", require: false
gem "codeclimate-test-reporter"
gem "rails", ... | 1 | Enable Rubocop to be executed at CI | 0 | .gemfile | 0 | mit | splitrb/split |
10072520 | <NME> 7.0.gemfile
<BEF> source "https://rubygems.org"
gem "codeclimate-test-reporter"
gem "rails", "~> 7.0"
gem "matrix"
gemspec path: "../"
<MSG> Enable Rubocop to be executed at CI
<DFF> @@ -1,5 +1,6 @@
source "https://rubygems.org"
+gem "rubocop", require: false
gem "codeclimate-test-reporter"
gem "rails", ... | 1 | Enable Rubocop to be executed at CI | 0 | .gemfile | 0 | mit | splitrb/split |
10072521 | <NME> 7.0.gemfile
<BEF> source "https://rubygems.org"
gem "codeclimate-test-reporter"
gem "rails", "~> 7.0"
gem "matrix"
gemspec path: "../"
<MSG> Enable Rubocop to be executed at CI
<DFF> @@ -1,5 +1,6 @@
source "https://rubygems.org"
+gem "rubocop", require: false
gem "codeclimate-test-reporter"
gem "rails", ... | 1 | Enable Rubocop to be executed at CI | 0 | .gemfile | 0 | mit | splitrb/split |
10072522 | <NME> stylesheet.ts
<BEF> import { strictEqual as equal, ok } from 'assert';
import { stylesheet as expandAbbreviation, resolveConfig, CSSAbbreviationScope } from '../src';
import score from '../src/stylesheet/score';
const defaultConfig = resolveConfig({
type: 'stylesheet',
options: {
'output.field': ... | 6 | Use ‘none’ as default keyword | 0 | .ts | ts | mit | emmetio/emmet |
10072523 | <NME> stylesheet.ts
<BEF> import { strictEqual as equal, ok } from 'assert';
import { stylesheet as expandAbbreviation, resolveConfig, CSSAbbreviationScope } from '../src';
import score from '../src/stylesheet/score';
const defaultConfig = resolveConfig({
type: 'stylesheet',
options: {
'output.field': ... | 6 | Use ‘none’ as default keyword | 0 | .ts | ts | mit | emmetio/emmet |
10072524 | <NME> markup.ts
<BEF> import { strictEqual } from 'assert';
import { parse } from '../src/markup';
import resolveConfig from '../src/config';
import { ResolvedConfig } from '../src/types';
import stringify from './assets/stringify';
const defaultConfig = resolveConfig({ cache: {} });
function expand(abbr: string, conf... | 1 | Working on HTML formatter | 1 | .ts | ts | mit | emmetio/emmet |
10072525 | <NME> markup.ts
<BEF> import { strictEqual } from 'assert';
import { parse } from '../src/markup';
import resolveConfig from '../src/config';
import { ResolvedConfig } from '../src/types';
import stringify from './assets/stringify';
const defaultConfig = resolveConfig({ cache: {} });
function expand(abbr: string, conf... | 1 | Working on HTML formatter | 1 | .ts | ts | mit | emmetio/emmet |
10072526 | <NME> README.md
<BEF> # [Split](https://libraries.io/rubygems/split)
[](http://badge.fury.io/rb/split)

[
[](http://badge.fury.io/rb/split)

[
[](http://badge.fury.io/rb/split)

[ { mock_user }
let(:alternatives) { ["basket", "cart"] }
let(:experiment) do
Split::Experiment.new("basket_text", alternatives: alternatives).save
end
describe "alterna... | 4 | refactor trial model. | 2 | .rb | rb | mit | splitrb/split |
10072530 | <NME> trial_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/trial"
describe Split::Trial do
let(:user) { mock_user }
let(:alternatives) { ["basket", "cart"] }
let(:experiment) do
Split::Experiment.new("basket_text", alternatives: alternatives).save
end
describe "alterna... | 4 | refactor trial model. | 2 | .rb | rb | mit | splitrb/split |
10072531 | <NME> trial_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/trial"
describe Split::Trial do
let(:user) { mock_user }
let(:alternatives) { ["basket", "cart"] }
let(:experiment) do
Split::Experiment.new("basket_text", alternatives: alternatives).save
end
describe "alterna... | 4 | refactor trial model. | 2 | .rb | rb | mit | splitrb/split |
10072532 | <NME> trial.rb
<BEF> # frozen_string_literal: true
module Split
class Trial
attr_accessor :goals
attr_accessor :experiment
attr_writer :metadata
def initialize(attrs = {})
self.experiment = attrs.delete(:experiment)
self.alternative = attrs.delete(:alternative)
self.metadata = ... | 1 | Refactor to make it more readable | 1 | .rb | rb | mit | splitrb/split |
10072533 | <NME> trial.rb
<BEF> # frozen_string_literal: true
module Split
class Trial
attr_accessor :goals
attr_accessor :experiment
attr_writer :metadata
def initialize(attrs = {})
self.experiment = attrs.delete(:experiment)
self.alternative = attrs.delete(:alternative)
self.metadata = ... | 1 | Refactor to make it more readable | 1 | .rb | rb | mit | splitrb/split |
10072534 | <NME> trial.rb
<BEF> # frozen_string_literal: true
module Split
class Trial
attr_accessor :goals
attr_accessor :experiment
attr_writer :metadata
def initialize(attrs = {})
self.experiment = attrs.delete(:experiment)
self.alternative = attrs.delete(:alternative)
self.metadata = ... | 1 | Refactor to make it more readable | 1 | .rb | rb | mit | splitrb/split |
10072535 | <NME> LICENSE
<BEF> ADDFILE
<MSG> Added LICENSE
<DFF> @@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2019 Sergey Chikuyonok
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction... | 21 | Added LICENSE | 0 | LICENSE | mit | emmetio/emmet | |
10072536 | <NME> LICENSE
<BEF> ADDFILE
<MSG> Added LICENSE
<DFF> @@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2019 Sergey Chikuyonok
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction... | 21 | Added LICENSE | 0 | LICENSE | mit | emmetio/emmet | |
10072537 | <NME> stylesheet.ts
<BEF> import { strictEqual as equal, ok } from 'assert';
import { stylesheet as expandAbbreviation, resolveConfig, CSSAbbreviationScope } from '../src';
import score from '../src/stylesheet/score';
const defaultConfig = resolveConfig({
type: 'stylesheet',
options: {
'output.field': ... | 3 | [stylesheet] Spread input values as field placeholders | 0 | .ts | ts | mit | emmetio/emmet |
10072538 | <NME> stylesheet.ts
<BEF> import { strictEqual as equal, ok } from 'assert';
import { stylesheet as expandAbbreviation, resolveConfig, CSSAbbreviationScope } from '../src';
import score from '../src/stylesheet/score';
const defaultConfig = resolveConfig({
type: 'stylesheet',
options: {
'output.field': ... | 3 | [stylesheet] Spread input values as field placeholders | 0 | .ts | ts | mit | emmetio/emmet |
10072539 | <NME> persistence.rb
<BEF> # frozen_string_literal: true
module Split
module Persistence
require "split/persistence/cookie_adapter"
require "split/persistence/dual_adapter"
ADAPTERS = {
:cookie => Split::Persistence::CookieAdapter,
:session => Split::Persistence::SessionAdapter
}
def... | 4 | [code gardening] fix private for class methods, minor code refactorings | 7 | .rb | rb | mit | splitrb/split |
10072540 | <NME> persistence.rb
<BEF> # frozen_string_literal: true
module Split
module Persistence
require "split/persistence/cookie_adapter"
require "split/persistence/dual_adapter"
ADAPTERS = {
:cookie => Split::Persistence::CookieAdapter,
:session => Split::Persistence::SessionAdapter
}
def... | 4 | [code gardening] fix private for class methods, minor code refactorings | 7 | .rb | rb | mit | splitrb/split |
10072541 | <NME> persistence.rb
<BEF> # frozen_string_literal: true
module Split
module Persistence
require "split/persistence/cookie_adapter"
require "split/persistence/dual_adapter"
ADAPTERS = {
:cookie => Split::Persistence::CookieAdapter,
:session => Split::Persistence::SessionAdapter
}
def... | 4 | [code gardening] fix private for class methods, minor code refactorings | 7 | .rb | rb | mit | splitrb/split |
10072542 | <NME> helper_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
# TODO change some of these tests to use Rack::Test
describe Split::Helper do
include Split::Helper
let(:experiment) {
Split::ExperimentCatalog.find_or_create("link_color", "blue", "red")
}
describe "ab_test" do
it "shou... | 8 | fix active experiments when experiment is on a later version | 0 | .rb | rb | mit | splitrb/split |
10072543 | <NME> helper_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
# TODO change some of these tests to use Rack::Test
describe Split::Helper do
include Split::Helper
let(:experiment) {
Split::ExperimentCatalog.find_or_create("link_color", "blue", "red")
}
describe "ab_test" do
it "shou... | 8 | fix active experiments when experiment is on a later version | 0 | .rb | rb | mit | splitrb/split |
10072544 | <NME> helper_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
# TODO change some of these tests to use Rack::Test
describe Split::Helper do
include Split::Helper
let(:experiment) {
Split::ExperimentCatalog.find_or_create("link_color", "blue", "red")
}
describe "ab_test" do
it "shou... | 8 | fix active experiments when experiment is on a later version | 0 | .rb | rb | mit | splitrb/split |
10072545 | <NME> experiment.rb
<BEF> # frozen_string_literal: true
module Split
class Experiment
attr_accessor :name
attr_accessor :goals
attr_accessor :alternative_probabilities
attr_accessor :metadata
attr_reader :alternatives
attr_reader :resettable
DEFAULT_OPTIONS = {
resettable: true
... | 2 | Merge pull request #659 from splitrb/keep-redis-compat-hset | 2 | .rb | rb | mit | splitrb/split |
10072546 | <NME> experiment.rb
<BEF> # frozen_string_literal: true
module Split
class Experiment
attr_accessor :name
attr_accessor :goals
attr_accessor :alternative_probabilities
attr_accessor :metadata
attr_reader :alternatives
attr_reader :resettable
DEFAULT_OPTIONS = {
resettable: true
... | 2 | Merge pull request #659 from splitrb/keep-redis-compat-hset | 2 | .rb | rb | mit | splitrb/split |
10072547 | <NME> experiment.rb
<BEF> # frozen_string_literal: true
module Split
class Experiment
attr_accessor :name
attr_accessor :goals
attr_accessor :alternative_probabilities
attr_accessor :metadata
attr_reader :alternatives
attr_reader :resettable
DEFAULT_OPTIONS = {
resettable: true
... | 2 | Merge pull request #659 from splitrb/keep-redis-compat-hset | 2 | .rb | rb | mit | splitrb/split |
10072548 | <NME> index.ts
<BEF> ADDFILE
<MSG> CSS abbreviation parser (WIP)
<DFF> @@ -0,0 +1,117 @@
+import { StringValue, NumberValue, ColorValue, Literal, AllTokens, Bracket, WhiteSpace, Operator, OperatorType } from '../tokenizer/tokens';
+import { TokenScanner, readable, peek, consume, error } from './TokenScanner';
+
+expor... | 117 | CSS abbreviation parser (WIP) | 0 | .ts | ts | mit | emmetio/emmet |
10072549 | <NME> index.ts
<BEF> ADDFILE
<MSG> CSS abbreviation parser (WIP)
<DFF> @@ -0,0 +1,117 @@
+import { StringValue, NumberValue, ColorValue, Literal, AllTokens, Bracket, WhiteSpace, Operator, OperatorType } from '../tokenizer/tokens';
+import { TokenScanner, readable, peek, consume, error } from './TokenScanner';
+
+expor... | 117 | CSS abbreviation parser (WIP) | 0 | .ts | ts | mit | emmetio/emmet |