makitoo-feature_flag 0.1.1 → 0.1.2

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
  SHA1:
3
- metadata.gz: 29f3b2950641e8603452d8ecca909720bb50ea73
4
- data.tar.gz: ef7646b37c1436061889e593acbf61d921362e5a
3
+ metadata.gz: a0f67e15a439278d3ad0b848f617a2cd9834bb29
4
+ data.tar.gz: 64c36b6c0c47fc7308f0c0f6b547c5222782525e
5
5
  SHA512:
6
- metadata.gz: 0cfdffdf377b40f8cbdefd948b96d45899afe432bcc9a582865156d99d494f01f8e4d482d9b062125a26300542728509eb4b05c05e1d250ebc8d583242125214
7
- data.tar.gz: f1a633194982bcbd175e5433e39662681bc42570becbdc414c79a9504f1a667a61fd5b6a1b738b620cab4b6f58aa7236ed05a63ee484fbc5e5457ef9b70dd3fc
6
+ metadata.gz: b747c62af740fd105f72a569d82a96dc2a1d3ebb9dd4c5287b9f094eb5968f10a2f56599b3b93c461390b58ef4a1e87188571c0c76e47abe36ac0ad84915c93d
7
+ data.tar.gz: 98da9024bd64b69ac977fedec04777a00059648d40ebc7e1b3edec4e85c73ac55dbc97afe5e31a237059283a0a31b5d46502303fcb27f027a6ff034ee2588702
@@ -1,5 +1,5 @@
1
1
  module Makitoo
2
2
  module FeatureFlag
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
@@ -55,7 +55,7 @@ module Makitoo
55
55
  end
56
56
  end
57
57
 
58
- def is_active(feature_name, installation_id, default_state)
58
+ def is_active(feature_name, installation_id, default_state = false)
59
59
  feature_configuration = get_feature_configuration(feature_name, installation_id)
60
60
  is_visible = if feature_configuration.nil?
61
61
  default_state
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: makitoo-feature_flag
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Makitoo