lib/hanami/utils/inflector.rb in hanami-utils-1.2.0 vs lib/hanami/utils/inflector.rb in hanami-utils-1.3.0.beta1
- old
+ new
@@ -380,9 +380,11 @@
string + TA
when /\A(.*)(um|#{ A })\z/
$1 + A
when /\A(buffal|domin|ech|embarg|her|mosquit|potat|tomat)#{ O }\z/i
$1 + OES
+ when /\A(.*)(fee)\z/
+ $1 + $2 + S
when /\A(.*)(?:([^f]))f[e]*\z/
$1 + $2 + VES
when /\A(.*)us\z/
$1 + USES
when /\A(.*)non\z/