flipper-moneta 0.21.0.rc1 → 0.21.0.rc2

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: c33b2c2feeb43a0a2cc444f29ff7fcc07cc4034dafec8fbbeb57be8cc6db06c0
4
- data.tar.gz: 9586fd91707f68ecdc06caabdc8f170f006108d619792afdc7bbfc30f30c3254
3
+ metadata.gz: a660f93f918f71f6d641753a1a2b33d6567b4021c3f1a769685bfa1c11bf90b7
4
+ data.tar.gz: 3da22f361a1d3895147212e61331f53f1be01d6e69730d471a9e7ff348103999
5
5
  SHA512:
6
- metadata.gz: ed5d553f3f22e4d243debd5234d356441e2e1622f063b0bcc7dc9cd99a8b9bf5f131bd24786362a3de06de91578e7650e6fe79d4c820a56d292cc6958eeaf0d4
7
- data.tar.gz: 527cf96004fa95d0dc798e44a5fc979ca1b49212e710c5ae8913b4596ecb2b8968296f7b9cc5e1b25517d0631bffeab83c6018b5bcc6bbbabd68995348ce8846
6
+ metadata.gz: ea544bfccef66258e57e3368f1dbeeceea62e5697854de02090023103091676405e97b3b2418fe57ec748d1e0aadbc787f5a6cedd7ed8696513827543dc835a1
7
+ data.tar.gz: bcddd79102fabebd112a2ba689bca7c928f253561f5d3d95de9a402cdf06786e1fbe6de5850d303fed5aa6a3a98c32689c255a66eb609bf0715fc5cb0271c05b
@@ -21,12 +21,9 @@ Or install it yourself with:
21
21
  ```ruby
22
22
  require 'flipper/adapters/moneta'
23
23
  moneta = Moneta.new(:Memory)
24
- adapter = Flipper::Adapters::Moneta.new(moneta)
25
24
 
26
25
  Flipper.configure do |config|
27
- config.default do
28
- Flipper.new(adapter)
29
- end
26
+ config.adapter { Flipper::Adapters::Moneta.new(moneta) }
30
27
  end
31
28
  ```
32
29
 
@@ -37,12 +34,9 @@ Each feature is stored as a key namespaced by `flipper_features`.
37
34
  ```ruby
38
35
  require 'flipper/adapters/moneta'
39
36
  moneta = Moneta.new(:Memory)
40
- adapter = Flipper::Adapters::Moneta.new(moneta)
41
37
 
42
38
  Flipper.configure do |config|
43
- config.default do
44
- Flipper.new(adapter)
45
- end
39
+ config.adapter { Flipper::Adapters::Moneta.new(moneta) }
46
40
  end
47
41
 
48
42
  # Register a few groups.
@@ -1,3 +1,3 @@
1
1
  module Flipper
2
- VERSION = '0.21.0.rc1'.freeze
2
+ VERSION = '0.21.0.rc2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flipper-moneta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0.rc1
4
+ version: 0.21.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Nunemaker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-01 00:00:00.000000000 Z
11
+ date: 2021-05-08 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.21.0.rc1
19
+ version: 0.21.0.rc2
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.21.0.rc1
26
+ version: 0.21.0.rc2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: moneta
29
29
  requirement: !ruby/object:Gem::Requirement