lib/sprout/executable/base.rb in sprout-1.1.11.pre vs lib/sprout/executable/base.rb in sprout-1.1.13.pre

- old
+ new

@@ -80,14 +80,11 @@ end private def accessor_can_be_defined_at name - if(instance_defines? name) - message = "add_param called with a name that is already in use (#{name}=) on (#{self})" - raise Sprout::Errors::DuplicateMemberError.new(message) - end + true end def create_param_accessors options name = options[:name] real_name = options[:real_name] || name @@ -416,10 +413,10 @@ # for executables that do not result in the creation of # a file. # # @see update_rake_task_name_from_args def create_outer_task *args - file *args do + Rake::FileTask.define_task(*args) do execute end end ##