henry-container 0.1.78 → 0.1.79

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: 7383ff0e8c47d02e9e193fe9679930bafdb7defc
4
- data.tar.gz: ee3b19d1c4b90acbfa13fdbe7df603f554041d92
3
+ metadata.gz: 613cc056db9d24ebbf27615eb27943b0c855b76e
4
+ data.tar.gz: 57010aee2a6b9321d95c105709d994cb6a007919
5
5
  SHA512:
6
- metadata.gz: 27156c202a9a5323d4a5a451cd4a56abc9aebfef875477845b085f9f8f27372e2663a4a5c5867ad6c2564e0b111ba3f67514be7fc2f362473e721dacd26ed52b
7
- data.tar.gz: 32c7bd92cc27a53f16f0ad0ab97c0db84d86563c0b51a4a79d6ec9c1ad1fb0ded7f970e253dd48d9cd9eb5f159f8c4099707e0dc5e530e5ca9a45176a16c0f5d
6
+ metadata.gz: 8d6510a180391583499695f470a3ab4b0ffd342aab669bd8513a0c5fa8078555e7a49bf186803a6f16fffa104030b9ef7eebd6d26fec017a438056f89b78cc54
7
+ data.tar.gz: ccfbdb61ee1fcae403a5fdccc95a12e7f4d60166c3e87af5e8b9aa2444400092b70738f9331a69620ebe7df58dd8512db2d094ffab4b8e54ade55c7413f62974
@@ -3,7 +3,7 @@ module Henry
3
3
  class Container
4
4
 
5
5
  # Current Gem version
6
- VERSION = ENV['gem_version'] || '0.1.78'
6
+ VERSION = ENV['gem_version'] || '0.1.79'
7
7
 
8
8
  end
9
9
 
data/lib/henry/task.rb CHANGED
@@ -29,6 +29,8 @@ module Henry
29
29
 
30
30
  # Code to be run just before the execution
31
31
  def before_execute
32
+ self.execution = nil
33
+ self.execution.task_name = self.name
32
34
  LoggerService.start(self.logger)
33
35
  ExecutionService.start(self.execution)
34
36
  end
@@ -66,6 +68,13 @@ module Henry
66
68
  def execution
67
69
  @execution ||= Execution.new
68
70
  end
71
+
72
+ # Sets the Task Execution.
73
+ #
74
+ # @return [Execution]
75
+ def execution=(value)
76
+ @execution = value
77
+ end
69
78
 
70
79
  # Returns the Task Logger.
71
80
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: henry-container
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.78
4
+ version: 0.1.79
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Decurnex
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-29 00:00:00.000000000 Z
11
+ date: 2014-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake