shaped.gemspec in shaped-0.12.0 vs shaped.gemspec in shaped-0.13.0

- old
+ new

@@ -10,10 +10,11 @@ spec.summary = 'Validate the "shape" of Ruby objects.' spec.description = 'Validate the "shape" of Ruby objects.' spec.homepage = 'https://github.com/davidrunger/shaped' spec.license = 'MIT' - spec.required_ruby_version = ">= #{File.read('.ruby-version').rstrip}" + required_ruby_version = File.read('.ruby-version').rstrip.sub(/\A(\d+\.\d+)\.\d+\z/, '\1.0') + spec.required_ruby_version = ">= #{required_ruby_version}" spec.metadata['rubygems_mfa_required'] = 'true' spec.metadata['homepage_uri'] = spec.homepage spec.metadata['source_code_uri'] = 'https://github.com/davidrunger/shaped' spec.metadata['changelog_uri'] = 'https://github.com/davidrunger/shaped/blob/main/CHANGELOG.md'