henry-container 0.0.64 → 0.0.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ module Henry
3
3
  class Container
4
4
 
5
5
  # Current Gem version
6
- VERSION = '0.0.64'
6
+ VERSION = '0.0.65'
7
7
 
8
8
  end
9
9
 
@@ -23,15 +23,15 @@ module Henry
23
23
  self.before_execution
24
24
 
25
25
  self.tasks.select {|task| task.enabled?}.each do |task|
26
+ task.configure({},self.task_extended_context(task.name))
26
27
  self.task_params(task.name).each do |task_params|
27
- task.configure(task_params, self.task_extended_context(task.name))
28
+ task.export_params(task_params)
28
29
  task.before_execute
29
30
  task.execute
30
31
  task.after_execute
31
32
  self.tasks_results << task.report
32
33
  end
33
34
  end
34
-
35
35
  self.update_results
36
36
 
37
37
  self.dump_results
@@ -20,7 +20,10 @@ module Henry
20
20
  # Executes the Task and returns its results.
21
21
  def execute
22
22
  begin
23
- Rake.application[self.application_name].clone.invoke
23
+ unless Rake.application[self.application_name].invoke
24
+ Rake.application[self.application_name].reenable
25
+ Rake.application[self.application_name].invoke
26
+ end
24
27
 
25
28
  self.execution.code = 'OK'
26
29
  self.execution.message = 'OK'
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.64
4
+ version: 0.0.65
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: