dry-rb / dry-inflector

Inflector for Ruby
https://dry-rb.org/gems/dry-inflector
MIT License
95 stars 15 forks source link

singularize method return 'bonuses' as 'bonuse' #33

Closed D5ky closed 3 years ago

D5ky commented 3 years ago

Describe the bug Dry::Inflector.new.singularize('bonuses') => "bonuse"

To Reproduce

Call Dry::Inflector.new.singularize('bonuses')

Expected behavior

Dry::Inflector.new.singularize('bonuses') => 'bonus'

Your environment

cllns commented 3 years ago

:+1: Similar words which also fail this way: