split 2.2.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +1 -2
- data/Appraisals +6 -5
- data/CHANGELOG.md +38 -0
- data/CONTRIBUTING.md +54 -5
- data/LICENSE +1 -1
- data/README.md +153 -112
- data/gemfiles/4.2.gemfile +1 -1
- data/gemfiles/5.0.gemfile +2 -2
- data/gemfiles/{4.1.gemfile → 5.1.gemfile} +3 -2
- data/lib/split/algorithms/block_randomization.rb +22 -0
- data/lib/split/alternative.rb +29 -7
- data/lib/split/combined_experiments_helper.rb +30 -0
- data/lib/split/configuration.rb +5 -0
- data/lib/split/dashboard/helpers.rb +5 -1
- data/lib/split/dashboard/views/_experiment.erb +31 -1
- data/lib/split/encapsulated_helper.rb +2 -0
- data/lib/split/engine.rb +2 -0
- data/lib/split/helper.rb +29 -0
- data/lib/split/persistence/cookie_adapter.rb +19 -15
- data/lib/split/persistence/dual_adapter.rb +3 -0
- data/lib/split/persistence.rb +5 -3
- data/lib/split/user.rb +2 -0
- data/lib/split/version.rb +2 -2
- data/lib/split/zscore.rb +1 -1
- data/lib/split.rb +21 -19
- data/spec/algorithms/block_randomization_spec.rb +32 -0
- data/spec/alternative_spec.rb +31 -0
- data/spec/combined_experiments_helper_spec.rb +57 -0
- data/spec/dashboard_helpers_spec.rb +14 -0
- data/spec/experiment_spec.rb +0 -2
- data/spec/helper_spec.rb +12 -0
- data/spec/persistence/cookie_adapter_spec.rb +6 -2
- data/split.gemspec +11 -2
- metadata +20 -10
- data/lib/split/algorithms.rb +0 -4
- data/lib/split/extensions.rb +0 -4
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: split
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 3.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrew Nesbitt
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-08-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: redis
|
|
@@ -58,14 +58,14 @@ dependencies:
|
|
|
58
58
|
requirements:
|
|
59
59
|
- - "~>"
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: '1.
|
|
61
|
+
version: '1.14'
|
|
62
62
|
type: :development
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: '1.
|
|
68
|
+
version: '1.14'
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: simplecov
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -100,14 +100,14 @@ dependencies:
|
|
|
100
100
|
requirements:
|
|
101
101
|
- - "~>"
|
|
102
102
|
- !ruby/object:Gem::Version
|
|
103
|
-
version: '
|
|
103
|
+
version: '12'
|
|
104
104
|
type: :development
|
|
105
105
|
prerelease: false
|
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
107
|
requirements:
|
|
108
108
|
- - "~>"
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
|
-
version: '
|
|
110
|
+
version: '12'
|
|
111
111
|
- !ruby/object:Gem::Dependency
|
|
112
112
|
name: rspec
|
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -172,14 +172,15 @@ files:
|
|
|
172
172
|
- LICENSE
|
|
173
173
|
- README.md
|
|
174
174
|
- Rakefile
|
|
175
|
-
- gemfiles/4.1.gemfile
|
|
176
175
|
- gemfiles/4.2.gemfile
|
|
177
176
|
- gemfiles/5.0.gemfile
|
|
177
|
+
- gemfiles/5.1.gemfile
|
|
178
178
|
- lib/split.rb
|
|
179
|
-
- lib/split/algorithms.rb
|
|
179
|
+
- lib/split/algorithms/block_randomization.rb
|
|
180
180
|
- lib/split/algorithms/weighted_sample.rb
|
|
181
181
|
- lib/split/algorithms/whiplash.rb
|
|
182
182
|
- lib/split/alternative.rb
|
|
183
|
+
- lib/split/combined_experiments_helper.rb
|
|
183
184
|
- lib/split/configuration.rb
|
|
184
185
|
- lib/split/dashboard.rb
|
|
185
186
|
- lib/split/dashboard/helpers.rb
|
|
@@ -198,7 +199,6 @@ files:
|
|
|
198
199
|
- lib/split/exceptions.rb
|
|
199
200
|
- lib/split/experiment.rb
|
|
200
201
|
- lib/split/experiment_catalog.rb
|
|
201
|
-
- lib/split/extensions.rb
|
|
202
202
|
- lib/split/extensions/string.rb
|
|
203
203
|
- lib/split/goals_collection.rb
|
|
204
204
|
- lib/split/helper.rb
|
|
@@ -213,9 +213,11 @@ files:
|
|
|
213
213
|
- lib/split/user.rb
|
|
214
214
|
- lib/split/version.rb
|
|
215
215
|
- lib/split/zscore.rb
|
|
216
|
+
- spec/algorithms/block_randomization_spec.rb
|
|
216
217
|
- spec/algorithms/weighted_sample_spec.rb
|
|
217
218
|
- spec/algorithms/whiplash_spec.rb
|
|
218
219
|
- spec/alternative_spec.rb
|
|
220
|
+
- spec/combined_experiments_helper_spec.rb
|
|
219
221
|
- spec/configuration_spec.rb
|
|
220
222
|
- spec/dashboard_helpers_spec.rb
|
|
221
223
|
- spec/dashboard_spec.rb
|
|
@@ -240,7 +242,13 @@ files:
|
|
|
240
242
|
homepage: https://github.com/splitrb/split
|
|
241
243
|
licenses:
|
|
242
244
|
- MIT
|
|
243
|
-
metadata:
|
|
245
|
+
metadata:
|
|
246
|
+
homepage_uri: https://github.com/splitrb/split
|
|
247
|
+
changelog_uri: https://github.com/splitrb/split/blob/master/CHANGELOG.md
|
|
248
|
+
source_code_uri: https://github.com/splitrb/split
|
|
249
|
+
bug_tracker_uri: https://github.com/splitrb/split/issues
|
|
250
|
+
wiki_uri: https://github.com/splitrb/split/wiki
|
|
251
|
+
mailing_list_uri: https://groups.google.com/d/forum/split-ruby
|
|
244
252
|
post_install_message:
|
|
245
253
|
rdoc_options: []
|
|
246
254
|
require_paths:
|
|
@@ -262,9 +270,11 @@ signing_key:
|
|
|
262
270
|
specification_version: 4
|
|
263
271
|
summary: Rack based split testing framework
|
|
264
272
|
test_files:
|
|
273
|
+
- spec/algorithms/block_randomization_spec.rb
|
|
265
274
|
- spec/algorithms/weighted_sample_spec.rb
|
|
266
275
|
- spec/algorithms/whiplash_spec.rb
|
|
267
276
|
- spec/alternative_spec.rb
|
|
277
|
+
- spec/combined_experiments_helper_spec.rb
|
|
268
278
|
- spec/configuration_spec.rb
|
|
269
279
|
- spec/dashboard_helpers_spec.rb
|
|
270
280
|
- spec/dashboard_spec.rb
|
data/lib/split/algorithms.rb
DELETED
data/lib/split/extensions.rb
DELETED