flipper-redis 0.26.0 → 0.27.0
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: 14aaa85565a4a6fc04ee3e49ffcbc6920bea306008af8aba0ef7215bc150f697
|
4
|
+
data.tar.gz: ae3fa3b6c13955a8d5fd5a6fcb61a367d7597fad650dcdad7da58ea77a1b0879
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6fda280d16e65e0bf4f47f81a3bf133ff1a122ac2a0d7dfbb6ebdb349fb0c4189db1c66cf2e67ab0ecb290e90f0e90f9869ceb198fdc70d37a3b7b2b1c56bea
|
7
|
+
data.tar.gz: 17c7de925f4874413f6856a94c55696c8bca5cd85daafdc173a97cb3ad2fd6e9bf5864a0941ae63e42b68eca3fa26c4845609fdeb387d9f99fea7e0f0e262857
|
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.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Nunemaker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-18 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.0
|
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.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: redis
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|