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 +4 -4
- data/docs/moneta/README.md +2 -8
- data/lib/flipper/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a660f93f918f71f6d641753a1a2b33d6567b4021c3f1a769685bfa1c11bf90b7
|
4
|
+
data.tar.gz: 3da22f361a1d3895147212e61331f53f1be01d6e69730d471a9e7ff348103999
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea544bfccef66258e57e3368f1dbeeceea62e5697854de02090023103091676405e97b3b2418fe57ec748d1e0aadbc787f5a6cedd7ed8696513827543dc835a1
|
7
|
+
data.tar.gz: bcddd79102fabebd112a2ba689bca7c928f253561f5d3d95de9a402cdf06786e1fbe6de5850d303fed5aa6a3a98c32689c255a66eb609bf0715fc5cb0271c05b
|
data/docs/moneta/README.md
CHANGED
@@ -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.
|
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.
|
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.
|
data/lib/flipper/version.rb
CHANGED
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.
|
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-
|
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.
|
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.
|
26
|
+
version: 0.21.0.rc2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: moneta
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|