lib/tasks/zip.rb in buildr-0.20.0 vs lib/tasks/zip.rb in buildr-0.21.0
- old
+ new
@@ -310,10 +310,10 @@
# Used by with method to set specific options. For example:
# package(:jar).with(:manifest=>"MANIFEST_MF")
# Or:
# package(:jar)[:manifest] = "MANIFEST_MF"
def []=(key, value)
- fail "#{self.class} does not support the attribute #{key}"
+ raise ArgumentError, "#{self.class} does not support the option #{key}"
end
def prerequisites() #:nodoc:
super + @paths.collect { |name, path| path.sources }.flatten.each { |src| file(src) }
end