rakefile.rb in watir-1.6.6 vs rakefile.rb in watir-1.6.7.rc1

- old
+ new

@@ -42,35 +42,5 @@ end else puts 'Warning: without Rubygems packaging tasks are not available' end - -desc "Create the bonus files zip" -task :bonus_zip => [:rdoc] do - - begin - gem 'rubyzip' - require 'zip/zip' - rescue LoadError - puts "rubyzip needs to be installed: gem install rubyzip." - raise - end - - version = File.read("VERSION").strip rescue "0.0.0" - bonus_zip = "pkg/watir-bonus-#{version}.zip" - - if File.exist?(bonus_zip) - File.delete(bonus_zip) - end - if !File.directory?("pkg") - Dir.mkdir("pkg") - end - Zip::ZipFile::open(bonus_zip, true) do |zf| - Dir['{doc,rdoc,examples,unittests}/**/*'].each { |f| zf.add(f, f) } - end - - puts " Successfully built BonusZip" - puts " File: #{bonus_zip}" - -end -