this_feature-adapters-flipper 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: 3710e3b7ca63182b688e5d869aae0da012e0a7cc62cca117f5eb88e5886298fe
|
4
|
+
data.tar.gz: 0b4ececf219ab511b50853856d1e62f010419f1aacbc9b50a3bd00bc3f4d706f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56a00ef7e2cd7dfbf95c71f89776145e22001aaf9a43bf04c4f7c22ade02920d14f6face379ee29e4d3ab92bea61854d096ff94591cc60d679ac12cbf9e290e6
|
7
|
+
data.tar.gz: a6250717cde602636be9bdbc5687a71e96633490781008561ee6def906d7b01d0a9d17cb4eff8b37f7a6002538085311889ad7a1d2e9e8c7cc169c045576bb82
|
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,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: this_feature-adapters-flipper
|
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
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10-
|
11
|
+
date: 2020-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: this_feature
|
@@ -85,7 +85,7 @@ homepage: http://hover.to
|
|
85
85
|
licenses:
|
86
86
|
- MIT
|
87
87
|
metadata: {}
|
88
|
-
post_install_message:
|
88
|
+
post_install_message:
|
89
89
|
rdoc_options: []
|
90
90
|
require_paths:
|
91
91
|
- lib
|
@@ -100,8 +100,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
100
|
- !ruby/object:Gem::Version
|
101
101
|
version: '0'
|
102
102
|
requirements: []
|
103
|
-
rubygems_version: 3.
|
104
|
-
signing_key:
|
103
|
+
rubygems_version: 3.0.3
|
104
|
+
signing_key:
|
105
105
|
specification_version: 4
|
106
106
|
summary: "[summary]"
|
107
107
|
test_files: []
|