lib/mothership/inputs.rb in mothership-0.5.0 vs lib/mothership/inputs.rb in mothership-0.5.1

- old
+ new

@@ -30,18 +30,18 @@ def merge(inputs) self.class.new(@command, @context, @inputs.merge(inputs), @given, @global) end def merge_given(given) - self.class.new(@command, @context, @inputs, @given.merge(given), @global) + self.class.new(@command, @context, @inputs.dup, @given.merge(given), @global) end def rebase(inputs) self.class.new(@command, @context, inputs.merge(@inputs), @given, @global) end def rebase_given(given) - self.class.new(@command, @context, @inputs, given.merge(@given), @global) + self.class.new(@command, @context, @inputs.dup, given.merge(@given), @global) end def without(*names) given = @given.dup inputs = @inputs.dup