togls 2.1.0 → 2.1.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
  SHA1:
3
- metadata.gz: f46ed25a5481c4fb307371d0b93605319bdcc96c
4
- data.tar.gz: 0aa81b472846597a2d5352b78be389238d4f39bb
3
+ metadata.gz: 1e26c25d5e392fcf0784759ef62cafe4716cdc85
4
+ data.tar.gz: 057ac20f307b93518808f3ecef8426fb33bbd428
5
5
  SHA512:
6
- metadata.gz: 70fa80929ecadda83f401a971a4751c51d10495ee9f0bc60232f6b9bdafeac853dc065c2195a353cf6ac93a3e5f2190d3c372471b58086a9488b05a370c9cb35
7
- data.tar.gz: e7f56d13e274a63d3038b221a09bc0accfaf5538474b5b424111739e6f6e62fa068fcd4828723494d708760188194d85e22ee5bc8efc6952d5ec19767b8631ea
6
+ metadata.gz: f9a733735c31d42f0dfd3e5c2f14fea0832b814111ba3d020678d6a6eace4c82128e720601dfc9da897ed9265ad7a22ee3817252154e1a6090db30522590b506
7
+ data.tar.gz: 554a8fc657ef91253afedec1793725c0c6a2b9f64388ae8686d8a54750d63f4987fa7f4448cf1b81f76dfb4ab1000feef0ae94f428a08c56841da092e13bbf4d
data/ChangeLog.md CHANGED
@@ -6,6 +6,11 @@ versions, as well as provide a rough history.
6
6
 
7
7
  #### Next Release
8
8
 
9
+ ### v2.1.1
10
+
11
+ * Fixed issue #21, env variable override wasn't falling through to in
12
+ code defined memory value.
13
+
9
14
  ### v2.1.0
10
15
 
11
16
  * Fixed #19, exceptions happened on evaluation after setting
@@ -9,9 +9,11 @@ module Togls
9
9
  if ENV[toggle_env_key(toggle_id)] == "true"
10
10
  return { "feature_id" => toggle_id,
11
11
  "rule_id" => Togls::Helpers.sha1(Togls::Rules::Boolean, true) }
12
- else
12
+ elsif ENV[toggle_env_key(toggle_id)] == "false"
13
13
  return { "feature_id" => toggle_id,
14
14
  "rule_id" => Togls::Helpers.sha1(Togls::Rules::Boolean, false) }
15
+ else
16
+ return nil
15
17
  end
16
18
  else
17
19
  return nil
data/lib/togls/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Togls
2
- VERSION = "2.1.0"
2
+ VERSION = "2.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: togls
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Miller
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2015-11-24 00:00:00.000000000 Z
13
+ date: 2015-12-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler