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
10070250
<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 ...
0
Remove redis_url impl. Deprecated on ~2.2
14
.rb
rb
mit
splitrb/split
10070251
<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 ...
0
Remove redis_url impl. Deprecated on ~2.2
14
.rb
rb
mit
splitrb/split
10070252
<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 ...
0
Remove redis_url impl. Deprecated on ~2.2
14
.rb
rb
mit
splitrb/split
10070253
<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
Treat slash as value literal
1
.ts
ts
mit
emmetio/emmet
10070254
<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
Treat slash as value literal
1
.ts
ts
mit
emmetio/emmet
10070255
<NME> version.rb <BEF> # frozen_string_literal: true module Split VERSION = "4.0.0" end <MSG> v4.0.1 <DFF> @@ -1,5 +1,5 @@ # frozen_string_literal: true module Split - VERSION = "4.0.0" + VERSION = "4.0.1" end
1
v4.0.1
1
.rb
rb
mit
splitrb/split
10070256
<NME> version.rb <BEF> # frozen_string_literal: true module Split VERSION = "4.0.0" end <MSG> v4.0.1 <DFF> @@ -1,5 +1,5 @@ # frozen_string_literal: true module Split - VERSION = "4.0.0" + VERSION = "4.0.1" end
1
v4.0.1
1
.rb
rb
mit
splitrb/split
10070257
<NME> version.rb <BEF> # frozen_string_literal: true module Split VERSION = "4.0.0" end <MSG> v4.0.1 <DFF> @@ -1,5 +1,5 @@ # frozen_string_literal: true module Split - VERSION = "4.0.0" + VERSION = "4.0.1" end
1
v4.0.1
1
.rb
rb
mit
splitrb/split
10070258
<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...
3
Update specs that were checking session
3
.rb
rb
mit
splitrb/split
10070259
<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...
3
Update specs that were checking session
3
.rb
rb
mit
splitrb/split
10070260
<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...
3
Update specs that were checking session
3
.rb
rb
mit
splitrb/split
10070261
<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
Slightly relaxed rack-test dev dependency
1
.gemspec
gemspec
mit
splitrb/split
10070262
<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
Slightly relaxed rack-test dev dependency
1
.gemspec
gemspec
mit
splitrb/split
10070263
<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
Slightly relaxed rack-test dev dependency
1
.gemspec
gemspec
mit
splitrb/split
10070264
<NME> AUTHORS <BEF> Ask Solem <askh@opera.com> Rune Halvorsen <runeh@opera.com> Russell Sim <russell.sim@gmail.com> Brian Rosner <brosner@gmail.com> Hugo Lopes Tavares <hltbra@gmail.com> Sverre Johansen <sverre.johansen@gmail.com> Bo Shi <bs@alum.mit.edu> Carl Meyer <carl@dirtcircle.com> Vinícius das Chagas Silva <vini...
1
Added Vanderson Mota dos Santos to AUTHORS
0
AUTHORS
bsd-3-clause
ask/chishop
10070265
<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...
35
Cache the has_winner state for the lifetime of an Experiment instance
0
.rb
rb
mit
splitrb/split
10070266
<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...
35
Cache the has_winner state for the lifetime of an Experiment instance
0
.rb
rb
mit
splitrb/split
10070267
<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...
35
Cache the has_winner state for the lifetime of an Experiment instance
0
.rb
rb
mit
splitrb/split
10070268
<NME> version.rb <BEF> module Split MAJOR = 0 MINOR = 6 PATCH = 5 VERSION = [MAJOR, MINOR, PATCH].join('.') end <MSG> Version 0.6.6 <DFF> @@ -1,6 +1,6 @@ module Split MAJOR = 0 MINOR = 6 - PATCH = 5 + PATCH = 6 VERSION = [MAJOR, MINOR, PATCH].join('.') end
1
Version 0.6.6
1
.rb
rb
mit
splitrb/split
10070269
<NME> version.rb <BEF> module Split MAJOR = 0 MINOR = 6 PATCH = 5 VERSION = [MAJOR, MINOR, PATCH].join('.') end <MSG> Version 0.6.6 <DFF> @@ -1,6 +1,6 @@ module Split MAJOR = 0 MINOR = 6 - PATCH = 5 + PATCH = 6 VERSION = [MAJOR, MINOR, PATCH].join('.') end
1
Version 0.6.6
1
.rb
rb
mit
splitrb/split
10070270
<NME> version.rb <BEF> module Split MAJOR = 0 MINOR = 6 PATCH = 5 VERSION = [MAJOR, MINOR, PATCH].join('.') end <MSG> Version 0.6.6 <DFF> @@ -1,6 +1,6 @@ module Split MAJOR = 0 MINOR = 6 - PATCH = 5 + PATCH = 6 VERSION = [MAJOR, MINOR, PATCH].join('.') end
1
Version 0.6.6
1
.rb
rb
mit
splitrb/split
10070271
<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...
16
Add hooks for Trial#choose! and Trial#complete!
0
.rb
rb
mit
splitrb/split
10070272
<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...
16
Add hooks for Trial#choose! and Trial#complete!
0
.rb
rb
mit
splitrb/split
10070273
<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...
16
Add hooks for Trial#choose! and Trial#complete!
0
.rb
rb
mit
splitrb/split
10070274
<NME> README.md <BEF> # [Split](https://libraries.io/rubygems/split) [![Gem Version](https://badge.fury.io/rb/split.svg)](http://badge.fury.io/rb/split) ![Build status](https://github.com/splitrb/split/actions/workflows/ci.yml/badge.svg?branch=main) [![Code Climate](https://codeclimate.com/github/splitrb/split/badges/...
3
Add description to what split stores in cookies
1
.md
md
mit
splitrb/split
10070275
<NME> README.md <BEF> # [Split](https://libraries.io/rubygems/split) [![Gem Version](https://badge.fury.io/rb/split.svg)](http://badge.fury.io/rb/split) ![Build status](https://github.com/splitrb/split/actions/workflows/ci.yml/badge.svg?branch=main) [![Code Climate](https://codeclimate.com/github/splitrb/split/badges/...
3
Add description to what split stores in cookies
1
.md
md
mit
splitrb/split
10070276
<NME> README.md <BEF> # [Split](https://libraries.io/rubygems/split) [![Gem Version](https://badge.fury.io/rb/split.svg)](http://badge.fury.io/rb/split) ![Build status](https://github.com/splitrb/split/actions/workflows/ci.yml/badge.svg?branch=main) [![Code Climate](https://codeclimate.com/github/splitrb/split/badges/...
3
Add description to what split stores in cookies
1
.md
md
mit
splitrb/split
10070277
<NME> split.rb <BEF> # frozen_string_literal: true require "redis" require "split/algorithms" require "split/algorithms/block_randomization" require "split/algorithms/weighted_sample" require "split/algorithms/whiplash" require "split/alternative" require "split/cache" require "split/configuration" require "split/enc...
1
Check for ::Rails instead of Rails::Railtie
1
.rb
rb
mit
splitrb/split
10070278
<NME> split.rb <BEF> # frozen_string_literal: true require "redis" require "split/algorithms" require "split/algorithms/block_randomization" require "split/algorithms/weighted_sample" require "split/algorithms/whiplash" require "split/alternative" require "split/cache" require "split/configuration" require "split/enc...
1
Check for ::Rails instead of Rails::Railtie
1
.rb
rb
mit
splitrb/split
10070279
<NME> split.rb <BEF> # frozen_string_literal: true require "redis" require "split/algorithms" require "split/algorithms/block_randomization" require "split/algorithms/weighted_sample" require "split/algorithms/whiplash" require "split/alternative" require "split/cache" require "split/configuration" require "split/enc...
1
Check for ::Rails instead of Rails::Railtie
1
.rb
rb
mit
splitrb/split
10070280
<NME> .rubocop.yml <BEF> inherit_from: .rubocop_todo.yml AllCops: Exclude: - 'Appraisals' - 'gemfiles/**/*' - 'spec/**/*.rb' <MSG> Recreate rubocop configuration <DFF> @@ -1,7 +1,183 @@ inherit_from: .rubocop_todo.yml AllCops: + TargetRubyVersion: 2.5 + DisabledByDefault: true Exclude: - ...
177
Recreate rubocop configuration
1
.yml
rubocop
mit
splitrb/split
10070281
<NME> .rubocop.yml <BEF> inherit_from: .rubocop_todo.yml AllCops: Exclude: - 'Appraisals' - 'gemfiles/**/*' - 'spec/**/*.rb' <MSG> Recreate rubocop configuration <DFF> @@ -1,7 +1,183 @@ inherit_from: .rubocop_todo.yml AllCops: + TargetRubyVersion: 2.5 + DisabledByDefault: true Exclude: - ...
177
Recreate rubocop configuration
1
.yml
rubocop
mit
splitrb/split
10070282
<NME> .rubocop.yml <BEF> inherit_from: .rubocop_todo.yml AllCops: Exclude: - 'Appraisals' - 'gemfiles/**/*' - 'spec/**/*.rb' <MSG> Recreate rubocop configuration <DFF> @@ -1,7 +1,183 @@ inherit_from: .rubocop_todo.yml AllCops: + TargetRubyVersion: 2.5 + DisabledByDefault: true Exclude: - ...
177
Recreate rubocop configuration
1
.yml
rubocop
mit
splitrb/split
10070283
<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 ...
6
Clarify code and don’t make coveralls mad at my PR.
1
.rb
rb
mit
splitrb/split
10070284
<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 ...
6
Clarify code and don’t make coveralls mad at my PR.
1
.rb
rb
mit
splitrb/split
10070285
<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 ...
6
Clarify code and don’t make coveralls mad at my PR.
1
.rb
rb
mit
splitrb/split
10070286
<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...
0
hset behavior changed on redis-rb, removing redundant specs
12
.rb
rb
mit
splitrb/split
10070287
<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...
0
hset behavior changed on redis-rb, removing redundant specs
12
.rb
rb
mit
splitrb/split
10070288
<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...
0
hset behavior changed on redis-rb, removing redundant specs
12
.rb
rb
mit
splitrb/split
10070289
<NME> .gitignore <BEF> *.gem .bundle Gemfile.lock pkg/* *.rbc .idea coverage issues.rtf dump.rdb .gitignore .DS_Store <MSG> Ignore appraisals *.gemfile.lock files <DFF> @@ -7,4 +7,5 @@ pkg/* coverage issues.rtf dump.rdb -.gitignore \ No newline at end of file +.gitignore +gemfiles/*.gemfile.lock
2
Ignore appraisals *.gemfile.lock files
1
gitignore
mit
splitrb/split
10070290
<NME> .gitignore <BEF> *.gem .bundle Gemfile.lock pkg/* *.rbc .idea coverage issues.rtf dump.rdb .gitignore .DS_Store <MSG> Ignore appraisals *.gemfile.lock files <DFF> @@ -7,4 +7,5 @@ pkg/* coverage issues.rtf dump.rdb -.gitignore \ No newline at end of file +.gitignore +gemfiles/*.gemfile.lock
2
Ignore appraisals *.gemfile.lock files
1
gitignore
mit
splitrb/split
10070291
<NME> .gitignore <BEF> *.gem .bundle Gemfile.lock pkg/* *.rbc .idea coverage issues.rtf dump.rdb .gitignore .DS_Store <MSG> Ignore appraisals *.gemfile.lock files <DFF> @@ -7,4 +7,5 @@ pkg/* coverage issues.rtf dump.rdb -.gitignore \ No newline at end of file +.gitignore +gemfiles/*.gemfile.lock
2
Ignore appraisals *.gemfile.lock files
1
gitignore
mit
splitrb/split
10070292
<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...
11
Merge pull request #313 from splitrb/default-meta
0
.rb
rb
mit
splitrb/split
10070293
<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...
11
Merge pull request #313 from splitrb/default-meta
0
.rb
rb
mit
splitrb/split
10070294
<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...
11
Merge pull request #313 from splitrb/default-meta
0
.rb
rb
mit
splitrb/split
10070295
<NME> MANIFEST.in <BEF> include AUTHORS include README include TODO include MANIFEST.in recursive-include djangopypi * recursive-include manifest * recursive-include djangopypi * recursive-include chishop * <MSG> added recursive-include for chishop/* <DFF> @@ -3,4 +3,4 @@ include README include TODO include MANIFES...
1
added recursive-include for chishop/*
1
.in
in
bsd-3-clause
ask/chishop
10070296
<NME> split.gemspec <BEF> # -*- encoding: utf-8 -*- $:.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.licenses = ["MIT"] s.ema...
1
Add frozen_string_literal to all files that were missing it
0
.gemspec
gemspec
mit
splitrb/split
10070297
<NME> split.gemspec <BEF> # -*- encoding: utf-8 -*- $:.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.licenses = ["MIT"] s.ema...
1
Add frozen_string_literal to all files that were missing it
0
.gemspec
gemspec
mit
splitrb/split
10070298
<NME> split.gemspec <BEF> # -*- encoding: utf-8 -*- $:.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.licenses = ["MIT"] s.ema...
1
Add frozen_string_literal to all files that were missing it
0
.gemspec
gemspec
mit
splitrb/split
10070299
<NME> user_spec.rb <BEF> ADDFILE <MSG> Clean up experiments that are gone, stopped or a winner has been chosen User class fix, adding specs cleaned up old experiments on Trial.choose since user is memoized; also cleaned up experiments that have not started Fix specs Remove pry Add whitespace Reword a user spec de...
42
Clean up experiments that are gone, stopped or a winner has been chosen
0
.rb
rb
mit
splitrb/split
10070300
<NME> user_spec.rb <BEF> ADDFILE <MSG> Clean up experiments that are gone, stopped or a winner has been chosen User class fix, adding specs cleaned up old experiments on Trial.choose since user is memoized; also cleaned up experiments that have not started Fix specs Remove pry Add whitespace Reword a user spec de...
42
Clean up experiments that are gone, stopped or a winner has been chosen
0
.rb
rb
mit
splitrb/split
10070301
<NME> user_spec.rb <BEF> ADDFILE <MSG> Clean up experiments that are gone, stopped or a winner has been chosen User class fix, adding specs cleaned up old experiments on Trial.choose since user is memoized; also cleaned up experiments that have not started Fix specs Remove pry Add whitespace Reword a user spec de...
42
Clean up experiments that are gone, stopped or a winner has been chosen
0
.rb
rb
mit
splitrb/split
10070302
<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...
9
Fix return value for ab_test ...
3
.rb
rb
mit
splitrb/split
10070303
<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...
9
Fix return value for ab_test ...
3
.rb
rb
mit
splitrb/split
10070304
<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...
9
Fix return value for ab_test ...
3
.rb
rb
mit
splitrb/split
10070305
<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...
6
Pass arguments as separate hashes
6
.rb
rb
mit
splitrb/split
10070306
<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...
6
Pass arguments as separate hashes
6
.rb
rb
mit
splitrb/split
10070307
<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...
6
Pass arguments as separate hashes
6
.rb
rb
mit
splitrb/split
10070308
<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
Updated rspec to 2.14 and fixed some deprecations
1
.gemspec
gemspec
mit
splitrb/split
10070309
<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
Updated rspec to 2.14 and fixed some deprecations
1
.gemspec
gemspec
mit
splitrb/split
10070310
<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
Updated rspec to 2.14 and fixed some deprecations
1
.gemspec
gemspec
mit
splitrb/split
10070311
<NME> README.md <BEF> # [Split](https://libraries.io/rubygems/split) [![Gem Version](https://badge.fury.io/rb/split.svg)](http://badge.fury.io/rb/split) ![Build status](https://github.com/splitrb/split/actions/workflows/ci.yml/badge.svg?branch=main) [![Code Climate](https://codeclimate.com/github/splitrb/split/badges/...
25
Improve README regarding rspec usage (#538)
13
.md
md
mit
splitrb/split
10070312
<NME> README.md <BEF> # [Split](https://libraries.io/rubygems/split) [![Gem Version](https://badge.fury.io/rb/split.svg)](http://badge.fury.io/rb/split) ![Build status](https://github.com/splitrb/split/actions/workflows/ci.yml/badge.svg?branch=main) [![Code Climate](https://codeclimate.com/github/splitrb/split/badges/...
25
Improve README regarding rspec usage (#538)
13
.md
md
mit
splitrb/split
10070313
<NME> README.md <BEF> # [Split](https://libraries.io/rubygems/split) [![Gem Version](https://badge.fury.io/rb/split.svg)](http://badge.fury.io/rb/split) ![Build status](https://github.com/splitrb/split/actions/workflows/ci.yml/badge.svg?branch=main) [![Code Climate](https://codeclimate.com/github/splitrb/split/badges/...
25
Improve README regarding rspec usage (#538)
13
.md
md
mit
splitrb/split
10070314
<NME> combined_experiments_helper.rb <BEF> # frozen_string_literal: true module CombinedExperimentsHelper def ab_combined_test(metric_descriptor, control = nil, *alternatives) return nil unless experiment = find_combined_experiment(metric_descriptor) raise(Split::InvalidExperimentsFormatError, 'Unabl...
1
Merge pull request #553 from hanibash/patch-1
1
.rb
rb
mit
splitrb/split
10070315
<NME> combined_experiments_helper.rb <BEF> # frozen_string_literal: true module CombinedExperimentsHelper def ab_combined_test(metric_descriptor, control = nil, *alternatives) return nil unless experiment = find_combined_experiment(metric_descriptor) raise(Split::InvalidExperimentsFormatError, 'Unabl...
1
Merge pull request #553 from hanibash/patch-1
1
.rb
rb
mit
splitrb/split
10070316
<NME> combined_experiments_helper.rb <BEF> # frozen_string_literal: true module CombinedExperimentsHelper def ab_combined_test(metric_descriptor, control = nil, *alternatives) return nil unless experiment = find_combined_experiment(metric_descriptor) raise(Split::InvalidExperimentsFormatError, 'Unabl...
1
Merge pull request #553 from hanibash/patch-1
1
.rb
rb
mit
splitrb/split
10070317
<NME> CHANGELOG.md <BEF> ## 4.0.1 (December 30th, 2021) Bugfixes: - ab_test must return metadata on error or if split is disabled/excluded user (@andrehjr, #622) - Fix versioned experiments when used with allow_multiple_experiments=control (@andrehjr, #613) - Only block Pinterest bot (@huoxito, #606) - Respect experim...
7
Update changelog
0
.md
md
mit
splitrb/split
10070318
<NME> CHANGELOG.md <BEF> ## 4.0.1 (December 30th, 2021) Bugfixes: - ab_test must return metadata on error or if split is disabled/excluded user (@andrehjr, #622) - Fix versioned experiments when used with allow_multiple_experiments=control (@andrehjr, #613) - Only block Pinterest bot (@huoxito, #606) - Respect experim...
7
Update changelog
0
.md
md
mit
splitrb/split
10070319
<NME> CHANGELOG.md <BEF> ## 4.0.1 (December 30th, 2021) Bugfixes: - ab_test must return metadata on error or if split is disabled/excluded user (@andrehjr, #622) - Fix versioned experiments when used with allow_multiple_experiments=control (@andrehjr, #613) - Only block Pinterest bot (@huoxito, #606) - Respect experim...
7
Update changelog
0
.md
md
mit
splitrb/split
10070320
<NME> array.rb <BEF> ADDFILE <MSG> maintain ruby 1.8.7 compatibility. <DFF> @@ -0,0 +1,4 @@ +class Array + # maintain backwards compatibility with 1.8.7 + alias_method :sample, :choice unless method_defined?(:sample) +end \ No newline at end of file
4
maintain ruby 1.8.7 compatibility.
0
.rb
rb
mit
splitrb/split
10070321
<NME> array.rb <BEF> ADDFILE <MSG> maintain ruby 1.8.7 compatibility. <DFF> @@ -0,0 +1,4 @@ +class Array + # maintain backwards compatibility with 1.8.7 + alias_method :sample, :choice unless method_defined?(:sample) +end \ No newline at end of file
4
maintain ruby 1.8.7 compatibility.
0
.rb
rb
mit
splitrb/split
10070322
<NME> array.rb <BEF> ADDFILE <MSG> maintain ruby 1.8.7 compatibility. <DFF> @@ -0,0 +1,4 @@ +class Array + # maintain backwards compatibility with 1.8.7 + alias_method :sample, :choice unless method_defined?(:sample) +end \ No newline at end of file
4
maintain ruby 1.8.7 compatibility.
0
.rb
rb
mit
splitrb/split
10070323
<NME> README.md <BEF> # [Split](https://libraries.io/rubygems/split) [![Gem Version](https://badge.fury.io/rb/split.svg)](http://badge.fury.io/rb/split) ![Build status](https://github.com/splitrb/split/actions/workflows/ci.yml/badge.svg?branch=main) [![Code Climate](https://codeclimate.com/github/splitrb/split/badges/...
2
no message (#527)
2
.md
md
mit
splitrb/split
10070324
<NME> README.md <BEF> # [Split](https://libraries.io/rubygems/split) [![Gem Version](https://badge.fury.io/rb/split.svg)](http://badge.fury.io/rb/split) ![Build status](https://github.com/splitrb/split/actions/workflows/ci.yml/badge.svg?branch=main) [![Code Climate](https://codeclimate.com/github/splitrb/split/badges/...
2
no message (#527)
2
.md
md
mit
splitrb/split
10070325
<NME> README.md <BEF> # [Split](https://libraries.io/rubygems/split) [![Gem Version](https://badge.fury.io/rb/split.svg)](http://badge.fury.io/rb/split) ![Build status](https://github.com/splitrb/split/actions/workflows/ci.yml/badge.svg?branch=main) [![Code Climate](https://codeclimate.com/github/splitrb/split/badges/...
2
no message (#527)
2
.md
md
mit
splitrb/split
10070326
<NME> pagination_helpers.rb <BEF> # frozen_string_literal: true require "split/dashboard/paginator" module Split module DashboardPaginationHelpers def pagination_per default_per_page = Split.configuration.dashboard_pagination_default_per_page @pagination_per ||= (params[:per] || default_per_page).to...
1
Fix Dashboard Pagination Helper typo (#541)
1
.rb
rb
mit
splitrb/split
10070327
<NME> pagination_helpers.rb <BEF> # frozen_string_literal: true require "split/dashboard/paginator" module Split module DashboardPaginationHelpers def pagination_per default_per_page = Split.configuration.dashboard_pagination_default_per_page @pagination_per ||= (params[:per] || default_per_page).to...
1
Fix Dashboard Pagination Helper typo (#541)
1
.rb
rb
mit
splitrb/split
10070328
<NME> pagination_helpers.rb <BEF> # frozen_string_literal: true require "split/dashboard/paginator" module Split module DashboardPaginationHelpers def pagination_per default_per_page = Split.configuration.dashboard_pagination_default_per_page @pagination_per ||= (params[:per] || default_per_page).to...
1
Fix Dashboard Pagination Helper typo (#541)
1
.rb
rb
mit
splitrb/split
10070329
<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...
6
support multiple metrics per experiment
4
.rb
rb
mit
splitrb/split
10070330
<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...
6
support multiple metrics per experiment
4
.rb
rb
mit
splitrb/split
10070331
<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...
6
support multiple metrics per experiment
4
.rb
rb
mit
splitrb/split
10070332
<NME> combined_experiments_helper.rb <BEF> # frozen_string_literal: true module Split module CombinedExperimentsHelper def ab_combined_test(metric_descriptor, control = nil, *alternatives) return nil unless experiment = find_combined_experiment(metric_descriptor) raise(Split::InvalidExperimentsFormat...
1
Fix Style/ColonMethodCall
1
.rb
rb
mit
splitrb/split
10070333
<NME> combined_experiments_helper.rb <BEF> # frozen_string_literal: true module Split module CombinedExperimentsHelper def ab_combined_test(metric_descriptor, control = nil, *alternatives) return nil unless experiment = find_combined_experiment(metric_descriptor) raise(Split::InvalidExperimentsFormat...
1
Fix Style/ColonMethodCall
1
.rb
rb
mit
splitrb/split
10070334
<NME> combined_experiments_helper.rb <BEF> # frozen_string_literal: true module Split module CombinedExperimentsHelper def ab_combined_test(metric_descriptor, control = nil, *alternatives) return nil unless experiment = find_combined_experiment(metric_descriptor) raise(Split::InvalidExperimentsFormat...
1
Fix Style/ColonMethodCall
1
.rb
rb
mit
splitrb/split
10070335
<NME> _experiment.erb <BEF> <div class="experiment"> <h2><%= experiment.name %></h2> <form action="<%= url "/reset/#{experiment.name}" %>" method='post' class='inline-controls' onclick="return confirmReset()"> <input type="submit" value="Reset Data"> </form> <form action="<%= url "/#{experiment.name}" %>" m...
11
Dashboard style tweaks
9
.erb
erb
mit
splitrb/split
10070336
<NME> _experiment.erb <BEF> <div class="experiment"> <h2><%= experiment.name %></h2> <form action="<%= url "/reset/#{experiment.name}" %>" method='post' class='inline-controls' onclick="return confirmReset()"> <input type="submit" value="Reset Data"> </form> <form action="<%= url "/#{experiment.name}" %>" m...
11
Dashboard style tweaks
9
.erb
erb
mit
splitrb/split
10070337
<NME> _experiment.erb <BEF> <div class="experiment"> <h2><%= experiment.name %></h2> <form action="<%= url "/reset/#{experiment.name}" %>" method='post' class='inline-controls' onclick="return confirmReset()"> <input type="submit" value="Reset Data"> </form> <form action="<%= url "/#{experiment.name}" %>" m...
11
Dashboard style tweaks
9
.erb
erb
mit
splitrb/split
10070338
<NME> cache_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" describe Split::Cache do let(:namespace) { :test_namespace } let(:key) { :test_key } let(:now) { 1606189017 } before { allow(Time).to receive(:now).and_return(now) } describe "clear" do before { Split.configuration.cache = t...
15
Merge pull request #652 from yankaindustries/cache_experiment_save_path
1
.rb
rb
mit
splitrb/split
10070339
<NME> cache_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" describe Split::Cache do let(:namespace) { :test_namespace } let(:key) { :test_key } let(:now) { 1606189017 } before { allow(Time).to receive(:now).and_return(now) } describe "clear" do before { Split.configuration.cache = t...
15
Merge pull request #652 from yankaindustries/cache_experiment_save_path
1
.rb
rb
mit
splitrb/split
10070340
<NME> cache_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" describe Split::Cache do let(:namespace) { :test_namespace } let(:key) { :test_key } let(:now) { 1606189017 } before { allow(Time).to receive(:now).and_return(now) } describe "clear" do before { Split.configuration.cache = t...
15
Merge pull request #652 from yankaindustries/cache_experiment_save_path
1
.rb
rb
mit
splitrb/split
10070341
<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...
15
added spec for conversions
0
.rb
rb
mit
splitrb/split
10070342
<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...
15
added spec for conversions
0
.rb
rb
mit
splitrb/split
10070343
<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...
15
added spec for conversions
0
.rb
rb
mit
splitrb/split
10070344
<NME> cookie_adapter.rb <BEF> # frozen_string_literal: true require "json" module Split module Persistence class CookieAdapter def initialize(context) @context = context @request, @response = context.request, context.response @cookies = @request.cookies @expires = Time.now ...
1
Removes domain option if set to nil
1
.rb
rb
mit
splitrb/split
10070345
<NME> cookie_adapter.rb <BEF> # frozen_string_literal: true require "json" module Split module Persistence class CookieAdapter def initialize(context) @context = context @request, @response = context.request, context.response @cookies = @request.cookies @expires = Time.now ...
1
Removes domain option if set to nil
1
.rb
rb
mit
splitrb/split
10070346
<NME> cookie_adapter.rb <BEF> # frozen_string_literal: true require "json" module Split module Persistence class CookieAdapter def initialize(context) @context = context @request, @response = context.request, context.response @cookies = @request.cookies @expires = Time.now ...
1
Removes domain option if set to nil
1
.rb
rb
mit
splitrb/split
10070347
<NME> dashboard_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "rack/test" require "split/dashboard" describe Split::Dashboard do include Rack::Test::Methods class TestDashboard < Split::Dashboard include Split::Helper get "/my_experiment" do ab_test(params[:experiment],...
8
Fix the dashboard for experiments with ‘/‘ in the name.
8
.rb
rb
mit
splitrb/split
10070348
<NME> dashboard_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "rack/test" require "split/dashboard" describe Split::Dashboard do include Rack::Test::Methods class TestDashboard < Split::Dashboard include Split::Helper get "/my_experiment" do ab_test(params[:experiment],...
8
Fix the dashboard for experiments with ‘/‘ in the name.
8
.rb
rb
mit
splitrb/split
10070349
<NME> dashboard_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "rack/test" require "split/dashboard" describe Split::Dashboard do include Rack::Test::Methods class TestDashboard < Split::Dashboard include Split::Helper get "/my_experiment" do ab_test(params[:experiment],...
8
Fix the dashboard for experiments with ‘/‘ in the name.
8
.rb
rb
mit
splitrb/split