lib/rake/funnel/tasks/zip.rb in rake-funnel-0.0.6.pre vs lib/rake/funnel/tasks/zip.rb in rake-funnel-0.1.0.pre

- old
+ new

@@ -2,10 +2,12 @@ require 'rake/tasklib' require 'zip' module Rake::Funnel::Tasks class Zip < Rake::TaskLib + include Rake::Funnel::Support + attr_accessor :name, :source, :target, :zip_root def initialize(name = :package) @name = name @@ -36,10 +38,10 @@ self end def files - Rake::Funnel::Support::Finder.new(source, self, 'No files to zip.').all_or_default + Finder.new(source, self, 'No files to zip.').all_or_default end def configure_zip ::Zip.unicode_names = true ::Zip.default_compression = Zlib::BEST_COMPRESSION