Commit Graph

9 Commits

Author SHA1 Message Date
Carlos Antonio da Silva 8c45bf1a0c Reorganize test matrix & use latest bundler
* Rails and Ruby versions follow the most recent to oldest, except for
  Rails main, so we can keep the Gemfile the first one.
* Excluding specific matrix combinations based on the Gemfile first,
  Ruby version next, and keep the same order (most recent -> oldest)
* Quote all Ruby versions to keep things consistent. It's required for
  the '3.0' version to avoid the float issue where it'd use the latest
  3.x instead.
* Test Rails 6.1 with Ruby 3.1, as Rails test suite supports it.

Also update Changelog with the 3.1 Ruby support addition.
2022-02-25 13:40:55 -03:00
Peter Goldstein 7e5af5abb8 Add Ruby 3.1 to the CI matrix 2022-02-23 07:35:09 -08:00
Carlos Antonio da Silva 67bbe76938 Rename Rails head -> main to better match the branch naming 2021-10-06 19:29:54 -03:00
Carlos Antonio da Silva d3d058f07a Test against Rails head as well 2021-10-05 20:58:12 -03:00
Carlos Antonio da Silva 3da318d68e Test Rails 7.0 alpha2 by default, create new gemfile for 6.1.x stable 2021-10-05 20:58:12 -03:00
Carlos Antonio da Silva 05950880ba Add support for Ruby 3, drop support for Ruby < 2.5, remove I18nCache
I18nCache caused some issues upgrading to Ruby 3, and at the end of the
day I think it's more complexity to keep it around for a marginal gain.

I18n lookups can be expensive, yes, but for most this isn't going to be
a performance hit, and for those where it might be, consider looking at
I18n caching alternatives that aren't specific to these few places where
we had this caching, but to lookups across the board.

Closes #1721
Closes #1720
2021-01-19 22:43:48 -03:00
Carlos Antonio da Silva 19e739486c Update to Rails 6.1, drop support to Rails < 5.2 2021-01-19 22:38:01 -03:00
Carlos Antonio da Silva e0df1502fa Rename gemfiles 2021-01-19 22:23:25 -03:00
Carlos Antonio da Silva f0b412301b Move from travis to GitHub Actions 2021-01-19 22:21:23 -03:00