henry-container 0.0.54 → 0.0.55

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.54'
6
+ VERSION = '0.0.55'
7
7
 
8
8
  end
9
9
 
@@ -133,8 +133,9 @@ module Henry
133
133
  # Retrun the custom extended_context fo the given task.
134
134
  # @note default_extended_context will be used for undefined keys.
135
135
  #
136
+ # @param [String] task_name the target Task name.
136
137
  # @return [Hash] the Task custom extended context.
137
- def extended_context
138
+ def extended_context(task_name)
138
139
  (self.params[task_name] || {})['extended_context']
139
140
  end
140
141
 
@@ -143,8 +144,8 @@ module Henry
143
144
  #
144
145
  # @param [String] task_name the target Task name.
145
146
  # @return [Hash] the Task custom execution_context.
146
- def task_extended_context
147
- self.default_extended_context.merge(self.extended_context[task_name] || {})
147
+ def task_extended_context(task_name)
148
+ self.default_extended_context.merge(self.extended_context(task_name) || {})
148
149
  end
149
150
 
150
151
 
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.54
4
+ version: 0.0.55
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: