10000 Test with Ruby 3.0 and Ruby 3.1 by deivid-rodriguez · Pull Request #7275 · activeadmin/activeadmin · GitHub
[go: up one dir, main page]

Skip to content

Test with Ruby 3.0 and Ruby 3.1 #7275

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jan 23, 2022
Merged

Test with Ruby 3.0 and Ruby 3.1 #7275

merged 11 commits into from
Jan 23, 2022

Conversation

deivid-rodriguez
Copy link
Member

Try to slowly get back to helping out here.

I want to get Ruby 3.0 and Ruby 3.1 officially tested.

Some changes are also proposed separately at #7235 so I added @tagliala as a co-author.

@tagliala
Copy link
Contributor

Hi, since this has been done separately, I would like to suggest to use strings instead of numbers for ruby versions, so we can read "3.0" instead of 3 in the details

image

I have also another question: is Rails 6.1 officially compatible with Ruby 3.1?

@deivid-rodriguez
Copy link
Member Author

👍 I'll switch to strings.

Not sure about Rails support, I guess not, I will make sure and whatever not supported.

dependabot bot and others added 11 commits January 23, 2022 13:41
Bumps [rails-i18n](https://github.com/svenfuchs/rails-i18n) from 7.0.0 to 7.0.1.
- [Release notes](https://github.com/svenfuchs/rails-i18n/releases)
- [Changelog](https://github.com/svenfuchs/rails-i18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/svenfuchs/rails-i18n/commits)

---
updated-dependencies:
- dependency-name: rails-i18n
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Geremia Taglialatela <tagliala.dev@gmail.com>
Co-authored-by: Geremia Taglialatela <tagliala.dev@gmail.com>
Only on Rails 6.0 and 6.1 since Rails 5.2 does not work with it.

Co-authored-by: Geremia Taglialatela <tagliala.dev@gmail.com>
To fix did_you_mean warnings on Ruby 3.1.
Since net-smtp is not a default gem anymore, the mail gem needs to add
it explicitly as a dependency given that it depends on it, in order to
support Ruby 3.1.

Until that happens, we can workaround the issue by adding the dependency
to our gemfiles.
To use less I18n internals and don't print warnings.
It only seems compatible with Rails 6.1. Rails 6.0 would need
Psych 4 support backported.

Run lint job also with Ruby 3.1, which involves using Rails 6.1 instead
of Rails 6.0 given the above.
@deivid-rodriguez
Copy link
Member Author

This one should be ready from my side! I want to drop support for Rails 5.2 and Rails 6.0, but I guess that can be done/discussed separately.

Also I'm slimming down our CI matrix a bit by running webpacker and turbo links checks only against the latest supported Ruby, so we need to reconfigure our default branch settings to remove some required checks now.

Copy link
Member
@javierjulio javierjulio left a comment

Choose a reason for hiding this comment

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

All sounds good to me on the Rails support side. Thanks David! ❤️

@javierjulio javierjulio merged commit 1b6dd5c into master Jan 23, 2022
@javierjulio javierjulio deleted the ruby-30-and-31 branch January 23, 2022 16:07
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
0