flipper-mongo 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: fc899ae0ae22fa8e26dfb467f3a89c4c5ab7d8f6587b8303f1dc6c8d9f9e201b
4
- data.tar.gz: aaeffafa834f73885d31c3cf79ba5d0eef58ba7119471c75ad699998ed9e5ab1
3
+ metadata.gz: 384f8c09e08b6fb0b6b487f63c0e00680b99b20d4f622de5540494b3cedc7627
4
+ data.tar.gz: e51919eefd0406c34f47ce2671d3ef4a4dbec48bcd9a99ece2f6a6e24c9b4e6a
5
5
  SHA512:
6
- metadata.gz: 4e19a2a9584a736bda9f754e90aeca94b4c2462ef4e6ebe8ca06969233ef7216d08249c33fe37becf5b35f2279694e6642e92cbb17d0a8e5a0835393d1ffe431
7
- data.tar.gz: 8e4f0523f65c6deafb3f528fb06e45af7b7e25ca1ee24626928a1a0e3d0812ec60c8d8e96650f1fbcfffaf8bed55ecab247985fa639c9fac762ccdced8c3965a
6
+ metadata.gz: 49f7a958ac1af72f85d7d5d9e1a894199d4ce434bee249406e26052c683fee85e7b6fc214532f148150a88688711f0a84042c2f35746291a78e51763910dfb09
7
+ data.tar.gz: dd1d70b133235d6523e22985ee7e93de82eadfa9cf8c66be76bc2b807bc3423e2d6308cf8ba278a9445aa1e19da75a21294d85ef966fd585b4df97f1c05e67a9
@@ -1,3 +1,3 @@
1
1
  module Flipper
2
- VERSION = '0.26.0'.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.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: mongo
29
29
  requirement: !ruby/object:Gem::Requirement