flipper 0.6.2 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +2 -0
- data/lib/flipper/adapters/memory.rb +1 -0
- data/lib/flipper/instrumentation/log_subscriber.rb +4 -0
- data/lib/flipper/spec/shared_adapter_specs.rb +2 -2
- data/lib/flipper/version.rb +1 -1
- data/spec/integration_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e34faac8f845079716a91656c21c42152e6fca2f
|
4
|
+
data.tar.gz: 6520f47773e83622cc34a6c1fa00f7a5909626e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7b87ac273822f26046f712bb745869677e9a92039a14f17fc3457743c963e4359b8439c0196654f6ab2f26be2ae78a062e62e80f1f92661a24b875e90ec9a1c
|
7
|
+
data.tar.gz: f79a13fd623d67a12f17a90da97143df4152bbf87ff76c5556439d02f0a62d6c8993dbd6d1850f4267c37a1b29708a204343840b43d5904e1f5b1b06cabe08db
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -186,6 +186,8 @@ I plan on supporting [in-memory](https://github.com/jnunemaker/flipper/blob/mast
|
|
186
186
|
* [mongo adapter](https://github.com/jnunemaker/flipper-mongo)
|
187
187
|
* [redis adapter](https://github.com/jnunemaker/flipper-redis)
|
188
188
|
* [cassanity adapter](https://github.com/jnunemaker/flipper-cassanity)
|
189
|
+
* [activerecord 4 adapter](https://github.com/bgentry/flipper-activerecord)
|
190
|
+
* [activerecord 3 adapter](https://github.com/jproudman/flipper-activerecord)
|
189
191
|
|
190
192
|
The basic API for an adapter is this:
|
191
193
|
|
@@ -204,7 +204,7 @@ shared_examples_for 'a flipper adapter' do
|
|
204
204
|
subject.enable(feature, actors_gate, flipper.actors(25)).should eq(true)
|
205
205
|
subject.enable(feature, random_gate, flipper.random(45)).should eq(true)
|
206
206
|
|
207
|
-
subject.clear(feature).
|
207
|
+
subject.clear(feature).should eq(true)
|
208
208
|
|
209
209
|
subject.get(feature).should eq({
|
210
210
|
:boolean => nil,
|
@@ -216,6 +216,6 @@ shared_examples_for 'a flipper adapter' do
|
|
216
216
|
end
|
217
217
|
|
218
218
|
it "does not complain clearing a feature that does not exist in adapter" do
|
219
|
-
subject.clear(flipper[:stats]).
|
219
|
+
subject.clear(flipper[:stats]).should eq(true)
|
220
220
|
end
|
221
221
|
end
|
data/lib/flipper/version.rb
CHANGED
data/spec/integration_spec.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flipper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Nunemaker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Feature flipper for any adapter
|
14
14
|
email:
|