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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4fe57b8039f49c839ad48193abfe3b84781d52c43d1cbefa4ed1ab101ad5f447
4
- data.tar.gz: e469d55199c97789efc4ac225ac7e66e7631ebbe939d1b5637a8f724752f84f3
3
+ metadata.gz: 14aaa85565a4a6fc04ee3e49ffcbc6920bea306008af8aba0ef7215bc150f697
4
+ data.tar.gz: ae3fa3b6c13955a8d5fd5a6fcb61a367d7597fad650dcdad7da58ea77a1b0879
5
5
  SHA512:
6
- metadata.gz: 9507c5f73bde9786d0c34e772b8b0314c94b6352281687cf01650557ad7b8f0136d51c0635ac249ce2a95a8e427c9fd8b2841dbeb996d78518cd1f067b6b57a0
7
- data.tar.gz: 0e050b755f0745f2d9551e3cf7a2676b99fde5b15d8181e9512a79cfacba12d6f86f35301b19c70a3ac99d41c4c16d443d45881570da81f9818986b38fd51205
6
+ metadata.gz: c6fda280d16e65e0bf4f47f81a3bf133ff1a122ac2a0d7dfbb6ebdb349fb0c4189db1c66cf2e67ab0ecb290e90f0e90f9869ceb198fdc70d37a3b7b2b1c56bea
7
+ data.tar.gz: 17c7de925f4874413f6856a94c55696c8bca5cd85daafdc173a97cb3ad2fd6e9bf5864a0941ae63e42b68eca3fa26c4845609fdeb387d9f99fea7e0f0e262857
@@ -1,3 +1,3 @@
1
1
  module Flipper
2
- VERSION = '0.26.0'.freeze
2
+ VERSION = '0.27.0'.freeze
3
3
  end
@@ -17,10 +17,8 @@ RSpec.describe Flipper::Adapters::RedisCache do
17
17
  subject { adapter }
18
18
 
19
19
  before do
20
- begin
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
- begin
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.26.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: 2022-12-05 00:00:00.000000000 Z
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.26.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.0
26
+ version: 0.27.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: redis
29
29
  requirement: !ruby/object:Gem::Requirement