Skip to content
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

Drop support for deprecated Ruby (2.0 and 2.1) and Rails (4.0 and 4.1) versions #1032

Conversation

guialbuk
Copy link
Collaborator

Support of Ruby 2.1 has ended on April, 1st 2017
https://www.ruby-lang.org/en/news/2017/04/01/support-of-ruby-2-1-has-ended/

Rails 4.1 has reached end of life in 2016

This is an important step to keep shoulda-matchers up to date with current ruby and rails versions and to keep the codebase clean and easier to contribute.

@guialbuk guialbuk force-pushed the drop-support-for-deprecated-ruby-and-rails-versions branch from 7daf8d1 to f5590df Compare July 11, 2017 13:14
@mcmire
Copy link
Collaborator

mcmire commented Jul 11, 2017

👏 👏 👏

Great! Keep in mind that this means we'll need to bump to 4.0. I'm perfectly fine with that, but it's something to keep in mind.

By the way -- I've been keeping a log of changes in NEWS.md. You may want to add this there (it's easier to do it as you go along rather than before a release).

@guialbuk guialbuk force-pushed the drop-support-for-deprecated-ruby-and-rails-versions branch from e69449d to a2a415a Compare July 12, 2017 14:36
@@ -548,7 +548,7 @@ def value_to_attribute_type(value)
case value
when true, false then :boolean
when BigDecimal then :decimal
when Fixnum then :fixnum
when Integer then :fixnum

Choose a reason for hiding this comment

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

Indent when as deep as case.

@@ -548,7 +548,7 @@ def value_to_attribute_type(value)
case value
when true, false then :boolean
when BigDecimal then :decimal
when Fixnum then :fixnum
when Integer then :fixnum

Choose a reason for hiding this comment

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

Indent when as deep as case.

@guialbuk guialbuk force-pushed the drop-support-for-deprecated-ruby-and-rails-versions branch from a2a415a to 7efb40a Compare July 12, 2017 14:38
Gui Albuk added 2 commits July 12, 2017 11:49
Remove TravisCI support for Ruby 2.0 and 2.1

Merge Appraisal Gemfiles for different Ruby versions

Remove unused variable in Appraisals file
@guialbuk guialbuk force-pushed the drop-support-for-deprecated-ruby-and-rails-versions branch from 7efb40a to abf4ccd Compare July 12, 2017 14:49
@guialbuk guialbuk merged commit 7551317 into thoughtbot:rails-5 Jul 12, 2017
@guialbuk guialbuk deleted the drop-support-for-deprecated-ruby-and-rails-versions branch July 12, 2017 15:07
@guialbuk
Copy link
Collaborator Author

Thanks, @mcmire . I will keep NEWS.md updated.

@guialbuk guialbuk added this to the v4.0 milestone Jul 31, 2017
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