this_feature-adapters-split_io 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/lib/this_feature/adapters/memory.rb +2 -6
- data/lib/this_feature/version.rb +1 -1
- data/memory +0 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8d05d212af756f182cb55e12a78e7162ab898b76c644c636edec9de31a84085
|
4
|
+
data.tar.gz: b983d4888b04b0e141d69fce242fb9dd319b9ef803cee7859f21ab0c358e3d7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4cf17550df71ac72478db66067cce18bc78ca194331c8ea84b75eee92514248672d8b01e6616cf2336852ee044e08649825f54b250842422741a4b6711cfa3d8
|
7
|
+
data.tar.gz: 50975463a2b23642cc8bd2bba29f37e8662450d54a155c4f21ca8fe4b7f8f33a2daf944b16a8ade27165c31badb20fa6ea547030f0d77f02cd3f7ba0a73a061e
|
data/Gemfile.lock
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
this_feature (0.5.
|
5
|
-
this_feature-adapters-flipper (0.5.
|
4
|
+
this_feature (0.5.3)
|
5
|
+
this_feature-adapters-flipper (0.5.3)
|
6
6
|
flipper (~> 0.16)
|
7
7
|
flipper-active_record (~> 0.16)
|
8
8
|
this_feature
|
9
|
-
this_feature-adapters-split_io (0.5.
|
9
|
+
this_feature-adapters-split_io (0.5.3)
|
10
10
|
splitclient-rb
|
11
11
|
this_feature
|
12
12
|
|
@@ -15,7 +15,7 @@ class ThisFeature
|
|
15
15
|
end
|
16
16
|
|
17
17
|
def on?(flag_name, context: nil, data: {})
|
18
|
-
return unless present?(flag_name)
|
18
|
+
return false unless present?(flag_name)
|
19
19
|
|
20
20
|
flag_data = storage[flag_name]
|
21
21
|
|
@@ -28,11 +28,7 @@ class ThisFeature
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def off?(flag_name, context: nil, data: {})
|
31
|
-
|
32
|
-
|
33
|
-
return if on_result.nil?
|
34
|
-
|
35
|
-
!on_result
|
31
|
+
!on?(flag_name, context: context, data: data)
|
36
32
|
end
|
37
33
|
|
38
34
|
def on!(flag_name, context: nil, data: {})
|
data/lib/this_feature/version.rb
CHANGED
data/memory
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: this_feature-adapters-split_io
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Max Pleaner
|
8
8
|
- Matt Fong
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-10-
|
12
|
+
date: 2020-10-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: this_feature
|
@@ -73,7 +73,7 @@ homepage: http://hover.to
|
|
73
73
|
licenses:
|
74
74
|
- MIT
|
75
75
|
metadata: {}
|
76
|
-
post_install_message:
|
76
|
+
post_install_message:
|
77
77
|
rdoc_options: []
|
78
78
|
require_paths:
|
79
79
|
- lib
|
@@ -88,8 +88,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
requirements: []
|
91
|
-
rubygems_version: 3.
|
92
|
-
signing_key:
|
91
|
+
rubygems_version: 3.0.3
|
92
|
+
signing_key:
|
93
93
|
specification_version: 4
|
94
94
|
summary: "[summary]"
|
95
95
|
test_files: []
|