this_feature-adapters-flipper 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e4a26fde4d195b60dbd8eeb857a773257de6b5f8779347988035e74380e3e9b
4
- data.tar.gz: 3ded8c80f4d943b08c7b3a9f769caaa6bf53940acceb5fd519d049e67331c10d
3
+ metadata.gz: 59fad6c074fe4555362a332da9c2be41ee793da92a4c4d4b9569b5dcc02043df
4
+ data.tar.gz: d73ef69e4524b58b890db551f63caee673bb66b1e87aaef0f260951a1e7d0c1c
5
5
  SHA512:
6
- metadata.gz: aafaf413f0a4dd23db4fde7c982c2faa91fee7449763cbfb39ef9edef28e5737c8cb8e1f26ab340a369d4109faa71415449d5e172121e5465e3c7fcc067529f4
7
- data.tar.gz: 2cc0debacbf86eab5b03ef7bce12636f5d1bfb04f71f477c358ac256ba6ebefc75bae460b234eac9de43a2da25010c98c41b52464b5c7507e36a1787c816c878
6
+ metadata.gz: aaaa6a00c083509395ee5c21acfc6475cc3291273d41a3d3d16026c985680444e02ed3000a26232e3eebf577adb0a9a1ae01344ddf39fce5c7987130c7bce575
7
+ data.tar.gz: a8e3e946918977ae9c34af2233bd46efcab168f6e54381b5ceda0418f03044b01554cd378ad1a04ac303f1c9d812601eda662fd93e64cfc1aedcc1f7cd6febd1
data/Gemfile.lock CHANGED
@@ -1,32 +1,32 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- this_feature (0.6.0)
5
- this_feature-adapters-flipper (0.6.0)
4
+ this_feature (0.6.1)
5
+ this_feature-adapters-flipper (0.6.1)
6
6
  flipper (~> 0.16)
7
7
  flipper-active_record (~> 0.16)
8
8
  this_feature
9
- this_feature-adapters-split_io (0.6.0)
9
+ this_feature-adapters-split_io (0.6.1)
10
10
  splitclient-rb
11
11
  this_feature
12
12
 
13
13
  GEM
14
14
  remote: https://rubygems.org/
15
15
  specs:
16
- activemodel (6.0.3.2)
17
- activesupport (= 6.0.3.2)
18
- activerecord (6.0.3.2)
19
- activemodel (= 6.0.3.2)
20
- activesupport (= 6.0.3.2)
21
- activesupport (6.0.3.2)
16
+ activemodel (6.1.3)
17
+ activesupport (= 6.1.3)
18
+ activerecord (6.1.3)
19
+ activemodel (= 6.1.3)
20
+ activesupport (= 6.1.3)
21
+ activesupport (6.1.3)
22
22
  concurrent-ruby (~> 1.0, >= 1.0.2)
23
- i18n (>= 0.7, < 2)
24
- minitest (~> 5.1)
25
- tzinfo (~> 1.1)
26
- zeitwerk (~> 2.2, >= 2.2.2)
23
+ i18n (>= 1.6, < 2)
24
+ minitest (>= 5.1)
25
+ tzinfo (~> 2.0)
26
+ zeitwerk (~> 2.3)
27
27
  byebug (11.1.2)
28
28
  coderay (1.1.2)
29
- concurrent-ruby (1.1.6)
29
+ concurrent-ruby (1.1.8)
30
30
  connection_pool (2.2.3)
31
31
  database_cleaner (1.8.4)
32
32
  database_cleaner-active_record (1.8.0)
@@ -42,15 +42,15 @@ GEM
42
42
  flipper-active_record (0.20.3)
43
43
  activerecord (>= 5.0, < 7)
44
44
  flipper (~> 0.20.3)
45
- gem-release (2.1.1)
45
+ gem-release (2.2.1)
46
46
  hitimes (1.3.1)
47
- i18n (1.8.5)
47
+ i18n (1.8.9)
48
48
  concurrent-ruby (~> 1.0)
49
49
  json (2.5.1)
50
50
  jwt (2.2.2)
51
51
  lru_redux (1.1.0)
52
52
  method_source (1.0.0)
53
- minitest (5.14.1)
53
+ minitest (5.14.4)
54
54
  multipart-post (2.1.1)
55
55
  net-http-persistent (4.0.1)
56
56
  connection_pool (~> 2.2)
@@ -78,7 +78,7 @@ GEM
78
78
  ruby2_keywords (0.0.4)
79
79
  socketry (0.5.1)
80
80
  hitimes (~> 1.2)
81
- splitclient-rb (7.2.2)
81
+ splitclient-rb (7.2.3)
82
82
  concurrent-ruby (~> 1.0)
83
83
  faraday (>= 0.8)
84
84
  json (>= 1.8)
@@ -90,9 +90,9 @@ GEM
90
90
  thread_safe (>= 0.3)
91
91
  sqlite3 (1.4.2)
92
92
  thread_safe (0.3.6)
93
- tzinfo (1.2.7)
94
- thread_safe (~> 0.1)
95
- zeitwerk (2.4.0)
93
+ tzinfo (2.0.4)
94
+ concurrent-ruby (~> 1.0)
95
+ zeitwerk (2.4.2)
96
96
 
97
97
  PLATFORMS
98
98
  ruby
@@ -31,6 +31,10 @@ class ThisFeature
31
31
  !on?(flag_name, context: context, data: data)
32
32
  end
33
33
 
34
+ def control?(flag_name, **kwargs)
35
+ !present?(flag_name)
36
+ end
37
+
34
38
  def on!(flag_name, context: nil, data: {})
35
39
  storage[flag_name] ||= {}
36
40
 
@@ -1,3 +1,3 @@
1
1
  class ThisFeature
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
data/memory CHANGED
Binary file
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.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max Pleaner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-24 00:00:00.000000000 Z
11
+ date: 2021-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: this_feature
@@ -78,6 +78,7 @@ files:
78
78
  - lib/this_feature/flag.rb
79
79
  - lib/this_feature/version.rb
80
80
  - memory
81
+ - this_feature-0.6.0.gem
81
82
  - this_feature-adapters-flipper.gemspec
82
83
  - this_feature-adapters-split_io.gemspec
83
84
  - this_feature.gemspec