ecoportal-api.gemspec in ecoportal-api-0.9.7 vs ecoportal-api.gemspec in ecoportal-api-0.10.0
- old
+ new
@@ -1,7 +1,6 @@
-
-lib = File.expand_path("../lib", __FILE__)
+lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "ecoportal/api/version"
Gem::Specification.new do |spec|
spec.name = "ecoportal-api"
@@ -11,25 +10,26 @@
spec.summary = %q{A collection of helpers for interacting with the ecoPortal MS's various APIs}
spec.homepage = "https://www.ecoportal.com"
spec.licenses = %w[MIT]
- spec.required_ruby_version = '>= 2.7.2'
+ spec.metadata['rubygems_mfa_required'] = 'true'
- spec.files = `git ls-files -z`.split("\x0").reject do |f|
+ spec.required_ruby_version = '>= 3.2.2'
+
+ spec.files = `git ls-files -z`.split("\x0").reject do |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.add_development_dependency "bundler", ">= 2.4.12", "< 3"
spec.add_development_dependency "rspec", ">= 3.12.0", "< 4"
spec.add_development_dependency "rake", ">= 13.1.0", "< 14"
spec.add_development_dependency "yard", ">= 0.9.34", "< 1"
spec.add_development_dependency "redcarpet", ">= 3.6.0", "< 4"
spec.add_development_dependency "pry" , "~> 0.14"
- spec.add_dependency 'http', '~> 5.1', "< 6"
- spec.add_dependency 'dotenv', '>= 2.8', "< 3"
+ spec.add_dependency 'dotenv', '~> 3'
spec.add_dependency 'elastic-apm', '>= 4.7', "< 5"
+ spec.add_dependency 'http', '~> 5.1', "< 6"
end