lib/tasks/zip.rb in buildr-1.1.2 vs lib/tasks/zip.rb in buildr-1.1.3

- old
+ new

@@ -459,14 +459,14 @@ # Allows you to unzip from a path. Returns an object you can use to # specify which files to include/exclude relative to that path. # Expands the file relative to that path. # # For example: - # unzip("test.jar").into(Dir.pwd).from_path("etc").include("LICENSE") + # unzip(Dir.pwd=>"test.jar").from_path("etc").include("LICENSE") # will unzip etc/LICENSE into ./LICENSE. # # This is different from: - # unzip("test.jar").into(Dir.pwd).include("etc/LICENSE") + # unzip(Dir.pwd=>"test.jar").include("etc/LICENSE") # which unzips etc/LICENSE into ./etc/LICENSE. def from_path(name) @paths[name] ||= FromPath.new(name) end