this_feature 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/lib/this_feature/adapters/split_io.rb +1 -1
- data/lib/this_feature/version.rb +1 -1
- data/this_feature.gemspec +2 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f69a83d19ed42befdb2abdbe4a542833fad7e62b37c1c16c826ef871f0aa3dca
|
4
|
+
data.tar.gz: a80ff29b42c28e27b2452e9d60eb94902f909727e1f8bf5ae0c8112769603555
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33b9d2e59e211beace101e209a49945df56c2ea9598abd27b2057b3de6564fc8ea9d678f3d2917d94be0ef8116660e4755743b47cbaac10c850f5572d38a87bd
|
7
|
+
data.tar.gz: b1209bc12a43b39651e8cd3f73ec0132cfa3a3c8c6e08d5c4e235f6b14a593cf8c7fd642b3f4da01c882a1210f6c523f06891079f01055e59c4864062c127051
|
data/Gemfile.lock
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
this_feature (0.4.
|
5
|
-
this_feature-adapters-flipper (0.4.
|
4
|
+
this_feature (0.4.1)
|
5
|
+
this_feature-adapters-flipper (0.4.1)
|
6
6
|
flipper (~> 0.16)
|
7
7
|
flipper-active_record (~> 0.16)
|
8
8
|
this_feature
|
9
|
-
this_feature-adapters-split_io (0.4.
|
9
|
+
this_feature-adapters-split_io (0.4.1)
|
10
10
|
splitclient-rb
|
11
11
|
this_feature
|
12
12
|
|
@@ -58,7 +58,7 @@ GEM
|
|
58
58
|
byebug (~> 11.0)
|
59
59
|
pry (~> 0.13.0)
|
60
60
|
rake (13.0.1)
|
61
|
-
redis (4.2.
|
61
|
+
redis (4.2.2)
|
62
62
|
rspec (3.9.0)
|
63
63
|
rspec-core (~> 3.9.0)
|
64
64
|
rspec-expectations (~> 3.9.0)
|
@@ -17,7 +17,7 @@ class ThisFeature
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def control?(flag_name, context: UNDEFINED_KEY, data: {})
|
20
|
-
treatment(flag_name, context: context, data: data).
|
20
|
+
treatment(flag_name, context: context, data: data).include?('control')
|
21
21
|
end
|
22
22
|
|
23
23
|
def on?(flag_name, context: UNDEFINED_KEY, data: {})
|
data/lib/this_feature/version.rb
CHANGED
data/this_feature.gemspec
CHANGED