I was working on updating my app to Rails 6.1 and noticed that this gem's version dependency on the "tzinfo" gem was holding me back.
I couldn't see anything in the code that relied on tzinfo — doing some code archaeology, the dependency appears to have been added to keep compatibility with Rails 3 while adding Rails 4 support (and has been periodically bumped since then) — so, I removed the requirement.
While I was here, I updated the Travis config to include Rails 6.1, added Ruby 2.7 to the matrix where supported, and removed Rubies 2.1 and 2.2 which have been EOL for a few years now.
I also found some test failures in Rails 6.1 when using date_field, time_field, etc. with non-date attributes. Seemed like a thing a "real person" wouldn't do, so I just changed the test.
Hello,
I was working on updating my app to Rails 6.1 and noticed that this gem's version dependency on the "tzinfo" gem was holding me back.
I couldn't see anything in the code that relied on tzinfo — doing some code archaeology, the dependency appears to have been added to keep compatibility with Rails 3 while adding Rails 4 support (and has been periodically bumped since then) — so, I removed the requirement.
While I was here, I updated the Travis config to include Rails 6.1, added Ruby 2.7 to the matrix where supported, and removed Rubies 2.1 and 2.2 which have been EOL for a few years now.
I also found some test failures in Rails 6.1 when using
date_field
,time_field
, etc. with non-date attributes. Seemed like a thing a "real person" wouldn't do, so I just changed the test.