Skip to content

v2.3.2

Choose a tag to compare

@corylown corylown released this 16 Oct 18:47
· 22 commits to main since this release
50b1b88

Bug fixes

  • Approximate seasons no longer raise NoMethodError: Date.edtf('1999-21~').humanize now returns "circa spring 1999" (#45, #62)
  • Unspecified-year dates before year 1000 and BC dates now render correctly (#47, #64):
    • 00XX: "00XX" (was "00XX00XX00XX00XX")
    • 01XX: "01XX" (was "001XX")
    • -01XX: "-01XX" (was "-0100")
  • German BC centuries now include "v. Chr." (#49, #63)

Packaging

  • The README is now included in the gem (#51, #65)
  • Removed the unused RDoc rake task, which broke every rake task on Ruby 4.0 (#51, #65)
  • Added source code and changelog links to the gem metadata (#69)
  • Allow roman 0.3 (#69)

Documentation

  • New README sections on setting the locale, using the gem outside Rails, and customizing terms (#18, #66)

Development

  • CI now runs on GitHub Actions, testing Ruby 3.1–4.0 (#52, #61)
  • Upgraded to RuboCop 1.92 and rubocop-rspec 3.x (#56, #61)
  • Cleaned up spec_helper.rb; specs now run in random order (#53, #67)

Known issue

  • On Ruby 4.0, apps whose bundle doesn't already include racc get cannot load such file -- racc/parser.rb; add gem 'racc' to your Gemfile (upstream: inukshuk/edtf-ruby#50).

Full changelog: v2.3.1...v2.3.2