Skip to content

Commit

Permalink
Rolling back to rubyzip 0.9.9
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfish committed Nov 8, 2013
1 parent 97e6f60 commit 503f682
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ group :test do
gem "CFPropertyList"
gem "redcarpet"
gem "activesupport"
gem "rubyzip", "~> 1.1.0"
gem "rubyzip", "~> 0.9.9"
end

gem 'coveralls', require: false
4 changes: 2 additions & 2 deletions lib/yolo/tools/github.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require "zip"
require "zip/zip"
require "net/http"
require "uri"
require 'json'
Expand Down Expand Up @@ -117,7 +117,7 @@ def zip_bundle(bundle)
archive = File.join(bundle,File.basename(bundle))+'.zip'
FileUtils.rm archive, :force=>true

Zip::File.open(archive, 'w') do |zipfile|
Zip::ZipFile.open(archive, 'w') do |zipfile|
Dir["#{bundle}/**/**"].reject{|f|f==archive}.each do |file|
zipfile.add(file.sub(bundle+'/',''),file)
end
Expand Down
2 changes: 1 addition & 1 deletion yolo.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ Gem::Specification.new do |s|
s.add_runtime_dependency "ocunit2junit", ["= 1.2"]
s.add_runtime_dependency "calabash-cucumber"
s.add_runtime_dependency "redcarpet"
s.add_runtime_dependency "rubyzip", [">= 1.0.0"]
s.add_runtime_dependency "rubyzip", ["~> 0.9.9"]
end

0 comments on commit 503f682

Please sign in to comment.