lib/hanami/utils/inflector.rb in hanami-utils-0.9.1 vs lib/hanami/utils/inflector.rb in hanami-utils-0.9.2

- old
+ new

@@ -91,14 +91,10 @@ # @api private IFE = 'ife'.freeze # @since 0.4.1 # @api private - INA = 'ina'.freeze - - # @since 0.4.1 - # @api private IS = 'is'.freeze # @since 0.4.1 # @api private IVES = 'ives'.freeze @@ -371,11 +367,9 @@ 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(.*)(en|#{ INA })\z/ - $1 + INA when /\A(.*)(?:([^f]))f[e]*\z/ $1 + $2 + VES when /\A(.*)us\z/ $1 + USES when /\A(.*)non\z/