rich_pluralization 1.0.5 → 1.0.6

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/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
@@ -12,7 +12,7 @@ begin
12
12
  gemspec.homepage = "http://github.com/archan937/rich_pluralization"
13
13
  gemspec.author = "Paul Engel"
14
14
 
15
- gemspec.add_dependency "i18n", "0.3.7"
15
+ gemspec.add_dependency "i18n", ">= 0.3.7"
16
16
  end
17
17
  Jeweler::GemcutterTasks.new
18
18
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.5
1
+ 1.0.6
@@ -1,3 +1,5 @@
1
1
 
2
2
  require "rich/pluralization/core"
3
+ require "rich/pluralization/inflector"
4
+ require "rich/pluralization/inflector/inflections"
3
5
  require "rich/pluralization/engine"
@@ -3,11 +3,8 @@ es:
3
3
 
4
4
  e9s:
5
5
  plural:
6
- - rule: | ([aeiou]s)$
7
- replacement: \1
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: (es|s)$
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
@@ -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.5"
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-04}
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>, ["= 0.3.7"])
66
+ s.add_runtime_dependency(%q<i18n>, [">= 0.3.7"])
67
67
  else
68
- s.add_dependency(%q<i18n>, ["= 0.3.7"])
68
+ s.add_dependency(%q<i18n>, [">= 0.3.7"])
69
69
  end
70
70
  else
71
- s.add_dependency(%q<i18n>, ["= 0.3.7"])
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: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 5
10
- version: 1.0.5
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-04 00:00:00 +02:00
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: