Bump Ruby and Rails requirements in gemspec

factory\_bot 5 will only support Ruby 2.3 and higher, and Rails 4.2 and
higher. This includes all versions that have not yet reached EOL:

https://www.ruby-lang.org/en/downloads/branches/
https://guides.rubyonrails.org/maintenance_policy.html
This commit is contained in:
Daniel Colson 2019-01-04 22:19:11 -05:00
parent 70bc8e2d20
commit 27edb29a96
No known key found for this signature in database
GPG Key ID: 88A364BBE77B1353
6 changed files with 7 additions and 7 deletions

View File

@ -2,7 +2,7 @@ PATH
remote: .
specs:
factory_bot (4.11.1)
activesupport (>= 3.0.0)
activesupport (>= 4.2.0)
GEM
remote: https://rubygems.org/

View File

@ -15,14 +15,14 @@ Gem::Specification.new do |s|
%w[CONTRIBUTING.md GETTING_STARTED.md LICENSE NAME.md NEWS README.md .yardopts]
s.require_path = "lib"
s.required_ruby_version = Gem::Requirement.new(">= 1.9.2")
s.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
s.authors = ["Josh Clayton", "Joe Ferris"]
s.email = ["jclayton@thoughtbot.com", "jferris@thoughtbot.com"]
s.homepage = "https://github.com/thoughtbot/factory_bot"
s.add_dependency("activesupport", ">= 3.0.0")
s.add_dependency("activesupport", ">= 4.2.0")
s.add_development_dependency("activerecord")
s.add_development_dependency("appraisal")

View File

@ -2,7 +2,7 @@ PATH
remote: ..
specs:
factory_bot (4.11.1)
activesupport (>= 3.0.0)
activesupport (>= 4.2.0)
GEM
remote: https://rubygems.org/

View File

@ -2,7 +2,7 @@ PATH
remote: ..
specs:
factory_bot (4.11.1)
activesupport (>= 3.0.0)
activesupport (>= 4.2.0)
GEM
remote: https://rubygems.org/

View File

@ -2,7 +2,7 @@ PATH
remote: ..
specs:
factory_bot (4.11.1)
activesupport (>= 3.0.0)
activesupport (>= 4.2.0)
GEM
remote: https://rubygems.org/

View File

@ -2,7 +2,7 @@ PATH
remote: ..
specs:
factory_bot (4.11.1)
activesupport (>= 3.0.0)
activesupport (>= 4.2.0)
GEM
remote: https://rubygems.org/