Skip to content

Commit

Permalink
Update to rubyzip 1.0.0 API
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakhellesoy committed Oct 12, 2013
1 parent f172c76 commit 2a516f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/ikvm.rake
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ namespace :ikvm do
mkdir_p File.dirname(pkg_dir) unless File.directory?(pkg_dir)
nuget("Pack #{GHERKIN_NUSPEC} -Version #{GHERKIN_VERSION} -OutputDirectory #{pkg_dir}")
# Now, verify that we have a proper dll inside the package
require 'zip/zipfilesystem'
Zip::ZipFile.open(GHERKIN_NUPKG) do |zipfile|
require 'zip'
Zip::File.open(GHERKIN_NUPKG) do |zipfile|
dll = zipfile.get_entry('lib/gherkin.dll')
if(dll.size < 3_000_000)
raise "Looks like the dll is too small."
Expand Down

0 comments on commit 2a516f3

Please sign in to comment.