rich_i18n 1.0.3 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +23 -0
- data/README.textile +30 -14
- data/Rakefile +4 -2
- data/VERSION +1 -1
- data/lib/app/views/rich_i18n.html.erb +1 -0
- data/lib/assets/jzip/jquery/core.jz +159 -0
- data/lib/assets/jzip/jquery/extensions/modules.js +22 -0
- data/lib/assets/jzip/jquery/seat_holder.js +183 -0
- data/lib/assets/jzip/rich.js +5 -0
- data/lib/assets/jzip/rich/i18n.js +22 -0
- data/lib/assets/jzip/rich_i18n.jz +9 -0
- data/lib/rich/i18n/actionpack.rb +1 -0
- data/lib/rich/i18n/actionpack/action_controller/base.rb +23 -0
- data/lib/rich/i18n/actionpack/action_controller/dispatcher.rb +1 -1
- data/lib/rich/i18n/actionpack/action_view/base.rb +4 -0
- data/lib/rich/i18n/core/enriched_string.rb +20 -11
- data/lib/rich/i18n/core/string/enrichments.rb +4 -6
- data/lib/rich/i18n/core/string/internationalization.rb +25 -8
- data/lib/rich/i18n/engine.rb +48 -4
- data/lib/rich/i18n/formtastic.rb +2 -2
- data/rails_generators/rich_i18n_translation/rich_i18n_translation_generator.rb +60 -0
- data/rails_generators/rich_i18n_translation/templates/config.rb +0 -0
- data/rails_generators/rich_i18n_translation/templates/migration.rb +18 -0
- data/rails_generators/rich_i18n_translation/templates/model.rb +7 -0
- data/rich_i18n.gemspec +112 -0
- data/test/engine_test.rb +1 -1
- data/test/locales/nl/internationalization_test.rb +1 -1
- metadata +59 -7
data/test/engine_test.rb
CHANGED
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rich_i18n
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 31
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 1
|
8
|
+
- 2
|
7
9
|
- 0
|
8
|
-
|
9
|
-
version: 1.0.3
|
10
|
+
version: 1.2.0
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Paul Engel
|
@@ -14,7 +15,7 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2010-
|
18
|
+
date: 2010-10-01 00:00:00 +02:00
|
18
19
|
default_executable:
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
@@ -23,26 +24,62 @@ dependencies:
|
|
23
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
24
25
|
none: false
|
25
26
|
requirements:
|
26
|
-
- - "
|
27
|
+
- - "="
|
27
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 29
|
28
30
|
segments:
|
29
31
|
- 0
|
30
|
-
|
32
|
+
- 3
|
33
|
+
- 7
|
34
|
+
version: 0.3.7
|
31
35
|
type: :runtime
|
32
36
|
version_requirements: *id001
|
33
37
|
- !ruby/object:Gem::Dependency
|
34
|
-
name:
|
38
|
+
name: jzip
|
35
39
|
prerelease: false
|
36
40
|
requirement: &id002 !ruby/object:Gem::Requirement
|
37
41
|
none: false
|
38
42
|
requirements:
|
39
43
|
- - ">="
|
40
44
|
- !ruby/object:Gem::Version
|
45
|
+
hash: 3
|
41
46
|
segments:
|
47
|
+
- 1
|
42
48
|
- 0
|
43
|
-
|
49
|
+
- 10
|
50
|
+
version: 1.0.10
|
44
51
|
type: :runtime
|
45
52
|
version_requirements: *id002
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: hpricot
|
55
|
+
prerelease: false
|
56
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
hash: 3
|
62
|
+
segments:
|
63
|
+
- 0
|
64
|
+
version: "0"
|
65
|
+
type: :runtime
|
66
|
+
version_requirements: *id003
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: formtastic
|
69
|
+
prerelease: false
|
70
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
71
|
+
none: false
|
72
|
+
requirements:
|
73
|
+
- - "="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
hash: 53
|
76
|
+
segments:
|
77
|
+
- 0
|
78
|
+
- 9
|
79
|
+
- 7
|
80
|
+
version: 0.9.7
|
81
|
+
type: :runtime
|
82
|
+
version_requirements: *id004
|
46
83
|
description: Rich-i18n is a module of E9s (http://github.com/archan937/e9s) which enriches I18n, Formtastic, the String and Symbol classes. This simplifies internationalization of your Rails application making a Rails developers life much easier.
|
47
84
|
email: paul.engel@holder.nl
|
48
85
|
executables: []
|
@@ -60,8 +97,16 @@ files:
|
|
60
97
|
- VERSION
|
61
98
|
- init.rb
|
62
99
|
- install.rb
|
100
|
+
- lib/app/views/rich_i18n.html.erb
|
101
|
+
- lib/assets/jzip/jquery/core.jz
|
102
|
+
- lib/assets/jzip/jquery/extensions/modules.js
|
103
|
+
- lib/assets/jzip/jquery/seat_holder.js
|
104
|
+
- lib/assets/jzip/rich.js
|
105
|
+
- lib/assets/jzip/rich/i18n.js
|
106
|
+
- lib/assets/jzip/rich_i18n.jz
|
63
107
|
- lib/rich/i18n.rb
|
64
108
|
- lib/rich/i18n/actionpack.rb
|
109
|
+
- lib/rich/i18n/actionpack/action_controller/base.rb
|
65
110
|
- lib/rich/i18n/actionpack/action_controller/dispatcher.rb
|
66
111
|
- lib/rich/i18n/actionpack/action_view/base.rb
|
67
112
|
- lib/rich/i18n/actionpack/action_view/sanitizor.rb
|
@@ -87,6 +132,11 @@ files:
|
|
87
132
|
- lib/rich_i18n.rb
|
88
133
|
- locales/nl.yml
|
89
134
|
- rails/init.rb
|
135
|
+
- rails_generators/rich_i18n_translation/rich_i18n_translation_generator.rb
|
136
|
+
- rails_generators/rich_i18n_translation/templates/config.rb
|
137
|
+
- rails_generators/rich_i18n_translation/templates/migration.rb
|
138
|
+
- rails_generators/rich_i18n_translation/templates/model.rb
|
139
|
+
- rich_i18n.gemspec
|
90
140
|
- tasks/rich_i18n_tasks.rake
|
91
141
|
- test/core/string/inflections_test.rb
|
92
142
|
- test/core/string/internationalization_test.rb
|
@@ -109,6 +159,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
109
159
|
requirements:
|
110
160
|
- - ">="
|
111
161
|
- !ruby/object:Gem::Version
|
162
|
+
hash: 3
|
112
163
|
segments:
|
113
164
|
- 0
|
114
165
|
version: "0"
|
@@ -117,6 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
168
|
requirements:
|
118
169
|
- - ">="
|
119
170
|
- !ruby/object:Gem::Version
|
171
|
+
hash: 3
|
120
172
|
segments:
|
121
173
|
- 0
|
122
174
|
version: "0"
|