fastruby / next_rails

A toolkit to upgrade your next Rails application
https://www.fastruby.io/blog/upgrade-rails/dual-boot/dual-boot-with-rails-6-0-beta.html?utm_source=github&utm_medium=description&utm_campaign=github&utm_term=next-rails
MIT License
466 stars 28 forks source link

Ignore actionmailbox and actiontext rails gems from bundle report #91

Closed arielj closed 1 year ago

arielj commented 1 year ago

This PR fixes #89

Output on a test project I was using with Rails 6

Before:

bundle_report compatibility --rails-version=7.0 
=> Incompatible with Rails 7.0 (with new versions that are compatible):
These gems will need to be upgraded before upgrading to Rails 7.0.

actionmailbox 6.0.4 - upgrade to 7.0.0
actiontext 6.0.4 - upgrade to 7.0.0
dotenv-rails 2.7.5 - upgrade to 2.8.1
ombu_labs-hubspot 0.1.0 (loaded from git) - upgrade to 0.1.1
ombu_labs-notifications 0.1.0 (loaded from git) - upgrade to 0.1.2

5 gems incompatible with Rails 7.0

After:

bundle_report compatibility --rails-version=7.0 
=> Incompatible with Rails 7.0 (with new versions that are compatible):
These gems will need to be upgraded before upgrading to Rails 7.0.

dotenv-rails 2.7.5 - upgrade to 2.8.1
ombu_labs-hubspot 0.1.0 (loaded from git) - upgrade to 0.1.1
ombu_labs-notifications 0.1.0 (loaded from git) - upgrade to 0.1.2

3 gems incompatible with Rails 7.0

You can test this PR using gem "next_rails", github: "fastruby/next_rails", branch: "ignore-rails-gems"

toppa commented 1 year ago

Thank you!