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
10070950
<NME> models.py <BEF> import os from django.conf import settings from django.db import models from django.utils.translation import ugettext_lazy as _ from django.contrib.auth.models import User OS_NAMES = ( ("aix", "AIX"), ("beos", "BeOS"), ("debian", "Debian Linux"), ("dos", "DOS"), ...
1
Switched download_url to be a CharField instead of a URLField.
1
.py
py
bsd-3-clause
ask/chishop
10070951
<NME> setup.py <BEF> #!/usr/bin/env python # -*- coding: utf-8 -*- import os import codecs try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages from distutils.command.install_data import in...
1
Add dependency to docutils + bump version
0
.py
py
bsd-3-clause
ask/chishop
10070952
<NME> version.rb <BEF> # frozen_string_literal: true module Split MAJOR = 1 MINOR = 4 PATCH = 1 VERSION = [MAJOR, MINOR, PATCH].join('.') end <MSG> v1.4.2 <DFF> @@ -2,6 +2,6 @@ module Split MAJOR = 1 MINOR = 4 - PATCH = 1 + PATCH = 2 VERSION = [MAJOR, MINOR, PATCH].join('.') end
1
v1.4.2
1
.rb
rb
mit
splitrb/split
10070953
<NME> version.rb <BEF> # frozen_string_literal: true module Split MAJOR = 1 MINOR = 4 PATCH = 1 VERSION = [MAJOR, MINOR, PATCH].join('.') end <MSG> v1.4.2 <DFF> @@ -2,6 +2,6 @@ module Split MAJOR = 1 MINOR = 4 - PATCH = 1 + PATCH = 2 VERSION = [MAJOR, MINOR, PATCH].join('.') end
1
v1.4.2
1
.rb
rb
mit
splitrb/split
10070954
<NME> version.rb <BEF> # frozen_string_literal: true module Split MAJOR = 1 MINOR = 4 PATCH = 1 VERSION = [MAJOR, MINOR, PATCH].join('.') end <MSG> v1.4.2 <DFF> @@ -2,6 +2,6 @@ module Split MAJOR = 1 MINOR = 4 - PATCH = 1 + PATCH = 2 VERSION = [MAJOR, MINOR, PATCH].join('.') end
1
v1.4.2
1
.rb
rb
mit
splitrb/split
10070955
<NME> MANIFEST.in <BEF> include AUTHORS include README include TODO include MANIFEST.in recursive-include djangopypi * recursive-include chishop * <MSG> Added LICENSE and Changelog to MANIFEST. <DFF> @@ -2,5 +2,7 @@ include AUTHORS include README include TODO include MANIFEST.in +include LICENSE +include Changelog...
2
Added LICENSE and Changelog to MANIFEST.
0
.in
in
bsd-3-clause
ask/chishop
10070956
<NME> cookie_adapter_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "rack/test" describe Split::Persistence::CookieAdapter do subject { described_class.new(context) } shared_examples "sets cookies correctly" do describe "#[] and #[]=" do it "set and return the value for given...
16
Handle cookies with valid JSON of invalid type
0
.rb
rb
mit
splitrb/split
10070957
<NME> cookie_adapter_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "rack/test" describe Split::Persistence::CookieAdapter do subject { described_class.new(context) } shared_examples "sets cookies correctly" do describe "#[] and #[]=" do it "set and return the value for given...
16
Handle cookies with valid JSON of invalid type
0
.rb
rb
mit
splitrb/split
10070958
<NME> cookie_adapter_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "rack/test" describe Split::Persistence::CookieAdapter do subject { described_class.new(context) } shared_examples "sets cookies correctly" do describe "#[] and #[]=" do it "set and return the value for given...
16
Handle cookies with valid JSON of invalid type
0
.rb
rb
mit
splitrb/split
10070959
<NME> buildout.cfg <BEF> [buildout] parts = django find-links = http://bitbucket.org/ubernostrum/django-registration/downloads/django-registration-0.8-alpha-1.tar.gz [django] recipe = djangorecipe version = 1.0.2 settings = development eggs = ${buildout:eggs} project = chishop wsgi = true test = djangopypi project = c...
2
Updated buildout to Django 1.1 and added testrunner
1
.cfg
cfg
bsd-3-clause
ask/chishop
10070960
<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...
13
Use the control if split is globally disabled
2
.rb
rb
mit
splitrb/split
10070961
<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...
13
Use the control if split is globally disabled
2
.rb
rb
mit
splitrb/split
10070962
<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...
13
Use the control if split is globally disabled
2
.rb
rb
mit
splitrb/split
10070963
<NME> helper_spec.rb <BEF> require 'spec_helper' describe Split::Helper do include Split::Helper include Split::Helper let(:experiment) { Split::ExperimentCatalog.find_or_create("link_color", "blue", "red") } describe "ab_test" do it "should not raise an error when passed strings for alternatives"...
2
Added note about refactoring helper tests to use Rack::Test
0
.rb
rb
mit
splitrb/split
10070964
<NME> helper_spec.rb <BEF> require 'spec_helper' describe Split::Helper do include Split::Helper include Split::Helper let(:experiment) { Split::ExperimentCatalog.find_or_create("link_color", "blue", "red") } describe "ab_test" do it "should not raise an error when passed strings for alternatives"...
2
Added note about refactoring helper tests to use Rack::Test
0
.rb
rb
mit
splitrb/split
10070965
<NME> helper_spec.rb <BEF> require 'spec_helper' describe Split::Helper do include Split::Helper include Split::Helper let(:experiment) { Split::ExperimentCatalog.find_or_create("link_color", "blue", "red") } describe "ab_test" do it "should not raise an error when passed strings for alternatives"...
2
Added note about refactoring helper tests to use Rack::Test
0
.rb
rb
mit
splitrb/split
10070966
<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
Fixed Metadata not deleting. Fixed Metadata not loading from configuration
2
.rb
rb
mit
splitrb/split
10070967
<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
Fixed Metadata not deleting. Fixed Metadata not loading from configuration
2
.rb
rb
mit
splitrb/split
10070968
<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
Fixed Metadata not deleting. Fixed Metadata not loading from configuration
2
.rb
rb
mit
splitrb/split
10070969
<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
Whitespace fix
1
.rb
rb
mit
splitrb/split
10070970
<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
Whitespace fix
1
.rb
rb
mit
splitrb/split
10070971
<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
Whitespace fix
1
.rb
rb
mit
splitrb/split
10070972
<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/...
1
Update README.md
1
.md
md
mit
splitrb/split
10070973
<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/...
1
Update README.md
1
.md
md
mit
splitrb/split
10070974
<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/...
1
Update README.md
1
.md
md
mit
splitrb/split
10070975
<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
Merge pull request #670 from splitrb/improve-checking-for-old-versions
1
.rb
rb
mit
splitrb/split
10070976
<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
Merge pull request #670 from splitrb/improve-checking-for-old-versions
1
.rb
rb
mit
splitrb/split
10070977
<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
Merge pull request #670 from splitrb/improve-checking-for-old-versions
1
.rb
rb
mit
splitrb/split
10070978
<NME> .npmignore <BEF> npm-debug.log* node_modules jspm_packages .npm /.* /*.* /test /lib /src <MSG> Fixed packaging for scanner <DFF> @@ -4,5 +4,8 @@ jspm_packages .npm /.* /*.* +!/*.js +!/*.d.ts +!/*.js.map /test -/lib +/src
4
Fixed packaging for scanner
1
npmignore
mit
emmetio/emmet
10070979
<NME> .npmignore <BEF> npm-debug.log* node_modules jspm_packages .npm /.* /*.* /test /lib /src <MSG> Fixed packaging for scanner <DFF> @@ -4,5 +4,8 @@ jspm_packages .npm /.* /*.* +!/*.js +!/*.d.ts +!/*.js.map /test -/lib +/src
4
Fixed packaging for scanner
1
npmignore
mit
emmetio/emmet
10070980
<NME> layout.erb <BEF> ADDFILE <MSG> Stolen resque layout and styles for frontend <DFF> @@ -0,0 +1,25 @@ +<!DOCTYPE html> +<html> +<head> +<meta content='text/html; charset=utf-8' http-equiv='Content-Type'> +<link href="<%= url 'style.css' %>" media="screen" rel="stylesheet" type="text/css"> + +<title>Multivariate</tit...
25
Stolen resque layout and styles for frontend
0
.erb
erb
mit
splitrb/split
10070981
<NME> layout.erb <BEF> ADDFILE <MSG> Stolen resque layout and styles for frontend <DFF> @@ -0,0 +1,25 @@ +<!DOCTYPE html> +<html> +<head> +<meta content='text/html; charset=utf-8' http-equiv='Content-Type'> +<link href="<%= url 'style.css' %>" media="screen" rel="stylesheet" type="text/css"> + +<title>Multivariate</tit...
25
Stolen resque layout and styles for frontend
0
.erb
erb
mit
splitrb/split
10070982
<NME> layout.erb <BEF> ADDFILE <MSG> Stolen resque layout and styles for frontend <DFF> @@ -0,0 +1,25 @@ +<!DOCTYPE html> +<html> +<head> +<meta content='text/html; charset=utf-8' http-equiv='Content-Type'> +<link href="<%= url 'style.css' %>" media="screen" rel="stylesheet" type="text/css"> + +<title>Multivariate</tit...
25
Stolen resque layout and styles for frontend
0
.erb
erb
mit
splitrb/split
10070983
<NME> dashboard_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "rack/test" describe Split::Dashboard do include Rack::Test::Methods let(:link_color) { Split::Experiment.find_or_create('link_color', 'blue', 'red') } def link(color) Split::Alternative.new(color, 'link_color')...
15
Renaming link_color to experiment
26
.rb
rb
mit
splitrb/split
10070984
<NME> dashboard_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "rack/test" describe Split::Dashboard do include Rack::Test::Methods let(:link_color) { Split::Experiment.find_or_create('link_color', 'blue', 'red') } def link(color) Split::Alternative.new(color, 'link_color')...
15
Renaming link_color to experiment
26
.rb
rb
mit
splitrb/split
10070985
<NME> dashboard_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "rack/test" describe Split::Dashboard do include Rack::Test::Methods let(:link_color) { Split::Experiment.find_or_create('link_color', 'blue', 'red') } def link(color) Split::Alternative.new(color, 'link_color')...
15
Renaming link_color to experiment
26
.rb
rb
mit
splitrb/split
10070986
<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...
14
Fix #max_experiments_reached? when using allow_multiple_experiments=control
2
.rb
rb
mit
splitrb/split
10070987
<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...
14
Fix #max_experiments_reached? when using allow_multiple_experiments=control
2
.rb
rb
mit
splitrb/split
10070988
<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...
14
Fix #max_experiments_reached? when using allow_multiple_experiments=control
2
.rb
rb
mit
splitrb/split
10070989
<NME> goals_collection.rb <BEF> # frozen_string_literal: true module Split class GoalsCollection def initialize(experiment_name, goals = nil) @experiment_name = experiment_name @goals = goals end def load_from_redis Split.redis.lrange(goals_key, 0, -1) end def load_from_config...
3
Fix Lint/UselessAssignment
3
.rb
rb
mit
splitrb/split
10070990
<NME> goals_collection.rb <BEF> # frozen_string_literal: true module Split class GoalsCollection def initialize(experiment_name, goals = nil) @experiment_name = experiment_name @goals = goals end def load_from_redis Split.redis.lrange(goals_key, 0, -1) end def load_from_config...
3
Fix Lint/UselessAssignment
3
.rb
rb
mit
splitrb/split
10070991
<NME> goals_collection.rb <BEF> # frozen_string_literal: true module Split class GoalsCollection def initialize(experiment_name, goals = nil) @experiment_name = experiment_name @goals = goals end def load_from_redis Split.redis.lrange(goals_key, 0, -1) end def load_from_config...
3
Fix Lint/UselessAssignment
3
.rb
rb
mit
splitrb/split
10070992
<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...
1
Pull config file fallback out of nested methods
1
.rb
rb
mit
splitrb/split
10070993
<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...
1
Pull config file fallback out of nested methods
1
.rb
rb
mit
splitrb/split
10070994
<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...
1
Pull config file fallback out of nested methods
1
.rb
rb
mit
splitrb/split
10070995
<NME> user_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "split/experiment_catalog" describe Split::User do let(:user_keys) { { 'link_color' => 'blue' } } let(:context) { double(:session => { split: user_keys }) } let(:experiment) { Split::Experiment.new('link_color') } before(:e...
1
Fix Style/HashSyntax offenses
1
.rb
rb
mit
splitrb/split
10070996
<NME> user_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "split/experiment_catalog" describe Split::User do let(:user_keys) { { 'link_color' => 'blue' } } let(:context) { double(:session => { split: user_keys }) } let(:experiment) { Split::Experiment.new('link_color') } before(:e...
1
Fix Style/HashSyntax offenses
1
.rb
rb
mit
splitrb/split
10070997
<NME> user_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "split/experiment_catalog" describe Split::User do let(:user_keys) { { 'link_color' => 'blue' } } let(:context) { double(:session => { split: user_keys }) } let(:experiment) { Split::Experiment.new('link_color') } before(:e...
1
Fix Style/HashSyntax offenses
1
.rb
rb
mit
splitrb/split
10070998
<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
Merge pull request #106 from iangreenleaf/variants_bug
0
.rb
rb
mit
splitrb/split
10070999
<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
Merge pull request #106 from iangreenleaf/variants_bug
0
.rb
rb
mit
splitrb/split
10071000
<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
Merge pull request #106 from iangreenleaf/variants_bug
0
.rb
rb
mit
splitrb/split
10071001
<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 = ...
5
separate choosing, and recording.
1
.rb
rb
mit
splitrb/split
10071002
<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 = ...
5
separate choosing, and recording.
1
.rb
rb
mit
splitrb/split
10071003
<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 = ...
5
separate choosing, and recording.
1
.rb
rb
mit
splitrb/split
10071004
<NME> version.rb <BEF> # frozen_string_literal: true module Split VERSION = "4.0.0.pre" end <MSG> 4.0.0.pre2 <DFF> @@ -1,5 +1,5 @@ # frozen_string_literal: true module Split - VERSION = "4.0.0.pre" + VERSION = "4.0.0.pre2" end
1
4.0.0.pre2
1
.rb
rb
mit
splitrb/split
10071005
<NME> version.rb <BEF> # frozen_string_literal: true module Split VERSION = "4.0.0.pre" end <MSG> 4.0.0.pre2 <DFF> @@ -1,5 +1,5 @@ # frozen_string_literal: true module Split - VERSION = "4.0.0.pre" + VERSION = "4.0.0.pre2" end
1
4.0.0.pre2
1
.rb
rb
mit
splitrb/split
10071006
<NME> version.rb <BEF> # frozen_string_literal: true module Split VERSION = "4.0.0.pre" end <MSG> 4.0.0.pre2 <DFF> @@ -1,5 +1,5 @@ # frozen_string_literal: true module Split - VERSION = "4.0.0.pre" + VERSION = "4.0.0.pre2" end
1
4.0.0.pre2
1
.rb
rb
mit
splitrb/split
10071007
<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],...
30
Merge pull request #568 from giraffate/force_alternative_with_version
10
.rb
rb
mit
splitrb/split
10071008
<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],...
30
Merge pull request #568 from giraffate/force_alternative_with_version
10
.rb
rb
mit
splitrb/split
10071009
<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],...
30
Merge pull request #568 from giraffate/force_alternative_with_version
10
.rb
rb
mit
splitrb/split
10071010
<NME> rating.spec.js <BEF> ADDFILE <MSG> feat(rating): add rating directive <DFF> @@ -0,0 +1,325 @@ +describe('Semantic-UI: Elements - smRating', function() { + 'use strict'; + + var $rootScope, $compile, element; + + beforeEach(module('semantic.ui.elements.rating')); + + beforeEach(inject(function(_$rootScope_, _...
325
feat(rating): add rating directive
0
.js
spec
mit
Semantic-Org/Semantic-UI-Angular
10071011
<NME> rating.spec.js <BEF> ADDFILE <MSG> feat(rating): add rating directive <DFF> @@ -0,0 +1,325 @@ +describe('Semantic-UI: Elements - smRating', function() { + 'use strict'; + + var $rootScope, $compile, element; + + beforeEach(module('semantic.ui.elements.rating')); + + beforeEach(inject(function(_$rootScope_, _...
325
feat(rating): add rating directive
0
.js
spec
mit
Semantic-Org/Semantic-UI-Angular
10071012
<NME> rating.spec.js <BEF> ADDFILE <MSG> feat(rating): add rating directive <DFF> @@ -0,0 +1,325 @@ +describe('Semantic-UI: Elements - smRating', function() { + 'use strict'; + + var $rootScope, $compile, element; + + beforeEach(module('semantic.ui.elements.rating')); + + beforeEach(inject(function(_$rootScope_, _...
325
feat(rating): add rating directive
0
.js
spec
mit
Semantic-Org/Semantic-UI-Angular
10071013
<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],...
15
Add ability to force alternative on dashboard. (#437)
0
.rb
rb
mit
splitrb/split
10071014
<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],...
15
Add ability to force alternative on dashboard. (#437)
0
.rb
rb
mit
splitrb/split
10071015
<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],...
15
Add ability to force alternative on dashboard. (#437)
0
.rb
rb
mit
splitrb/split
10071016
<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...
1
Merge pull request #556 from razel1982/master
0
.rb
rb
mit
splitrb/split
10071017
<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...
1
Merge pull request #556 from razel1982/master
0
.rb
rb
mit
splitrb/split
10071018
<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...
1
Merge pull request #556 from razel1982/master
0
.rb
rb
mit
splitrb/split
10071019
<NME> dashboard_helpers_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "split/dashboard/helpers" include Split::DashboardHelpers describe Split::DashboardHelpers do describe "confidence_level" do it "should handle very small numbers" do expect(confidence_level(Complex(2e-18, -0...
2
Merge pull request #579 from giraffate/deprecated_bigdecimal_new
2
.rb
rb
mit
splitrb/split
10071020
<NME> dashboard_helpers_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "split/dashboard/helpers" include Split::DashboardHelpers describe Split::DashboardHelpers do describe "confidence_level" do it "should handle very small numbers" do expect(confidence_level(Complex(2e-18, -0...
2
Merge pull request #579 from giraffate/deprecated_bigdecimal_new
2
.rb
rb
mit
splitrb/split
10071021
<NME> dashboard_helpers_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "split/dashboard/helpers" include Split::DashboardHelpers describe Split::DashboardHelpers do describe "confidence_level" do it "should handle very small numbers" do expect(confidence_level(Complex(2e-18, -0...
2
Merge pull request #579 from giraffate/deprecated_bigdecimal_new
2
.rb
rb
mit
splitrb/split
10071022
<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 ...
75
Merge pull request #124 from rtwomey/refactor-experiments-yaml
3
.rb
rb
mit
splitrb/split
10071023
<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 ...
75
Merge pull request #124 from rtwomey/refactor-experiments-yaml
3
.rb
rb
mit
splitrb/split
10071024
<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 ...
75
Merge pull request #124 from rtwomey/refactor-experiments-yaml
3
.rb
rb
mit
splitrb/split
10071025
<NME> settings.py <BEF> # Django settings for djangopypi project. import os ADMINS = ( # ('Your Name', 'your_email@domain.com'), ) # Allow uploading a new distribution file for a project version # if a file of that type already exists. # # The default on PyPI is to not allow this, but it can be real handy # if yo...
11
rearranged settings: fixes #7
101
.py
py
bsd-3-clause
ask/chishop
10071026
<NME> goals_collection_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "split/goals_collection" require "time" describe Split::GoalsCollection do let(:experiment_name) { "experiment_name" } describe "initialization" do let(:goals_collection) { Split::GoalsCollection.new("exper...
1
Change redis.exists to redis.exists? to avoid problems with redis 4.3
1
.rb
rb
mit
splitrb/split
10071027
<NME> goals_collection_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "split/goals_collection" require "time" describe Split::GoalsCollection do let(:experiment_name) { "experiment_name" } describe "initialization" do let(:goals_collection) { Split::GoalsCollection.new("exper...
1
Change redis.exists to redis.exists? to avoid problems with redis 4.3
1
.rb
rb
mit
splitrb/split
10071028
<NME> goals_collection_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "split/goals_collection" require "time" describe Split::GoalsCollection do let(:experiment_name) { "experiment_name" } describe "initialization" do let(:goals_collection) { Split::GoalsCollection.new("exper...
1
Change redis.exists to redis.exists? to avoid problems with redis 4.3
1
.rb
rb
mit
splitrb/split
10071029
<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...
35
Consolidate record!, choose, and choose! methods into one
40
.rb
rb
mit
splitrb/split
10071030
<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...
35
Consolidate record!, choose, and choose! methods into one
40
.rb
rb
mit
splitrb/split
10071031
<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...
35
Consolidate record!, choose, and choose! methods into one
40
.rb
rb
mit
splitrb/split
10071032
<NME> cookie_adapter_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "rack/test" describe Split::Persistence::CookieAdapter do subject { described_class.new(context) } shared_examples "sets cookies correctly" do describe "#[] and #[]=" do it "set and return the value for given...
1
Update Set-Cookie specs to match the date format set by newer rack versions
1
.rb
rb
mit
splitrb/split
10071033
<NME> cookie_adapter_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "rack/test" describe Split::Persistence::CookieAdapter do subject { described_class.new(context) } shared_examples "sets cookies correctly" do describe "#[] and #[]=" do it "set and return the value for given...
1
Update Set-Cookie specs to match the date format set by newer rack versions
1
.rb
rb
mit
splitrb/split
10071034
<NME> cookie_adapter_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "rack/test" describe Split::Persistence::CookieAdapter do subject { described_class.new(context) } shared_examples "sets cookies correctly" do describe "#[] and #[]=" do it "set and return the value for given...
1
Update Set-Cookie specs to match the date format set by newer rack versions
1
.rb
rb
mit
splitrb/split
10071035
<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...
13
Merge pull request #287 from asku/master
2
.rb
rb
mit
splitrb/split
10071036
<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...
13
Merge pull request #287 from asku/master
2
.rb
rb
mit
splitrb/split
10071037
<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...
13
Merge pull request #287 from asku/master
2
.rb
rb
mit
splitrb/split
10071038
<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...
8
Merge pull request #574 from Nootrobox/add-on-winner-choose-hook
3
.rb
rb
mit
splitrb/split
10071039
<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...
8
Merge pull request #574 from Nootrobox/add-on-winner-choose-hook
3
.rb
rb
mit
splitrb/split
10071040
<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...
8
Merge pull request #574 from Nootrobox/add-on-winner-choose-hook
3
.rb
rb
mit
splitrb/split
10071041
<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
Only suport ruby 2.5+
1
.gemspec
gemspec
mit
splitrb/split
10071042
<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
Only suport ruby 2.5+
1
.gemspec
gemspec
mit
splitrb/split
10071043
<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
Only suport ruby 2.5+
1
.gemspec
gemspec
mit
splitrb/split
10071044
<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 ...
1
Merge pull request #218 from wadako111/external
1
.rb
rb
mit
splitrb/split
10071045
<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 ...
1
Merge pull request #218 from wadako111/external
1
.rb
rb
mit
splitrb/split
10071046
<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 ...
1
Merge pull request #218 from wadako111/external
1
.rb
rb
mit
splitrb/split
10071047
<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...
2
Merge pull request #56 from midu/master
2
.gemspec
gemspec
mit
splitrb/split
10071048
<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...
2
Merge pull request #56 from midu/master
2
.gemspec
gemspec
mit
splitrb/split
10071049
<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...
2
Merge pull request #56 from midu/master
2
.gemspec
gemspec
mit
splitrb/split