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 +4 -4
- data/ChangeLog.md +5 -0
- data/lib/togls/toggle_repository_drivers/env_override_driver.rb +3 -1
- data/lib/togls/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e26c25d5e392fcf0784759ef62cafe4716cdc85
|
4
|
+
data.tar.gz: 057ac20f307b93518808f3ecef8426fb33bbd428
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
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.
|
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-
|
13
|
+
date: 2015-12-14 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|