translator-text.gemspec in translator-text-0.2.0 vs translator-text.gemspec in translator-text-0.3.0
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'translator_text/version'
Gem::Specification.new do |spec|
@@ -19,8 +21,10 @@
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end
spec.require_paths = ['lib']
+ spec.required_ruby_version = '>= 3.1'
spec.add_dependency 'dry-struct', '~> 1'
spec.add_dependency 'httparty', '~> 0.21'
+ spec.metadata['rubygems_mfa_required'] = 'true'
end