lib/teapot/build.rb in teapot-1.0.0.pre.rc4 vs lib/teapot/build.rb in teapot-1.0.0.pre.rc5

- old
+ new

@@ -109,10 +109,10 @@ def wet? @group && @node.requires_update? end def update(rule, arguments, &block) - arguments = rule.normalize(arguments) + arguments = rule.normalize(arguments, self) # A sub-graph for a particular build is isolated based on the task class used to instantiate it, so we use this as part of the key. child_node = @controller.nodes.fetch([self.class, rule.name, arguments]) do |key| @controller.nodes[key] = Node.new(@controller, rule, arguments, &block) end