henry-container 0.1.46 → 0.1.47
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/henry/container/version.rb +1 -1
- data/lib/henry/input.rb +3 -3
- 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: 64af9d24256c3caf3f262d01a989eb378044d86a
|
4
|
+
data.tar.gz: 74de3a8def5d09d19a5c8e7094dcff33a2011c26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2f02b2becb3cd4cedcdc9d6732d1c428235dea8e09f9b541f0198927b839792b467ce5f6aefcda4611ff7372cc5a806b4c78d2962d0fe6f6a2a91035496c8bf
|
7
|
+
data.tar.gz: d11d209a0af3a881b0f0d3d51a4d981e7fab7bfc5a1cefbaa247eea271b19cd21e406631e25a50488daaeb78e07c7037ea5bd26c01e81d01b988ad9df3b14a9b
|
data/lib/henry/input.rb
CHANGED
@@ -35,7 +35,7 @@ module Henry
|
|
35
35
|
#
|
36
36
|
# @return [Input]
|
37
37
|
def export!
|
38
|
-
ENV[self.export_key] = JSON.dump(@params)
|
38
|
+
ENV[self.class.export_key] = JSON.dump(@params)
|
39
39
|
self
|
40
40
|
end
|
41
41
|
|
@@ -50,8 +50,8 @@ module Henry
|
|
50
50
|
#
|
51
51
|
# @return [Input]
|
52
52
|
def import!
|
53
|
-
if ENV[self.export_key]
|
54
|
-
@params = JSON.parse(ENV[self.export_key])
|
53
|
+
if ENV[self.class.export_key]
|
54
|
+
@params = JSON.parse(ENV[self.class.export_key])
|
55
55
|
else
|
56
56
|
warn("Could not load the execution params.\nAre you running this Task via the henry-ruby-container? You should!".red)
|
57
57
|
end
|