mack_ruby_core_extensions 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/doc/created.rid +1 -1
- data/doc/files/lib/utils/inflections_rb.html +1 -1
- data/lib/utils/inflections.rb +2 -3
- metadata +1 -1
data/doc/created.rid
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Sun, 27 Apr 2008
|
|
1
|
+
Sun, 27 Apr 2008 18:18:09 -0400
|
data/lib/utils/inflections.rb
CHANGED
|
@@ -48,8 +48,7 @@ Mack::Utils::Inflector.inflections do |inflect|
|
|
|
48
48
|
inflect.singular(/^(.*)ookies$/, '\1ookie')
|
|
49
49
|
inflect.singular(/(.*)ss$/, '\1ss')
|
|
50
50
|
inflect.singular(/(.*)ies$/, '\1y')
|
|
51
|
-
|
|
52
|
-
inflect.irregular('knowledge', 'knowledge')
|
|
51
|
+
|
|
53
52
|
inflect.irregular('person', 'people')
|
|
54
53
|
inflect.irregular('child', 'children')
|
|
55
54
|
inflect.irregular('sex', 'sexes')
|
|
@@ -59,5 +58,5 @@ Mack::Utils::Inflector.inflections do |inflect|
|
|
|
59
58
|
inflect.irregular('talisman', 'talismans')
|
|
60
59
|
inflect.irregular('penis', 'penises')
|
|
61
60
|
|
|
62
|
-
inflect.uncountable(%w(pokemon equipment information rice money species series fish sheep deer offspring))
|
|
61
|
+
inflect.uncountable(%w(pokemon knowledge equipment information rice money species series fish sheep deer offspring))
|
|
63
62
|
end
|