s.name = "arvados-google-api-client"
s.version = Google::APIClient::VERSION::STRING
- s.required_ruby_version = '>= 2.5.0'
+ s.required_ruby_version = '>= 2.7.0'
s.required_rubygems_version = ">= 1.3.5"
s.require_paths = ["lib"]
s.authors = ["Bob Aman", "Steven Bazyl"]
s.add_runtime_dependency 'addressable', '~> 2.3'
s.add_runtime_dependency 'signet', '~> 0.16.0'
- # faraday requires Ruby 3.0 starting with 2.9.0. If you install this gem
- # on Ruby 2.7, the dependency resolver asks you to resolve the conflict
- # manually. Instead of teaching all our tooling to do that, we prefer to
- # require the latest version that supports Ruby 2.7 here. This requirement
- # can be relaxed to '~> 2.0' when we drop support for Ruby 2.7.
+ # faraday stopped supporting Ruby 2.7 with its 2.9.0 release.
+ # Force a resolution that supports all our Rubies:
s.add_runtime_dependency 'faraday', '~> 2.8.0'
s.add_runtime_dependency 'faraday-multipart', '~> 1.0'
s.add_runtime_dependency 'faraday-gzip', '~> 2.0'
- s.add_runtime_dependency 'googleauth', '~> 1.0'
+ # googleauth stopped supporting Ruby 2.7 in 1.2.0 (due to a new dependency).
+ s.add_runtime_dependency 'googleauth', '~> 1.1.0'
s.add_runtime_dependency 'multi_json', '~> 1.10'
s.add_runtime_dependency 'autoparse', '~> 0.3'
s.add_runtime_dependency 'extlib', '~> 0.9'
s.add_runtime_dependency 'retriable', '~> 1.4'
s.add_runtime_dependency 'activesupport', '>= 3.2', '< 8.0'
+ # These are indirect dependencies of the above where we force a resolution
+ # that supports all our Rubies.
+ s.add_runtime_dependency 'google-cloud-env', '~> 2.1.0'
+ s.add_runtime_dependency 'public_suffix', '~> 5.0'
+
s.add_development_dependency 'rake', '~> 10.0'
s.add_development_dependency 'yard', '~> 0.8'
s.add_development_dependency 'rspec', '~> 3.1'