lib/inflections.rb in inflectious-0.1.0 vs lib/inflections.rb in inflectious-0.2.0

- old
+ new

@@ -1,6 +1,5 @@ ActiveSupport::Inflector.inflections do |inflect| - inflect.gerund /ing$/i, '\0' - inflect.gerund /([^aeiou]|[aeiou]{2})[^aeiou]$/i, '\0ing' - inflect.gerund /(\w*[^aeiou])e$/i, '\1ing' - inflect.gerund /[aeiou]([^aeiou])$/i, '\0\1ing' + inflect.stem(/(.*[^aeiou])e$/i, '\1') + inflect.stem(/[aeiou]([^aeiou])$/i, '\0\1') + inflect.stem(/[aeiou]{2}[^aeiou]$/i, '\0') end \ No newline at end of file