-
Notifications
You must be signed in to change notification settings - Fork 105
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
Add ruby 3.2 and remove 2.4 #135
Conversation
Co-authored-by: Trung Lê <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's do this.
Co-authored-by: Daniel (dB.) Doubrovkine <[email protected]>
@dblock @runlevel5 please check again, made the changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we should be removing tests for all versions of Rails and not for Ruby 3. Can we bring back the Rails Gemfiles on a newer version of Ruby? Also see if we can get 2.7 to work.
you mean we keep ruby 2.7 onwards ? |
Yes, just to have support for 2.x, unless it's difficult. |
okay I will try once |
@dblock I made the updates, currently with ruby 3.2, rails 5.x tests are failing, narrowed down to
this block which calls I18n.t method I am still looking into the issue, if you have any advice, it would be helpful |
I spent some time on this and I am as puzzled as you. It's some combination of Ruby 3.x keyword arguments with the way this method is declared that's not adding up. It works with Ruby 2.7, so keep Rails 5 with just Ruby 2.7 tests and we should be good. |
okay cool I can do that. BTW I also spent some time to debug the issue and found out that it is related to |
@dblock made the suggested changes, all builds are passing as of now, please check |
CHANGELOG.md
Outdated
* [#135](https://github.com/radar/distance_of_time_in_words/pull/135): Add support for Ruby 2.7 - [@KinWang-2013](https://github.com/KinWang-2013). | ||
* [#135](https://github.com/radar/distance_of_time_in_words/pull/135): Add test for Rails 6.0 with Ruby 3.2 - [@KinWang-2013](https://github.com/KinWang-2013). | ||
* [#135](https://github.com/radar/distance_of_time_in_words/pull/135): Add test for Rails 5.X with Ruby 2.7 - [@KinWang-2013](https://github.com/KinWang-2013). | ||
* [#135](https://github.com/radar/distance_of_time_in_words/pull/135): Remove support for Rails 4 - [@KinWang-2013](https://github.com/KinWang-2013). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we collapse these?
- Add support for Ruby 2.7 and 3.2, removed support for ruby 2.4, 2.5, 2.6 and Rails 4
No need to mention that we added tests.
Looks good, just one more annoying ask from me on CHANGELOG, thanks for hanging in here with me! |
no worries, made the changes, please check |
Good work, merged. Add Rails 7 in another PR? |
okay |
This PR adds ruby 3.2 and remove 2.4