finix.gemspec in finix-0.16 vs finix.gemspec in finix-1.0.0
- old
+ new
@@ -3,11 +3,11 @@
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'finix/version'
Gem::Specification.new do |spec|
spec.name = 'finix'
- spec.required_ruby_version = '>= 1.9'
+ spec.required_ruby_version = '>= 2.0'
spec.version = Finix::VERSION
spec.authors = ['finix-payments']
spec.email = ['support@finixpayments.com']
spec.summary = %q{Finix Ruby Client}
@@ -20,17 +20,8 @@
end
spec.bindir = 'bin'
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
- spec.add_dependency('faraday', '~> 0.10.0')
- spec.add_dependency('faraday_middleware', '~> 0.10.1')
-
- if RUBY_VERSION >= '2.0'
- spec.add_dependency('json', '~> 2.0.2')
- spec.add_dependency('addressable', '~> 2.5.0')
- else
- spec.add_dependency('public_suffix', '~> 1.4.6')
- spec.add_dependency('json', '~> 1.8')
- spec.add_dependency('addressable', '~> 2.3')
- end
+ spec.add_dependency('faraday', '~> 1.0.1')
+ spec.add_dependency('faraday_middleware', '~> 1.0.0')
end