ably-rest.gemspec in ably-rest-0.8.9 vs ably-rest.gemspec in ably-rest-0.8.13
- old
+ new
@@ -30,11 +30,15 @@
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
spec.add_runtime_dependency 'faraday', '~> 0.9'
- spec.add_runtime_dependency 'json'
+ if RUBY_VERSION.match(/^1/)
+ spec.add_runtime_dependency 'json', '< 2.0'
+ else
+ spec.add_runtime_dependency 'json'
+ end
spec.add_runtime_dependency 'msgpack', '>= 0.6.2'
spec.add_runtime_dependency 'addressable', '>= 2.0.0'
spec.add_development_dependency 'bundler', '~> 1.3'
spec.add_development_dependency 'rake'
@@ -42,10 +46,10 @@
spec.add_development_dependency 'rspec', '~> 3.2.0'
spec.add_development_dependency 'rspec-retry'
spec.add_development_dependency 'yard'
spec.add_development_dependency 'webmock'
- if RUBY_VERSION.match(/^2/)
+ unless RUBY_VERSION.match(/^1/)
spec.add_development_dependency 'pry'
spec.add_development_dependency 'pry-byebug'
end
end