rollout 2.5.0 → 2.6.0

Sign up to get free protection for your applications and to get access to all the features.
data/spec/spec_helper.rb CHANGED
@@ -8,7 +8,7 @@ require 'bundler/setup'
8
8
  require 'redis'
9
9
  require 'rollout'
10
10
 
11
- Redis.current = Redis.new(
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 { Redis.current.flushdb }
26
+ config.before { $redis.flushdb }
27
27
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rollout
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Golick
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-21 00:00:00.000000000 Z
11
+ date: 2024-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '4.0'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '6'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: '4.0'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '6'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: bundler
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +64,14 @@ dependencies:
58
64
  requirements:
59
65
  - - "~>"
60
66
  - !ruby/object:Gem::Version
61
- version: '3.0'
67
+ version: '3.13'
62
68
  type: :development
63
69
  prerelease: false
64
70
  version_requirements: !ruby/object:Gem::Requirement
65
71
  requirements:
66
72
  - - "~>"
67
73
  - !ruby/object:Gem::Version
68
- version: '3.0'
74
+ version: '3.13'
69
75
  - !ruby/object:Gem::Dependency
70
76
  name: rspec_junit_formatter
71
77
  requirement: !ruby/object:Gem::Requirement
@@ -129,6 +135,7 @@ files:
129
135
  - lib/rollout/logging.rb
130
136
  - lib/rollout/version.rb
131
137
  - rollout.gemspec
138
+ - spec/rollout/feature_spec.rb
132
139
  - spec/rollout/logging_spec.rb
133
140
  - spec/rollout_spec.rb
134
141
  - spec/spec_helper.rb
@@ -151,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
158
  - !ruby/object:Gem::Version
152
159
  version: '0'
153
160
  requirements: []
154
- rubygems_version: 3.1.2
161
+ rubygems_version: 3.4.10
155
162
  signing_key:
156
163
  specification_version: 4
157
164
  summary: Feature flippers with redis.