preservation-client.gemspec in preservation-client-3.5.0 vs preservation-client.gemspec in preservation-client-4.0.0
- old
+ new
@@ -25,19 +25,23 @@
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
+ spec.required_ruby_version = '>= 2.7' # 3.0 except for dor-services-app
spec.add_dependency 'activesupport', '>= 4.2', '< 8'
- spec.add_dependency 'faraday', '>= 0.15', '< 2.0'
- spec.add_dependency 'moab-versioning', '~> 4.3'
+ spec.add_dependency 'faraday', '~> 2.0'
+ spec.add_dependency 'moab-versioning', '~> 5.0'
spec.add_dependency 'zeitwerk', '~> 2.1'
spec.add_development_dependency 'bundler', '~> 2.0'
spec.add_development_dependency 'pry-byebug'
spec.add_development_dependency 'rake', '>= 12.3.3'
spec.add_development_dependency 'rspec', '~> 3.0'
- spec.add_development_dependency 'rubocop', '~> 0.77.0'
- spec.add_development_dependency 'simplecov', '~> 0.17.0' # For CodeClimate
+ spec.add_development_dependency 'rubocop', '~> 1.24'
+ spec.add_development_dependency 'rubocop-rake'
+ spec.add_development_dependency 'rubocop-rspec', '~> 2.1'
+ spec.add_development_dependency 'simplecov'
spec.add_development_dependency 'webmock'
+ spec.metadata['rubygems_mfa_required'] = 'true'
end