rich_pluralization 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +6 -0
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/lib/rich_pluralization.rb +2 -0
- data/locales/es.yml +7 -10
- data/rich_pluralization.gemspec +5 -5
- metadata +5 -5
data/CHANGELOG
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
= Rich-pluralization CHANGELOG
|
2
2
|
|
3
|
+
== Version 1.0.6 (October 19, 2010)
|
4
|
+
|
5
|
+
* Changed the i18n gem dependency to '>= 0.3.7'
|
6
|
+
* Requiring the inflector and inflections source files manually
|
7
|
+
* Correct es.yml (with help of M. Koper)
|
8
|
+
|
3
9
|
== Version 1.0.5 (October 4, 2010)
|
4
10
|
|
5
11
|
* Fix: Copying letter casing after inflecting in English
|
data/Rakefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.6
|
data/lib/rich_pluralization.rb
CHANGED
data/locales/es.yml
CHANGED
@@ -3,11 +3,8 @@ es:
|
|
3
3
|
|
4
4
|
e9s:
|
5
5
|
plural:
|
6
|
-
- rule:
|
7
|
-
replacement:
|
8
|
-
|
9
|
-
- rule: | ([^aeioué])$
|
10
|
-
replacement: \1es
|
6
|
+
- rule: z$
|
7
|
+
replacement: ces
|
11
8
|
|
12
9
|
- rule: | á([sn])$
|
13
10
|
replacement: a\1es
|
@@ -20,12 +17,12 @@ es:
|
|
20
17
|
|
21
18
|
- rule: | ú([sn])$
|
22
19
|
replacement: u\1es
|
23
|
-
|
24
|
-
- rule: z$
|
25
|
-
replacement: ces
|
26
20
|
|
27
|
-
- rule:
|
28
|
-
replacement:
|
21
|
+
- rule: | ([aeiou]s)$
|
22
|
+
replacement: \1
|
23
|
+
|
24
|
+
- rule: | ([^aeioué])$
|
25
|
+
replacement: \1es
|
29
26
|
|
30
27
|
- rule: $
|
31
28
|
replacement: s
|
data/rich_pluralization.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{rich_pluralization}
|
8
|
-
s.version = "1.0.
|
8
|
+
s.version = "1.0.6"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Paul Engel"]
|
12
|
-
s.date = %q{2010-10-
|
12
|
+
s.date = %q{2010-10-19}
|
13
13
|
s.description = %q{Rich-pluralization is a module of E9s (http://github.com/archan937/e9s) which provides localized pluralization in combination with i18n. Doing this enables you to only translate words in singular form as the module pluralizes the translation for you.}
|
14
14
|
s.email = %q{paul.engel@holder.nl}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -63,12 +63,12 @@ Gem::Specification.new do |s|
|
|
63
63
|
s.specification_version = 3
|
64
64
|
|
65
65
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
66
|
-
s.add_runtime_dependency(%q<i18n>, ["
|
66
|
+
s.add_runtime_dependency(%q<i18n>, [">= 0.3.7"])
|
67
67
|
else
|
68
|
-
s.add_dependency(%q<i18n>, ["
|
68
|
+
s.add_dependency(%q<i18n>, [">= 0.3.7"])
|
69
69
|
end
|
70
70
|
else
|
71
|
-
s.add_dependency(%q<i18n>, ["
|
71
|
+
s.add_dependency(%q<i18n>, [">= 0.3.7"])
|
72
72
|
end
|
73
73
|
end
|
74
74
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rich_pluralization
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 6
|
10
|
+
version: 1.0.6
|
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: 2010-10-
|
18
|
+
date: 2010-10-19 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -24,7 +24,7 @@ dependencies:
|
|
24
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
26
|
requirements:
|
27
|
-
- - "
|
27
|
+
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
hash: 29
|
30
30
|
segments:
|