flipper-mongo 0.22.1 → 0.22.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/mongo/README.md +11 -1
- 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: 54281ecfd2133869dc9e3101dace69dba44414a076c89cef28f9deb42d6b716e
|
4
|
+
data.tar.gz: c7f688c3fbd650129ee2bcae0cc73e7f48b5d2fe12d23aca50cce0f01af05452
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71a103069685afc72c684433d09430fee52c2ea0a21726a06e4c0615c6071ecfb53483831588a10653898d4f33d9584f58d89a77484a328682c0779234477f3f
|
7
|
+
data.tar.gz: 47883b86b7b38f92deb4986b8006e726203427b94371761f3ef2541067895ae30a33fd6ceec9d212c4b0d072217fcaa1382c2951142e504187c09422b897804a
|
data/docs/mongo/README.md
CHANGED
@@ -24,7 +24,17 @@ In most cases, all you need to do is require the adapter. You must set the `MONG
|
|
24
24
|
require 'flipper-mongo`
|
25
25
|
```
|
26
26
|
|
27
|
-
**If you
|
27
|
+
**If you're using Mongoid**, you can add this to an initializer:
|
28
|
+
|
29
|
+
```ruby
|
30
|
+
Flipper.configure do |config|
|
31
|
+
config.adapter do
|
32
|
+
Flipper::Adapters::Mongo.new(Mongoid.default_client['flipper'])
|
33
|
+
end
|
34
|
+
end
|
35
|
+
```
|
36
|
+
|
37
|
+
Or **if you need to customize the adapter** in any other way, you can add this to an initializer:
|
28
38
|
|
29
39
|
```ruby
|
30
40
|
Flipper.configure do |config|
|
data/lib/flipper/version.rb
CHANGED
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.22.
|
4
|
+
version: 0.22.2
|
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-
|
11
|
+
date: 2021-10-06 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.22.
|
19
|
+
version: 0.22.2
|
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.22.
|
26
|
+
version: 0.22.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: mongo
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|