currency_cloud.gemspec in currency_cloud-0.14.2 vs currency_cloud.gemspec in currency_cloud-0.15.8
- old
+ new
@@ -12,10 +12,15 @@
s.homepage = 'https://github.com/Currencycloud/currencycloud-ruby/'
s.licenses = ['MIT']
s.required_ruby_version = '>= 1.9'
s.add_dependency('httparty', '~> 0.14')
- s.add_dependency('json', '>= 1.8')
+ if RUBY_VERSION == '1.9.3'
+ s.add_dependency('json', '>= 1.8', '<= 2.2')
+ else
+ s.add_dependency('json', '>= 1.8')
+ end
+
s.add_development_dependency('addressable', '<= 2.4.0')
s.add_development_dependency('rake', '~> 10.3')
s.add_development_dependency('rspec', '~> 3.1')
s.add_development_dependency('vcr', '~> 3.0.3')