Skip to content

Commit 0848476

Browse files
authored
Add missing required Ruby version to gemspec (#510)
required_ruby_version is an optional property in specification though recommended by Rubygems guide. The change requests follows specification of factory_bot.
1 parent 8a30059 commit 0848476

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

factory_bot_rails.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Gem::Specification.new do |s|
1515
s.files = Dir["lib/**/*"] + %w[CONTRIBUTING.md LICENSE NEWS.md README.md]
1616
s.metadata["changelog_uri"] = "https://github.com/thoughtbot/factory_bot_rails/blob/main/NEWS.md"
1717
s.require_paths = ["lib"]
18+
s.required_ruby_version = Gem::Requirement.new(">= 3.0.0")
1819
s.executables = []
1920
s.license = "MIT"
2021

0 commit comments

Comments
 (0)