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 +4 -4
- data/lib/henry/container/version.rb +1 -1
- data/lib/henry/task.rb +9 -0
- 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: 613cc056db9d24ebbf27615eb27943b0c855b76e
|
4
|
+
data.tar.gz: 57010aee2a6b9321d95c105709d994cb6a007919
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d6510a180391583499695f470a3ab4b0ffd342aab669bd8513a0c5fa8078555e7a49bf186803a6f16fffa104030b9ef7eebd6d26fec017a438056f89b78cc54
|
7
|
+
data.tar.gz: ccfbdb61ee1fcae403a5fdccc95a12e7f4d60166c3e87af5e8b9aa2444400092b70738f9331a69620ebe7df58dd8512db2d094ffab4b8e54ade55c7413f62974
|
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.
|
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-
|
11
|
+
date: 2014-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|