diff --git a/Gemfile b/Gemfile index 51e46e8d9..bc7c54aa8 100644 --- a/Gemfile +++ b/Gemfile @@ -39,7 +39,7 @@ end group :lambda do gem 'aws-sdk', '>= 2.0.18.pre' - gem 'rubyzip' + gem 'rubyzip', '~> 1.1' end group :cloud_files do @@ -57,7 +57,7 @@ group :gcs do end group :elastic_beanstalk do - gem 'rubyzip' + gem 'rubyzip', '~> 1.1' gem 'aws-sdk-v1' end diff --git a/dpl.gemspec b/dpl.gemspec index e1f289098..f32bc82d1 100644 --- a/dpl.gemspec +++ b/dpl.gemspec @@ -20,6 +20,7 @@ Gem::Specification.new do |s| s.add_development_dependency 'rspec-its' s.add_development_dependency 'rake' s.add_development_dependency 'json', '1.8.1' + s.add_development_dependency 'json_pure' s.add_development_dependency 'coveralls' diff --git a/lib/dpl/provider.rb b/lib/dpl/provider.rb index aee24e8ff..8805ce031 100644 --- a/lib/dpl/provider.rb +++ b/lib/dpl/provider.rb @@ -1,6 +1,7 @@ require 'dpl/error' require 'dpl/version' require 'fileutils' +require 'json/pure' module DPL class Provider