henry-container 0.0.52 → 0.0.53

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ module Henry
3
3
  class Container
4
4
 
5
5
  # Current Gem version
6
- VERSION = '0.0.52'
6
+ VERSION = '0.0.53'
7
7
 
8
8
  end
9
9
 
@@ -1,5 +1,6 @@
1
1
  require 'drb/drb'
2
2
  require 'json'
3
+ require 'colorize'
3
4
 
4
5
  require 'henry/input'
5
6
  require 'henry/logger'
data/lib/henry/input.rb CHANGED
@@ -41,7 +41,12 @@ module Henry
41
41
  #
42
42
  # @return [Input]
43
43
  def import!
44
- @params = JSON.parse(ENV[EXPORT_KEY])
44
+ if ENV[EXPORT_KEY]
45
+ @params = JSON.parse(ENV[EXPORT_KEY])
46
+ else
47
+ warn("Could not load the execution params.\nAre you running this Task via the henry-ruby-container? You should!".red)
48
+ end
49
+
45
50
  self
46
51
  end
47
52
 
data/lib/henry.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require 'date'
2
2
  require 'drb/drb'
3
+ require 'colorize'
3
4
 
4
5
  require_relative 'henry/task'
5
6
  require_relative 'henry/container'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: henry-container
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.52
4
+ version: 0.0.53
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-29 00:00:00.000000000 Z
12
+ date: 2012-08-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake