rich_support 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/lib/rich/support/version.rb
CHANGED
@@ -46,6 +46,20 @@ module Core
|
|
46
46
|
assert_equal "TeSts", "TeSt" .pluralize!
|
47
47
|
end
|
48
48
|
|
49
|
+
test "singular?" do
|
50
|
+
assert "baby" .singular?
|
51
|
+
assert "person" .singular?
|
52
|
+
assert "question".singular?
|
53
|
+
assert "status " .singular?
|
54
|
+
end
|
55
|
+
|
56
|
+
test "plural?" do
|
57
|
+
assert "babies" .plural?
|
58
|
+
assert "people" .plural? unless Rails::VERSION::MAJOR < 3 # This fails in Rails < 3
|
59
|
+
assert "questions".plural?
|
60
|
+
assert "statuses" .plural?
|
61
|
+
end
|
62
|
+
|
49
63
|
end
|
50
64
|
end
|
51
65
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rich_support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Paul Engel
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-04-
|
18
|
+
date: 2011-04-23 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|