flipper-mongo 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: 92ab2bc74fcfe869672f06b75f0ad3781ceb5fee11299489889eb4d934e8c259
4
- data.tar.gz: ac4808e0aa53517733ab566348e0dcf7100f7dcf95ab939f4f1a65ebaac465cc
3
+ metadata.gz: 384f8c09e08b6fb0b6b487f63c0e00680b99b20d4f622de5540494b3cedc7627
4
+ data.tar.gz: e51919eefd0406c34f47ce2671d3ef4a4dbec48bcd9a99ece2f6a6e24c9b4e6a
5
5
  SHA512:
6
- metadata.gz: e80b1081f0a1744a9905934b92701116fb37a4800509c3af47f50a113545fbc3318ff169a90af8844d426eea2714f64404a537095202e5889a428a2951da6c62
7
- data.tar.gz: 32a230c9af96e2cf68d7128e2c0e75aa7b9b0e8b46144ab66922080f05d677235cb354b428699c44dc1fdd0eca80d2ca25f8db34eca35dd84e1045d25047776b
6
+ metadata.gz: 49f7a958ac1af72f85d7d5d9e1a894199d4ce434bee249406e26052c683fee85e7b6fc214532f148150a88688711f0a84042c2f35746291a78e51763910dfb09
7
+ data.tar.gz: dd1d70b133235d6523e22985ee7e93de82eadfa9cf8c66be76bc2b807bc3423e2d6308cf8ba278a9445aa1e19da75a21294d85ef966fd585b4df97f1c05e67a9
@@ -1,3 +1,3 @@
1
1
  module Flipper
2
- VERSION = '0.26.2'.freeze
2
+ VERSION = '0.27.0'.freeze
3
3
  end
@@ -15,11 +15,11 @@ RSpec.describe Flipper::Adapters::Mongo do
15
15
  let(:collection) { client['testing'] }
16
16
 
17
17
  before do
18
- begin
19
- collection.drop
20
- rescue Mongo::Error::NoServerAvailable
21
- ENV['CI'] ? raise : skip('Mongo not available')
22
- rescue Mongo::Error::OperationFailure
18
+ skip_on_error(Mongo::Error::NoServerAvailable, 'Mongo not available') do
19
+ begin
20
+ collection.drop
21
+ rescue Mongo::Error::OperationFailure
22
+ end
23
23
  end
24
24
  collection.create
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flipper-mongo
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: mongo
29
29
  requirement: !ruby/object:Gem::Requirement