split 4.0.1 → 4.0.5
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/.github/workflows/ci.yml +27 -35
- data/.rubocop.yml +2 -5
- data/CHANGELOG.md +58 -0
- data/CONTRIBUTING.md +1 -1
- data/Gemfile +4 -1
- data/README.md +11 -3
- data/Rakefile +4 -5
- data/lib/split/algorithms/block_randomization.rb +5 -6
- data/lib/split/algorithms/whiplash.rb +16 -18
- data/lib/split/algorithms.rb +14 -0
- data/lib/split/alternative.rb +21 -22
- data/lib/split/cache.rb +0 -1
- data/lib/split/combined_experiments_helper.rb +4 -4
- data/lib/split/configuration.rb +83 -84
- data/lib/split/dashboard/helpers.rb +6 -7
- data/lib/split/dashboard/pagination_helpers.rb +53 -54
- data/lib/split/dashboard/public/style.css +5 -2
- data/lib/split/dashboard/views/_experiment.erb +2 -1
- data/lib/split/dashboard/views/index.erb +19 -4
- data/lib/split/dashboard.rb +31 -24
- data/lib/split/encapsulated_helper.rb +12 -6
- data/lib/split/experiment.rb +93 -88
- data/lib/split/experiment_catalog.rb +6 -5
- data/lib/split/extensions/string.rb +1 -1
- data/lib/split/goals_collection.rb +8 -10
- data/lib/split/helper.rb +33 -25
- data/lib/split/metric.rb +4 -5
- data/lib/split/persistence/cookie_adapter.rb +45 -47
- data/lib/split/persistence/dual_adapter.rb +7 -8
- data/lib/split/persistence/redis_adapter.rb +3 -4
- data/lib/split/persistence/session_adapter.rb +0 -2
- data/lib/split/persistence.rb +4 -4
- data/lib/split/redis_interface.rb +7 -1
- data/lib/split/trial.rb +23 -24
- data/lib/split/user.rb +12 -13
- data/lib/split/version.rb +1 -1
- data/lib/split/zscore.rb +1 -3
- data/lib/split.rb +27 -26
- data/spec/algorithms/block_randomization_spec.rb +6 -5
- data/spec/algorithms/weighted_sample_spec.rb +6 -5
- data/spec/algorithms/whiplash_spec.rb +4 -5
- data/spec/alternative_spec.rb +35 -36
- data/spec/cache_spec.rb +15 -19
- data/spec/combined_experiments_helper_spec.rb +18 -17
- data/spec/configuration_spec.rb +32 -38
- data/spec/dashboard/pagination_helpers_spec.rb +69 -67
- data/spec/dashboard/paginator_spec.rb +10 -9
- data/spec/dashboard_helpers_spec.rb +19 -18
- data/spec/dashboard_spec.rb +79 -35
- data/spec/encapsulated_helper_spec.rb +46 -22
- data/spec/experiment_catalog_spec.rb +14 -13
- data/spec/experiment_spec.rb +132 -123
- data/spec/goals_collection_spec.rb +17 -15
- data/spec/helper_spec.rb +415 -382
- data/spec/metric_spec.rb +14 -14
- data/spec/persistence/cookie_adapter_spec.rb +26 -11
- data/spec/persistence/dual_adapter_spec.rb +71 -71
- data/spec/persistence/redis_adapter_spec.rb +28 -29
- data/spec/persistence/session_adapter_spec.rb +2 -3
- data/spec/persistence_spec.rb +1 -2
- data/spec/redis_interface_spec.rb +26 -14
- data/spec/spec_helper.rb +33 -18
- data/spec/split_spec.rb +11 -11
- data/spec/support/cookies_mock.rb +1 -2
- data/spec/trial_spec.rb +61 -60
- data/spec/user_spec.rb +36 -36
- data/split.gemspec +24 -20
- metadata +51 -19
- data/.rubocop_todo.yml +0 -226
- data/Appraisals +0 -19
- data/gemfiles/5.0.gemfile +0 -9
- data/gemfiles/5.1.gemfile +0 -9
- data/gemfiles/5.2.gemfile +0 -9
- data/gemfiles/6.0.gemfile +0 -9
- data/gemfiles/6.1.gemfile +0 -9
- data/gemfiles/7.0.gemfile +0 -9
data/split.gemspec
CHANGED
|
@@ -9,36 +9,40 @@ Gem::Specification.new do |s|
|
|
|
9
9
|
s.version = Split::VERSION
|
|
10
10
|
s.platform = Gem::Platform::RUBY
|
|
11
11
|
s.authors = ["Andrew Nesbitt"]
|
|
12
|
-
s.licenses = [
|
|
12
|
+
s.licenses = ["MIT"]
|
|
13
13
|
s.email = ["andrewnez@gmail.com"]
|
|
14
14
|
s.homepage = "https://github.com/splitrb/split"
|
|
15
15
|
s.summary = "Rack based split testing framework"
|
|
16
16
|
|
|
17
17
|
s.metadata = {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
"homepage_uri" => "https://github.com/splitrb/split",
|
|
19
|
+
"changelog_uri" => "https://github.com/splitrb/split/blob/main/CHANGELOG.md",
|
|
20
|
+
"source_code_uri" => "https://github.com/splitrb/split",
|
|
21
|
+
"bug_tracker_uri" => "https://github.com/splitrb/split/issues",
|
|
22
|
+
"wiki_uri" => "https://github.com/splitrb/split/wiki",
|
|
23
|
+
"mailing_list_uri" => "https://groups.google.com/d/forum/split-ruby",
|
|
24
|
+
"funding_uri" => "https://opencollective.com/split"
|
|
25
|
+
}
|
|
25
26
|
|
|
26
|
-
s.required_ruby_version =
|
|
27
|
-
s.required_rubygems_version =
|
|
27
|
+
s.required_ruby_version = ">= 2.7.0"
|
|
28
|
+
s.required_rubygems_version = ">= 2.0.0"
|
|
28
29
|
|
|
29
30
|
s.files = `git ls-files`.split("\n")
|
|
30
31
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
|
31
32
|
s.require_paths = ["lib"]
|
|
32
33
|
|
|
33
|
-
s.add_dependency
|
|
34
|
-
s.add_dependency
|
|
35
|
-
s.add_dependency
|
|
34
|
+
s.add_dependency "redis", ">= 4.2"
|
|
35
|
+
s.add_dependency "sinatra", ">= 1.2.6"
|
|
36
|
+
s.add_dependency "rubystats", ">= 0.3.0"
|
|
37
|
+
s.add_dependency "matrix"
|
|
38
|
+
s.add_dependency "bigdecimal"
|
|
39
|
+
s.add_dependency "cgi"
|
|
36
40
|
|
|
37
|
-
s.add_development_dependency
|
|
38
|
-
s.add_development_dependency
|
|
39
|
-
s.add_development_dependency
|
|
40
|
-
s.add_development_dependency
|
|
41
|
-
s.add_development_dependency
|
|
42
|
-
s.add_development_dependency
|
|
43
|
-
s.add_development_dependency
|
|
41
|
+
s.add_development_dependency "bundler", ">= 1.17"
|
|
42
|
+
s.add_development_dependency "simplecov", "~> 0.15"
|
|
43
|
+
s.add_development_dependency "rack-test", "~> 2.0"
|
|
44
|
+
s.add_development_dependency "rake", "~> 13"
|
|
45
|
+
s.add_development_dependency "rspec", "~> 3.7"
|
|
46
|
+
s.add_development_dependency "pry", "~> 0.10"
|
|
47
|
+
s.add_development_dependency "rails", ">= 5.0"
|
|
44
48
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: split
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.0.
|
|
4
|
+
version: 4.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrew Nesbitt
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: redis
|
|
@@ -52,6 +51,48 @@ dependencies:
|
|
|
52
51
|
- - ">="
|
|
53
52
|
- !ruby/object:Gem::Version
|
|
54
53
|
version: 0.3.0
|
|
54
|
+
- !ruby/object:Gem::Dependency
|
|
55
|
+
name: matrix
|
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
|
57
|
+
requirements:
|
|
58
|
+
- - ">="
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: '0'
|
|
61
|
+
type: :runtime
|
|
62
|
+
prerelease: false
|
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
64
|
+
requirements:
|
|
65
|
+
- - ">="
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: '0'
|
|
68
|
+
- !ruby/object:Gem::Dependency
|
|
69
|
+
name: bigdecimal
|
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
|
71
|
+
requirements:
|
|
72
|
+
- - ">="
|
|
73
|
+
- !ruby/object:Gem::Version
|
|
74
|
+
version: '0'
|
|
75
|
+
type: :runtime
|
|
76
|
+
prerelease: false
|
|
77
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
78
|
+
requirements:
|
|
79
|
+
- - ">="
|
|
80
|
+
- !ruby/object:Gem::Version
|
|
81
|
+
version: '0'
|
|
82
|
+
- !ruby/object:Gem::Dependency
|
|
83
|
+
name: cgi
|
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
|
85
|
+
requirements:
|
|
86
|
+
- - ">="
|
|
87
|
+
- !ruby/object:Gem::Version
|
|
88
|
+
version: '0'
|
|
89
|
+
type: :runtime
|
|
90
|
+
prerelease: false
|
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
92
|
+
requirements:
|
|
93
|
+
- - ">="
|
|
94
|
+
- !ruby/object:Gem::Version
|
|
95
|
+
version: '0'
|
|
55
96
|
- !ruby/object:Gem::Dependency
|
|
56
97
|
name: bundler
|
|
57
98
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -86,14 +127,14 @@ dependencies:
|
|
|
86
127
|
requirements:
|
|
87
128
|
- - "~>"
|
|
88
129
|
- !ruby/object:Gem::Version
|
|
89
|
-
version: '
|
|
130
|
+
version: '2.0'
|
|
90
131
|
type: :development
|
|
91
132
|
prerelease: false
|
|
92
133
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
134
|
requirements:
|
|
94
135
|
- - "~>"
|
|
95
136
|
- !ruby/object:Gem::Version
|
|
96
|
-
version: '
|
|
137
|
+
version: '2.0'
|
|
97
138
|
- !ruby/object:Gem::Dependency
|
|
98
139
|
name: rake
|
|
99
140
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -150,7 +191,6 @@ dependencies:
|
|
|
150
191
|
- - ">="
|
|
151
192
|
- !ruby/object:Gem::Version
|
|
152
193
|
version: '5.0'
|
|
153
|
-
description:
|
|
154
194
|
email:
|
|
155
195
|
- andrewnez@gmail.com
|
|
156
196
|
executables: []
|
|
@@ -168,8 +208,6 @@ files:
|
|
|
168
208
|
- ".gitignore"
|
|
169
209
|
- ".rspec"
|
|
170
210
|
- ".rubocop.yml"
|
|
171
|
-
- ".rubocop_todo.yml"
|
|
172
|
-
- Appraisals
|
|
173
211
|
- CHANGELOG.md
|
|
174
212
|
- CODE_OF_CONDUCT.md
|
|
175
213
|
- CONTRIBUTING.md
|
|
@@ -177,13 +215,8 @@ files:
|
|
|
177
215
|
- LICENSE
|
|
178
216
|
- README.md
|
|
179
217
|
- Rakefile
|
|
180
|
-
- gemfiles/5.0.gemfile
|
|
181
|
-
- gemfiles/5.1.gemfile
|
|
182
|
-
- gemfiles/5.2.gemfile
|
|
183
|
-
- gemfiles/6.0.gemfile
|
|
184
|
-
- gemfiles/6.1.gemfile
|
|
185
|
-
- gemfiles/7.0.gemfile
|
|
186
218
|
- lib/split.rb
|
|
219
|
+
- lib/split/algorithms.rb
|
|
187
220
|
- lib/split/algorithms/block_randomization.rb
|
|
188
221
|
- lib/split/algorithms/weighted_sample.rb
|
|
189
222
|
- lib/split/algorithms/whiplash.rb
|
|
@@ -258,12 +291,12 @@ licenses:
|
|
|
258
291
|
- MIT
|
|
259
292
|
metadata:
|
|
260
293
|
homepage_uri: https://github.com/splitrb/split
|
|
261
|
-
changelog_uri: https://github.com/splitrb/split/blob/
|
|
294
|
+
changelog_uri: https://github.com/splitrb/split/blob/main/CHANGELOG.md
|
|
262
295
|
source_code_uri: https://github.com/splitrb/split
|
|
263
296
|
bug_tracker_uri: https://github.com/splitrb/split/issues
|
|
264
297
|
wiki_uri: https://github.com/splitrb/split/wiki
|
|
265
298
|
mailing_list_uri: https://groups.google.com/d/forum/split-ruby
|
|
266
|
-
|
|
299
|
+
funding_uri: https://opencollective.com/split
|
|
267
300
|
rdoc_options: []
|
|
268
301
|
require_paths:
|
|
269
302
|
- lib
|
|
@@ -271,15 +304,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
271
304
|
requirements:
|
|
272
305
|
- - ">="
|
|
273
306
|
- !ruby/object:Gem::Version
|
|
274
|
-
version: 2.
|
|
307
|
+
version: 2.7.0
|
|
275
308
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
276
309
|
requirements:
|
|
277
310
|
- - ">="
|
|
278
311
|
- !ruby/object:Gem::Version
|
|
279
312
|
version: 2.0.0
|
|
280
313
|
requirements: []
|
|
281
|
-
rubygems_version: 3.
|
|
282
|
-
signing_key:
|
|
314
|
+
rubygems_version: 3.7.0.dev
|
|
283
315
|
specification_version: 4
|
|
284
316
|
summary: Rack based split testing framework
|
|
285
317
|
test_files:
|
data/.rubocop_todo.yml
DELETED
|
@@ -1,226 +0,0 @@
|
|
|
1
|
-
# This configuration was generated by
|
|
2
|
-
# `rubocop --auto-gen-config`
|
|
3
|
-
# on 2020-07-05 01:43:26 UTC using RuboCop version 0.86.0.
|
|
4
|
-
# The point is for the user to remove these configuration records
|
|
5
|
-
# one by one as the offenses are removed from the code base.
|
|
6
|
-
# Note that changes in the inspected code, or installation of new
|
|
7
|
-
# versions of RuboCop, may require this file to be generated again.
|
|
8
|
-
|
|
9
|
-
# Offense count: 1
|
|
10
|
-
# Cop supports --auto-correct.
|
|
11
|
-
Layout/CommentIndentation:
|
|
12
|
-
Exclude:
|
|
13
|
-
- 'lib/split/experiment.rb'
|
|
14
|
-
|
|
15
|
-
# Offense count: 1
|
|
16
|
-
# Cop supports --auto-correct.
|
|
17
|
-
Layout/ElseAlignment:
|
|
18
|
-
Exclude:
|
|
19
|
-
- 'lib/split/experiment.rb'
|
|
20
|
-
|
|
21
|
-
# Offense count: 14
|
|
22
|
-
# Cop supports --auto-correct.
|
|
23
|
-
# Configuration parameters: EnforcedStyle.
|
|
24
|
-
# SupportedStyles: around, only_before
|
|
25
|
-
Layout/EmptyLinesAroundAccessModifier:
|
|
26
|
-
Exclude:
|
|
27
|
-
- 'lib/split/algorithms/block_randomization.rb'
|
|
28
|
-
- 'lib/split/algorithms/whiplash.rb'
|
|
29
|
-
- 'lib/split/alternative.rb'
|
|
30
|
-
- 'lib/split/configuration.rb'
|
|
31
|
-
- 'lib/split/dashboard/pagination_helpers.rb'
|
|
32
|
-
- 'lib/split/encapsulated_helper.rb'
|
|
33
|
-
- 'lib/split/experiment.rb'
|
|
34
|
-
- 'lib/split/goals_collection.rb'
|
|
35
|
-
- 'lib/split/persistence/cookie_adapter.rb'
|
|
36
|
-
- 'lib/split/persistence/dual_adapter.rb'
|
|
37
|
-
- 'lib/split/redis_interface.rb'
|
|
38
|
-
- 'lib/split/trial.rb'
|
|
39
|
-
- 'lib/split/user.rb'
|
|
40
|
-
|
|
41
|
-
# Offense count: 8
|
|
42
|
-
# Cop supports --auto-correct.
|
|
43
|
-
# Configuration parameters: EnforcedStyle.
|
|
44
|
-
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only
|
|
45
|
-
Layout/EmptyLinesAroundClassBody:
|
|
46
|
-
Exclude:
|
|
47
|
-
- 'lib/split/experiment_catalog.rb'
|
|
48
|
-
- 'lib/split/goals_collection.rb'
|
|
49
|
-
- 'lib/split/metric.rb'
|
|
50
|
-
- 'lib/split/persistence/cookie_adapter.rb'
|
|
51
|
-
- 'lib/split/persistence/redis_adapter.rb'
|
|
52
|
-
- 'lib/split/persistence/session_adapter.rb'
|
|
53
|
-
- 'lib/split/zscore.rb'
|
|
54
|
-
|
|
55
|
-
# Offense count: 2
|
|
56
|
-
# Cop supports --auto-correct.
|
|
57
|
-
Layout/EmptyLinesAroundMethodBody:
|
|
58
|
-
Exclude:
|
|
59
|
-
- 'lib/split/dashboard/helpers.rb'
|
|
60
|
-
- 'lib/split/zscore.rb'
|
|
61
|
-
|
|
62
|
-
# Offense count: 1
|
|
63
|
-
# Cop supports --auto-correct.
|
|
64
|
-
# Configuration parameters: EnforcedStyle.
|
|
65
|
-
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines
|
|
66
|
-
Layout/EmptyLinesAroundModuleBody:
|
|
67
|
-
Exclude:
|
|
68
|
-
- 'lib/split/encapsulated_helper.rb'
|
|
69
|
-
|
|
70
|
-
# Offense count: 4
|
|
71
|
-
# Cop supports --auto-correct.
|
|
72
|
-
# Configuration parameters: EnforcedStyleAlignWith, AutoCorrect, Severity.
|
|
73
|
-
# SupportedStylesAlignWith: keyword, variable, start_of_line
|
|
74
|
-
Layout/EndAlignment:
|
|
75
|
-
Exclude:
|
|
76
|
-
- 'lib/split/configuration.rb'
|
|
77
|
-
- 'lib/split/experiment.rb'
|
|
78
|
-
- 'lib/split/trial.rb'
|
|
79
|
-
|
|
80
|
-
# Offense count: 17
|
|
81
|
-
# Cop supports --auto-correct.
|
|
82
|
-
# Configuration parameters: Width, IgnoredPatterns.
|
|
83
|
-
Layout/IndentationWidth:
|
|
84
|
-
Exclude:
|
|
85
|
-
- 'lib/split/algorithms/block_randomization.rb'
|
|
86
|
-
- 'lib/split/algorithms/whiplash.rb'
|
|
87
|
-
- 'lib/split/alternative.rb'
|
|
88
|
-
- 'lib/split/configuration.rb'
|
|
89
|
-
- 'lib/split/dashboard/pagination_helpers.rb'
|
|
90
|
-
- 'lib/split/encapsulated_helper.rb'
|
|
91
|
-
- 'lib/split/experiment.rb'
|
|
92
|
-
- 'lib/split/goals_collection.rb'
|
|
93
|
-
- 'lib/split/persistence/cookie_adapter.rb'
|
|
94
|
-
- 'lib/split/persistence/dual_adapter.rb'
|
|
95
|
-
- 'lib/split/redis_interface.rb'
|
|
96
|
-
- 'lib/split/trial.rb'
|
|
97
|
-
- 'lib/split/user.rb'
|
|
98
|
-
|
|
99
|
-
# Offense count: 4
|
|
100
|
-
# Cop supports --auto-correct.
|
|
101
|
-
# Configuration parameters: EnforcedStyle.
|
|
102
|
-
# SupportedStyles: space, no_space
|
|
103
|
-
Layout/SpaceAroundEqualsInParameterDefault:
|
|
104
|
-
Exclude:
|
|
105
|
-
- 'lib/split/goals_collection.rb'
|
|
106
|
-
- 'lib/split/persistence/dual_adapter.rb'
|
|
107
|
-
- 'lib/split/persistence/redis_adapter.rb'
|
|
108
|
-
- 'lib/split/user.rb'
|
|
109
|
-
|
|
110
|
-
# Offense count: 15
|
|
111
|
-
# Cop supports --auto-correct.
|
|
112
|
-
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
|
|
113
|
-
# SupportedStyles: space, no_space
|
|
114
|
-
# SupportedStylesForEmptyBraces: space, no_space
|
|
115
|
-
Layout/SpaceBeforeBlockBraces:
|
|
116
|
-
Exclude:
|
|
117
|
-
- 'lib/split/configuration.rb'
|
|
118
|
-
- 'lib/split/experiment.rb'
|
|
119
|
-
- 'lib/split/experiment_catalog.rb'
|
|
120
|
-
- 'lib/split/helper.rb'
|
|
121
|
-
- 'lib/split/trial.rb'
|
|
122
|
-
|
|
123
|
-
# Offense count: 35
|
|
124
|
-
# Cop supports --auto-correct.
|
|
125
|
-
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
|
|
126
|
-
# SupportedStyles: space, no_space
|
|
127
|
-
# SupportedStylesForEmptyBraces: space, no_space
|
|
128
|
-
Layout/SpaceInsideBlockBraces:
|
|
129
|
-
Exclude:
|
|
130
|
-
- 'lib/split.rb'
|
|
131
|
-
- 'lib/split/configuration.rb'
|
|
132
|
-
- 'lib/split/experiment.rb'
|
|
133
|
-
- 'lib/split/experiment_catalog.rb'
|
|
134
|
-
- 'lib/split/helper.rb'
|
|
135
|
-
- 'lib/split/trial.rb'
|
|
136
|
-
- 'lib/split/user.rb'
|
|
137
|
-
|
|
138
|
-
# Offense count: 10
|
|
139
|
-
# Cop supports --auto-correct.
|
|
140
|
-
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
|
|
141
|
-
# SupportedStyles: space, no_space, compact
|
|
142
|
-
# SupportedStylesForEmptyBraces: space, no_space
|
|
143
|
-
Layout/SpaceInsideHashLiteralBraces:
|
|
144
|
-
Exclude:
|
|
145
|
-
- 'lib/split/experiment.rb'
|
|
146
|
-
- 'lib/split/helper.rb'
|
|
147
|
-
- 'lib/split/persistence/redis_adapter.rb'
|
|
148
|
-
|
|
149
|
-
# Offense count: 1
|
|
150
|
-
# Cop supports --auto-correct.
|
|
151
|
-
# Configuration parameters: EnforcedStyle.
|
|
152
|
-
# SupportedStyles: final_newline, final_blank_line
|
|
153
|
-
Layout/TrailingEmptyLines:
|
|
154
|
-
Exclude:
|
|
155
|
-
- 'Rakefile'
|
|
156
|
-
|
|
157
|
-
# Offense count: 3
|
|
158
|
-
# Cop supports --auto-correct.
|
|
159
|
-
# Configuration parameters: AllowInHeredoc.
|
|
160
|
-
Layout/TrailingWhitespace:
|
|
161
|
-
Exclude:
|
|
162
|
-
- 'lib/split/helper.rb'
|
|
163
|
-
|
|
164
|
-
# Offense count: 1
|
|
165
|
-
Lint/UselessAssignment:
|
|
166
|
-
Exclude:
|
|
167
|
-
- 'lib/split/goals_collection.rb'
|
|
168
|
-
|
|
169
|
-
# Offense count: 1
|
|
170
|
-
# Cop supports --auto-correct.
|
|
171
|
-
# Configuration parameters: EnforcedStyle.
|
|
172
|
-
# SupportedStyles: always, conditionals
|
|
173
|
-
Style/AndOr:
|
|
174
|
-
Exclude:
|
|
175
|
-
- 'lib/split/experiment_catalog.rb'
|
|
176
|
-
|
|
177
|
-
# Offense count: 1
|
|
178
|
-
# Cop supports --auto-correct.
|
|
179
|
-
Style/ColonMethodCall:
|
|
180
|
-
Exclude:
|
|
181
|
-
- 'lib/split/combined_experiments_helper.rb'
|
|
182
|
-
|
|
183
|
-
# Offense count: 1
|
|
184
|
-
# Cop supports --auto-correct.
|
|
185
|
-
Style/DefWithParentheses:
|
|
186
|
-
Exclude:
|
|
187
|
-
- 'lib/split/helper.rb'
|
|
188
|
-
|
|
189
|
-
# Offense count: 23
|
|
190
|
-
# Cop supports --auto-correct.
|
|
191
|
-
# Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
|
|
192
|
-
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
|
|
193
|
-
Style/HashSyntax:
|
|
194
|
-
Exclude:
|
|
195
|
-
- 'Rakefile'
|
|
196
|
-
- 'lib/split/experiment.rb'
|
|
197
|
-
- 'lib/split/experiment_catalog.rb'
|
|
198
|
-
- 'lib/split/helper.rb'
|
|
199
|
-
- 'lib/split/metric.rb'
|
|
200
|
-
- 'lib/split/persistence.rb'
|
|
201
|
-
- 'lib/split/persistence/redis_adapter.rb'
|
|
202
|
-
|
|
203
|
-
# Offense count: 1
|
|
204
|
-
# Cop supports --auto-correct.
|
|
205
|
-
# Configuration parameters: EnforcedStyle.
|
|
206
|
-
# SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline
|
|
207
|
-
Style/MethodDefParentheses:
|
|
208
|
-
Exclude:
|
|
209
|
-
- 'lib/split/configuration.rb'
|
|
210
|
-
|
|
211
|
-
# Offense count: 9
|
|
212
|
-
# Cop supports --auto-correct.
|
|
213
|
-
# Configuration parameters: AllowMultipleReturnValues.
|
|
214
|
-
Style/RedundantReturn:
|
|
215
|
-
Exclude:
|
|
216
|
-
- 'lib/split/alternative.rb'
|
|
217
|
-
- 'lib/split/experiment.rb'
|
|
218
|
-
- 'lib/split/helper.rb'
|
|
219
|
-
- 'lib/split/zscore.rb'
|
|
220
|
-
|
|
221
|
-
# Offense count: 258
|
|
222
|
-
# Cop supports --auto-correct.
|
|
223
|
-
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
|
224
|
-
# SupportedStyles: single_quotes, double_quotes
|
|
225
|
-
Style/StringLiterals:
|
|
226
|
-
Enabled: false
|
data/Appraisals
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
appraise "4.2" do
|
|
2
|
-
gem "rails", "~> 4.2"
|
|
3
|
-
end
|
|
4
|
-
|
|
5
|
-
appraise "5.0" do
|
|
6
|
-
gem "rails", "~> 5.0"
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
appraise "5.1" do
|
|
10
|
-
gem "rails", "~> 5.1"
|
|
11
|
-
end
|
|
12
|
-
|
|
13
|
-
appraise "5.2" do
|
|
14
|
-
gem "rails", "~> 5.2"
|
|
15
|
-
end
|
|
16
|
-
|
|
17
|
-
appraise "6.0" do
|
|
18
|
-
gem 'rails', '~> 6.0'
|
|
19
|
-
end
|
data/gemfiles/5.0.gemfile
DELETED
data/gemfiles/5.1.gemfile
DELETED
data/gemfiles/5.2.gemfile
DELETED
data/gemfiles/6.0.gemfile
DELETED
data/gemfiles/6.1.gemfile
DELETED