rollout 2.5.0 → 2.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +56 -32
- data/README.md +12 -1
- data/lib/rollout/feature.rb +18 -9
- data/lib/rollout/logging.rb +1 -0
- data/lib/rollout/version.rb +1 -1
- data/lib/rollout.rb +12 -6
- data/rollout.gemspec +5 -3
- data/spec/rollout/feature_spec.rb +54 -0
- data/spec/rollout/logging_spec.rb +1 -1
- data/spec/rollout_spec.rb +183 -236
- data/spec/spec_helper.rb +2 -2
- metadata +44 -9
data/spec/spec_helper.rb
CHANGED
@@ -8,7 +8,7 @@ require 'bundler/setup'
|
|
8
8
|
require 'redis'
|
9
9
|
require 'rollout'
|
10
10
|
|
11
|
-
|
11
|
+
$redis = Redis.new(
|
12
12
|
host: ENV.fetch('REDIS_HOST', '127.0.0.1'),
|
13
13
|
port: ENV.fetch('REDIS_PORT', '6379'),
|
14
14
|
db: ENV.fetch('REDIS_DB', '7'),
|
@@ -23,5 +23,5 @@ RSpec.configure do |config|
|
|
23
23
|
c.syntax = :expect
|
24
24
|
end
|
25
25
|
|
26
|
-
config.before {
|
26
|
+
config.before { $redis.flushdb }
|
27
27
|
end
|
metadata
CHANGED
@@ -1,29 +1,63 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rollout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Golick
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: observer
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: redis
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
16
30
|
requirements:
|
17
|
-
- - "
|
31
|
+
- - ">="
|
18
32
|
- !ruby/object:Gem::Version
|
19
33
|
version: '4.0'
|
34
|
+
- - "<"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '6'
|
20
37
|
type: :runtime
|
21
38
|
prerelease: false
|
22
39
|
version_requirements: !ruby/object:Gem::Requirement
|
23
40
|
requirements:
|
24
|
-
- - "
|
41
|
+
- - ">="
|
25
42
|
- !ruby/object:Gem::Version
|
26
43
|
version: '4.0'
|
44
|
+
- - "<"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '6'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rake
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
27
61
|
- !ruby/object:Gem::Dependency
|
28
62
|
name: bundler
|
29
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,28 +92,28 @@ dependencies:
|
|
58
92
|
requirements:
|
59
93
|
- - "~>"
|
60
94
|
- !ruby/object:Gem::Version
|
61
|
-
version: '3.
|
95
|
+
version: '3.13'
|
62
96
|
type: :development
|
63
97
|
prerelease: false
|
64
98
|
version_requirements: !ruby/object:Gem::Requirement
|
65
99
|
requirements:
|
66
100
|
- - "~>"
|
67
101
|
- !ruby/object:Gem::Version
|
68
|
-
version: '3.
|
102
|
+
version: '3.13'
|
69
103
|
- !ruby/object:Gem::Dependency
|
70
104
|
name: rspec_junit_formatter
|
71
105
|
requirement: !ruby/object:Gem::Requirement
|
72
106
|
requirements:
|
73
107
|
- - "~>"
|
74
108
|
- !ruby/object:Gem::Version
|
75
|
-
version: '0.
|
109
|
+
version: '0.6'
|
76
110
|
type: :development
|
77
111
|
prerelease: false
|
78
112
|
version_requirements: !ruby/object:Gem::Requirement
|
79
113
|
requirements:
|
80
114
|
- - "~>"
|
81
115
|
- !ruby/object:Gem::Version
|
82
|
-
version: '0.
|
116
|
+
version: '0.6'
|
83
117
|
- !ruby/object:Gem::Dependency
|
84
118
|
name: rubocop
|
85
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -129,6 +163,7 @@ files:
|
|
129
163
|
- lib/rollout/logging.rb
|
130
164
|
- lib/rollout/version.rb
|
131
165
|
- rollout.gemspec
|
166
|
+
- spec/rollout/feature_spec.rb
|
132
167
|
- spec/rollout/logging_spec.rb
|
133
168
|
- spec/rollout_spec.rb
|
134
169
|
- spec/spec_helper.rb
|
@@ -151,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
151
186
|
- !ruby/object:Gem::Version
|
152
187
|
version: '0'
|
153
188
|
requirements: []
|
154
|
-
rubygems_version: 3.
|
189
|
+
rubygems_version: 3.5.3
|
155
190
|
signing_key:
|
156
191
|
specification_version: 4
|
157
192
|
summary: Feature flippers with redis.
|