flipper-redis 0.26.2 → 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: 07f785e46ede10238e72265b2db164520c385c6707652b61ac26e8f3571f198a
4
- data.tar.gz: 65c0f228d8427145fae22f3ea9d73856f4ef22cdf363a470b28975c41b67b358
3
+ metadata.gz: 14aaa85565a4a6fc04ee3e49ffcbc6920bea306008af8aba0ef7215bc150f697
4
+ data.tar.gz: ae3fa3b6c13955a8d5fd5a6fcb61a367d7597fad650dcdad7da58ea77a1b0879
5
5
  SHA512:
6
- metadata.gz: 44261262d8159b0ac8d27630d40e326a0bf6eacefc663adede5f7f59bea1014504471a0c8169ec01b7e50e666388aaecaebc2ee1421dd2a7688dde4692eb12d3
7
- data.tar.gz: 4eb84f9a382046ced62a0d4140697fc8c500d0689c9ba4d2725d17bb9cabc0557262933e1d4a4e5f089436520b638570a6d767bea2f37f071ffa13b69ac3a950
6
+ metadata.gz: c6fda280d16e65e0bf4f47f81a3bf133ff1a122ac2a0d7dfbb6ebdb349fb0c4189db1c66cf2e67ab0ecb290e90f0e90f9869ceb198fdc70d37a3b7b2b1c56bea
7
+ data.tar.gz: 17c7de925f4874413f6856a94c55696c8bca5cd85daafdc173a97cb3ad2fd6e9bf5864a0941ae63e42b68eca3fa26c4845609fdeb387d9f99fea7e0f0e262857
@@ -1,3 +1,3 @@
1
1
  module Flipper
2
- VERSION = '0.26.2'.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.2
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: 2023-03-15 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.2
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.2
26
+ version: 0.27.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: redis
29
29
  requirement: !ruby/object:Gem::Requirement