diff --git a/fog-aws.gemspec b/fog-aws.gemspec index ed1aa26c5..9c278d29d 100644 --- a/fog-aws.gemspec +++ b/fog-aws.gemspec @@ -24,7 +24,7 @@ Gem::Specification.new do |spec| spec.add_development_dependency 'bundler', '~> 1.15' spec.add_development_dependency 'rake', '~> 10.0' spec.add_development_dependency 'shindo', '~> 0.3' - spec.add_development_dependency 'rubyzip', '~> 0.9.9' + spec.add_development_dependency 'rubyzip', '~> 1.2.1' spec.add_dependency 'fog-core', '~> 1.38' spec.add_dependency 'fog-json', '~> 1.0' diff --git a/tests/requests/lambda/helper.rb b/tests/requests/lambda/helper.rb index 3b0dfc93f..733714c45 100644 --- a/tests/requests/lambda/helper.rb +++ b/tests/requests/lambda/helper.rb @@ -1,7 +1,7 @@ class AWS class Lambda module Formats - require 'zip/zip' + require 'zip' GET_FUNCTION_CONFIGURATION = { 'CodeSize' => Integer, @@ -65,7 +65,7 @@ class AWS DELETE_EVENT_SOURCE_MAPPING = GET_EVENT_SOURCE_MAPPING def self.zip(data, filename='index.js') - data_io = Zip::ZipOutputStream.write_buffer do |zio| + data_io = Zip::OutputStream.write_buffer do |zio| zio.put_next_entry(filename) zio.write(data) end