mack_ruby_core_extensions 0.1.5 → 0.1.7

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 CHANGED
@@ -1 +1 @@
1
- Wed, 02 Apr 2008 11:57:08 -0400
1
+ Sun, 27 Apr 2008 15:50:01 -0400
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Tue Mar 25 20:37:52 -0400 2008</td>
59
+ <td>Wed Apr 09 20:44:34 -0400 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Tue Mar 25 20:37:52 -0400 2008</td>
59
+ <td>Wed Apr 09 20:44:34 -0400 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Wed Apr 02 11:55:23 -0400 2008</td>
59
+ <td>Wed Apr 09 20:44:34 -0400 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Tue Mar 25 20:37:52 -0400 2008</td>
59
+ <td>Wed Apr 09 20:44:34 -0400 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Wed Mar 26 19:38:32 -0400 2008</td>
59
+ <td>Wed Apr 09 20:44:34 -0400 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Wed Mar 26 10:20:07 -0400 2008</td>
59
+ <td>Wed Apr 09 20:44:34 -0400 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Tue Mar 25 20:37:52 -0400 2008</td>
59
+ <td>Wed Apr 09 20:44:34 -0400 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Tue Mar 25 20:37:52 -0400 2008</td>
59
+ <td>Wed Apr 09 20:44:34 -0400 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Tue Mar 25 20:37:52 -0400 2008</td>
59
+ <td>Wed Apr 09 20:44:34 -0400 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Tue Mar 25 20:37:52 -0400 2008</td>
59
+ <td>Wed Apr 09 20:44:34 -0400 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Wed Apr 02 11:56:59 -0400 2008</td>
59
+ <td>Wed Apr 09 20:44:34 -0400 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Wed Apr 02 11:47:19 -0400 2008</td>
59
+ <td>Wed Apr 09 20:44:34 -0400 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Tue Mar 25 20:37:52 -0400 2008</td>
59
+ <td>Wed Apr 09 20:44:34 -0400 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Wed Mar 26 10:23:16 -0400 2008</td>
59
+ <td>Wed Apr 09 20:44:34 -0400 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Tue Mar 25 20:37:52 -0400 2008</td>
59
+ <td>Sun Apr 27 15:49:44 -0400 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Tue Mar 25 20:37:52 -0400 2008</td>
59
+ <td>Wed Apr 09 20:44:34 -0400 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -49,6 +49,7 @@ Mack::Utils::Inflector.inflections do |inflect|
49
49
  inflect.singular(/(.*)ss$/, '\1ss')
50
50
  inflect.singular(/(.*)ies$/, '\1y')
51
51
 
52
+ inflect.irregular('knowledge', 'knowledge')
52
53
  inflect.irregular('person', 'people')
53
54
  inflect.irregular('child', 'children')
54
55
  inflect.irregular('sex', 'sexes')
@@ -58,5 +59,5 @@ Mack::Utils::Inflector.inflections do |inflect|
58
59
  inflect.irregular('talisman', 'talismans')
59
60
  inflect.irregular('penis', 'penises')
60
61
 
61
- inflect.uncountable(%w(pokemon pokémon equipment information rice money species series fish sheep deer offspring))
62
+ inflect.uncountable(%w(pokemon equipment information rice money species series fish sheep deer offspring))
62
63
  end
@@ -25,6 +25,11 @@ class InflectionTest < Test::Unit::TestCase
25
25
  assert_equal "equipment", inflect.pluralize("equipment")
26
26
  end
27
27
 
28
+ def test_knowledge
29
+ assert_equal "knowledge", inflect.singularize("knowledge")
30
+ assert_equal "knowledge", inflect.pluralize("knowledge")
31
+ end
32
+
28
33
  def inflect
29
34
  Mack::Utils::Inflector.instance
30
35
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mack_ruby_core_extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - markbates
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-04-02 00:00:00 -04:00
12
+ date: 2008-04-27 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  requirements: []
102
102
 
103
103
  rubyforge_project: magrathea
104
- rubygems_version: 1.0.1
104
+ rubygems_version: 1.1.1
105
105
  signing_key:
106
106
  specification_version: 2
107
107
  summary: mack_ruby_core_extensions