flipper-redis 0.26.2 → 0.27.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/flipper/version.rb +1 -1
- data/spec/flipper/adapters/redis_cache_spec.rb +1 -3
- data/spec/flipper/adapters/redis_spec.rb +1 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab4f6e70ec9c26096a9f6272a113866f0850fe7af26a96108e269892a45dc06e
|
4
|
+
data.tar.gz: 0bce2150cbe6bf327a1e3410bb8c2fed3928b4cf7d78ccb4926758d995492fa7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d128477420d8b838e63555cc3cb2cdfd44f2af4c2de2c60b49a4b2dd37f7168a09f22aebc2224338523f3d97db72f48774143ff4570bdc71d130a4c7c00919c
|
7
|
+
data.tar.gz: 31670614c717e823ce19d209d8125b72029bbbb83df9949106b6706d2eee2ff66dc06dc1a3000375d7773adb2d355bc7be13185f6bc5a3d0a1e4fd6c3ad0e23d
|
data/lib/flipper/version.rb
CHANGED
@@ -17,10 +17,8 @@ RSpec.describe Flipper::Adapters::RedisCache do
|
|
17
17
|
subject { adapter }
|
18
18
|
|
19
19
|
before do
|
20
|
-
|
20
|
+
skip_on_error(Redis::CannotConnectError, 'Redis not available') do
|
21
21
|
client.flushdb
|
22
|
-
rescue Redis::CannotConnectError
|
23
|
-
ENV['CI'] ? raise : skip('Redis not available')
|
24
22
|
end
|
25
23
|
end
|
26
24
|
|
@@ -13,10 +13,8 @@ RSpec.describe Flipper::Adapters::Redis do
|
|
13
13
|
subject { described_class.new(client) }
|
14
14
|
|
15
15
|
before do
|
16
|
-
|
16
|
+
skip_on_error(Redis::CannotConnectError, 'Redis not available') do
|
17
17
|
client.flushdb
|
18
|
-
rescue Redis::CannotConnectError
|
19
|
-
ENV['CI'] ? raise : skip('Redis not available')
|
20
18
|
end
|
21
19
|
end
|
22
20
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flipper-redis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.27.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Nunemaker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flipper
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.27.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.27.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: redis
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|