Pundit: Drop support for Ruby 2.1 and Ruby 2.2?

Created on 7 Aug 2019  路  8Comments  路  Source: varvet/pundit

Ruby 2.1 is has been officially obsolete for over two years now, and no longer receives security updates: https://www.ruby-lang.org/en/news/2017/04/01/support-of-ruby-2-1-has-ended/

Similarly Ruby 2.2 has been obsolete for over a year: https://www.ruby-lang.org/en/news/2018/06/20/support-of-ruby-2-2-has-ended/

One impact of supporting older versions is that we can't keep our development dependencies up-to-date. This does add some friction for contributors - perhaps it's not on it's own a reason to drop support, but perhaps there are other reasons?

Question: should we drop support for these?

TODO:

  • [ ] Update dependencies
  • [ ] Commit Gemfile.lock
  • [x] Update Rubocop to latest version (not compatible with 2.1 or 2.2)

Most helpful comment

IMO: Drop anything that has been EOL鈥檇.

All 8 comments

@Linuus @olleolleolle @cjse @thomasklemm @Burgestrand @jnicklas any opinions gratefully heard

IMO: Drop anything that has been EOL鈥檇.

IMO: Drop anything that has been EOL鈥檇.

Agreed! Although, to be fair, I'm not involved in the development of Pundit nowadays 馃槄

@Burgestrand Ah OK - you still have write access as a collaborator, should I remove you?

@Burgestrand Ah OK - you still have write access as a collaborator, should I remove you?

Sure. If I were to contribute I'd send a PR either way :)

PR for the first part of this is ready for review: https://github.com/varvet/pundit/pull/604

610 is a PR which commits the lockfile, but it has some issues around JRuby. I've tried a few things, but I'm a bit stuck.

Perhaps it's not worth it to try and commit the lockfile (the main thing for reducing maintainer friction was to lock Rubocop to a specific version), but if anyone has a chance to check out that PR, it would be much appreciated.

FYI 2.3 is also EOL鈥檇 btw :)

Was this page helpful?
0 / 5 - 0 ratings