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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 07f785e46ede10238e72265b2db164520c385c6707652b61ac26e8f3571f198a
4
- data.tar.gz: 65c0f228d8427145fae22f3ea9d73856f4ef22cdf363a470b28975c41b67b358
3
+ metadata.gz: ab4f6e70ec9c26096a9f6272a113866f0850fe7af26a96108e269892a45dc06e
4
+ data.tar.gz: 0bce2150cbe6bf327a1e3410bb8c2fed3928b4cf7d78ccb4926758d995492fa7
5
5
  SHA512:
6
- metadata.gz: 44261262d8159b0ac8d27630d40e326a0bf6eacefc663adede5f7f59bea1014504471a0c8169ec01b7e50e666388aaecaebc2ee1421dd2a7688dde4692eb12d3
7
- data.tar.gz: 4eb84f9a382046ced62a0d4140697fc8c500d0689c9ba4d2725d17bb9cabc0557262933e1d4a4e5f089436520b638570a6d767bea2f37f071ffa13b69ac3a950
6
+ metadata.gz: 7d128477420d8b838e63555cc3cb2cdfd44f2af4c2de2c60b49a4b2dd37f7168a09f22aebc2224338523f3d97db72f48774143ff4570bdc71d130a4c7c00919c
7
+ data.tar.gz: 31670614c717e823ce19d209d8125b72029bbbb83df9949106b6706d2eee2ff66dc06dc1a3000375d7773adb2d355bc7be13185f6bc5a3d0a1e4fd6c3ad0e23d
@@ -1,3 +1,3 @@
1
1
  module Flipper
2
- VERSION = '0.26.2'.freeze
2
+ VERSION = '0.27.1'.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.2
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-15 00:00:00.000000000 Z
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.26.2
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.2
26
+ version: 0.27.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: redis
29
29
  requirement: !ruby/object:Gem::Requirement