A summary of data about the Ruby ecosystem.

Recent Releases of https://github.com/dry-rb/dry-inflector

https://github.com/dry-rb/dry-inflector - v1.3.1

Fixed

  • Improve pluralization of "-um" vs "-ium" words. "Premium" is now pluralized correctly. (@hmaddocks in #60)

Compare v1.3.0 ... v1.3.1

- Ruby
Published by timriley about 2 months ago

https://github.com/dry-rb/dry-inflector - v1.3.0

Changed

  • Require Ruby 3.2 or later. (@alassek)
  • Support characters with diacritics. (@cllns in #51)
  • Improve performance of #singularize. (@sandbergja in #53)
  • Remove redundant regexps for default inflections. (@hmaddocks in #59)

Fixed

  • Correctly handle pluralized aconyms in #underscore. For example, underscoring "CustomerAPIs" now gives "customer_apis". (@hmaddocks in #54)
  • Correctly singularize "uses" and pluralize "use". (@hmaddocks in #55)
  • Fix singularization of plurals ending in a vowel and "xes", such as "taxes" -> "tax". (@hmaddocks in #56)
  • Fix pluralization of words ending in "ee", such as "fee" -> "fees". (@hmaddocks in #57)
  • Fix singularizing of words like "leaves" and "thieves". (@hmaddocks in #58)
  • Fix pluralization of words ending in "f" that should not have their ending turn into "ves", e.g. "roof"->"roofs" and "chief"->"chiefs". (@hmaddocks in #59)
  • Fix pluralization of "virus" into "viruses". (@hmaddocks in #59)

- Ruby
Published by timriley about 2 months ago

https://github.com/dry-rb/dry-inflector - v1.2.0

Changed

  • Bumped required Ruby version to 3.1 (@flash-gordon)

Compare v1.1.0...v1.2.0

- Ruby
Published by dry-bot about 1 year ago

https://github.com/dry-rb/dry-inflector - v1.1.0

Added

  • Added "DB" as a default acronym (#49) (@timriley)

Fixed

  • Fix incorrect inflections on words separated by spaces, underscores or hyphens (#47) (@parndt)

Compare v1.0.0...v1.1.0

- Ruby
Published by dry-bot over 1 year ago

https://github.com/dry-rb/dry-inflector - v1.0.0

Changed

  • Bumped version to 1.0.0 (@solnic)

Compare v0.3.0...v1.0.0

- Ruby
Published by dry-bot over 3 years ago

https://github.com/dry-rb/dry-inflector - v0.3.0

Added

  • Add CSV as default acronym (via #43) (@waiting-for-dev)

Changed

  • Extra dashes are now omitted when converting to camelcase (via #40) (@postmodern)

Compare v0.2.1...v0.3.0

- Ruby
Published by dry-bot over 3 years ago

https://github.com/dry-rb/dry-inflector - v0.2.1

Added

  • Add default acronyms: API and CSRF (#35) (@jodosha)

Fixed

  • Fix singularizing -us suffix (issue #33 via #38) (@cllns)

Compare v0.2.0...v0.2.1

- Ruby
Published by dry-bot over 4 years ago

https://github.com/dry-rb/dry-inflector -

v0.2.0 - 2019-10-13

Added

  • [Abinoam P. Marques Jr. & Andrii Savchenko] Introduced Dry::Inflector#camelize_upper and Dry::Inflector#camelize_lower. Dry::Inflector#camelize is now an alias for Dry::Inflector#upper_camelize.
     inflector.camelize_upper("data_mapper") # => "DataMapper"
     inflector.camelize_lower("data_mapper") # => "dataMapper"
    

Fixed

  • [ecnal] Fixed singularization rules for words like "alias" or "status"

Compare v0.1.2...v0.2.0

- Ruby
Published by flash-gordon over 6 years ago

https://github.com/dry-rb/dry-inflector -

v0.1.2 - 2018-04-25

Added

  • [Gustavo Caso & Nikita Shilnikov] Added support for acronyms

Compare v0.1.1...v0.1.2

- Ruby
Published by flash-gordon almost 8 years ago