- Added "DB" as a default acronym (#49) (@timriley)
- Fix incorrect inflections on words separated by spaces, underscores or hyphens (#47) (@parndt)
- Bumped version to 1.0.0 (@solnic)
- Add CSV as default acronym (via #43) (@waiting-for-dev)
- Extra dashes are now omitted when converting to camelcase (via #40) (@postmodern)
- Add default acronyms: API and CSRF (#35) (@jodosha)
- Fix singularizing -us suffix (issue #33 via #38) (@cllns)
- [Abinoam P. Marques Jr. & Andrii Savchenko] Introduced
Dry::Inflector#camelize_upper
andDry::Inflector#camelize_lower
.Dry::Inflector#camelize
is now an alias forDry::Inflector#camelize_upper
.ruby inflector.camelize_upper("data_mapper") # => "DataMapper"' inflector.camelize_lower("data_mapper") # => "dataMapper"'
- [ecnal] Fixed singularization rules for words like "alias" or "status"
- [Gustavo Caso & Nikita Shilnikov] Added support for acronyms
- [Luca Guidi & Abinoam P. Marques Jr.] Ensure
Dry::Inflector#ordinalize
to work for all the numbers from 0 to 100
- [Luca Guidi] Introduced
Dry::Inflector#pluralize
- [Luca Guidi] Introduced
Dry::Inflector#singularize
- [Luca Guidi] Introduced
Dry::Inflector#camelize
- [Luca Guidi] Introduced
Dry::Inflector#classify
- [Luca Guidi] Introduced
Dry::Inflector#tableize
- [Luca Guidi] Introduced
Dry::Inflector#dasherize
- [Luca Guidi] Introduced
Dry::Inflector#underscore
- [Luca Guidi] Introduced
Dry::Inflector#demodulize
- [Luca Guidi] Introduced
Dry::Inflector#humanize
- [Luca Guidi] Introduced
Dry::Inflector#ordinalize
- [Abinoam P. Marques Jr.] Introduced
Dry::Inflector#foreign_key
- [Abinoam P. Marques Jr.] Introduced
Dry::Inflector#constantize