hyperloop-config 0.9.6 → 0.9.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/hyperloop-config.gemspec +1 -1
- data/lib/hyperloop/context.rb +0 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c41197bc6c05a542ac1a8391163396b9a984685
|
4
|
+
data.tar.gz: ea192d13f4b1cf7d12cf4c649d2d33c5d2eda624
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 216ce489e927e8a361526e1f62cca7fb974ae71901a98fd0f39154a5ef9862dae74fd0c5c400a40dd5d02a16baafb3aad701c3126a9e9a62868f769977014117
|
7
|
+
data.tar.gz: 4033e9734d79d0741ee381c4a08dd7a575603c4a4c0810003607ca9f3ef2f5316db5f26154300b912021212f2960b3f28c0d52976a28f86c1d9f979f8e95f854
|
data/hyperloop-config.gemspec
CHANGED
data/lib/hyperloop/context.rb
CHANGED
@@ -12,7 +12,6 @@ module Hyperloop
|
|
12
12
|
# If you want to record the current value of the instance variable then set
|
13
13
|
# force to true.
|
14
14
|
def self.set_var(ctx, var, force: nil)
|
15
|
-
puts "calling set_var(#{var})"
|
16
15
|
inst_value_b4 = ctx.instance_variable_get(var)
|
17
16
|
if @context && !@context[ctx].key?(var) && (force || !inst_value_b4)
|
18
17
|
@context[ctx][var] = (inst_value_b4 && inst_value_b4.dup)
|