this_feature 0.4.0 → 0.4.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac249d0e2b607a1e24264851a2429160e9002634da26cb409f6d9b903e6a6157
4
- data.tar.gz: 96464767635651ed17b057629e7bcdf2abd5dd6fc82fac20bfec75248d93fe55
3
+ metadata.gz: f69a83d19ed42befdb2abdbe4a542833fad7e62b37c1c16c826ef871f0aa3dca
4
+ data.tar.gz: a80ff29b42c28e27b2452e9d60eb94902f909727e1f8bf5ae0c8112769603555
5
5
  SHA512:
6
- metadata.gz: f8725be53adf91f813519ac778a9e3558c5981d9a5908fc94578508b9f1baa2a607f9d47e4015159726dc18c4670b9f14f87ea844923936ce0f2bf7b114ef110
7
- data.tar.gz: b3ced52a1340ddc0c8664d92300ca2c13154a75a5e7d1a5767e7fe4f6f1549bc8a8fcd107289252a5e6a25f915df5cf31a2b40f926ae791b608891afaf853b67
6
+ metadata.gz: 33b9d2e59e211beace101e209a49945df56c2ea9598abd27b2057b3de6564fc8ea9d678f3d2917d94be0ef8116660e4755743b47cbaac10c850f5572d38a87bd
7
+ data.tar.gz: b1209bc12a43b39651e8cd3f73ec0132cfa3a3c8c6e08d5c4e235f6b14a593cf8c7fd642b3f4da01c882a1210f6c523f06891079f01055e59c4864062c127051
@@ -1,12 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- this_feature (0.4.0)
5
- this_feature-adapters-flipper (0.4.0)
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.0)
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.1)
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).eql?('control_treatment')
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: {})
@@ -1,3 +1,3 @@
1
1
  class ThisFeature
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
@@ -1,7 +1,5 @@
1
- # encoding: utf-8
2
-
3
- $:.unshift File.expand_path('../lib', __FILE__)
4
-
1
+ lib = File.expand_path("lib", __dir__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
3
  require "this_feature/version"
6
4
 
7
5
  Gem::Specification.new do |spec|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: this_feature
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max Pleaner