Skip to content

Conversation

@fernandomenolli
Copy link
Contributor

This PR will:

  • Add support to rails 8.0

end

appraise "rails80" do
gem "rails", ">= 7.1.0.beta1", "< 8.1"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@danielmorrison @fernandomenolli

This is not rails 8. Rails 8 is the main branch which is 8.0.0.alpha which is NOT released on rubygems.

this will target at best 7.2.x

- appraisal: rails71
ruby: 2.6
- appraisal: rails80
ruby: 2.6
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rails 8 depends on ruby 3.1 minimum


gem.add_dependency "activerecord", ">= 5.2", "< 7.2"
gem.add_dependency "activesupport", ">= 5.2", "< 7.2"
gem.add_dependency "activerecord", ">= 5.2", "< 8.1"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@danielmorrison setting < 8.1 is the same as supporting rails main branch, which is "edge rails"

So why not just removing the upper bound like so gem.add_dependency "activerecord", ">= 5.2" so that PRs like this won't be necessary, and future PRs by contributors will be about fixing bugs on newer versions of rails, instead of these "Bump rails " kind of PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants