mlanett-i18n-js 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,9 @@
1
+ <%# encoding: utf-8%>
2
+
3
+ <% SimplesIdeias::I18n.assert_usable_configuration! %>
4
+ var I18n = I18n || {};
5
+ I18n.translations = $.extend(true, I18n.translations, <%=
6
+ SimplesIdeias::I18n.deep_sort(SimplesIdeias::I18n.translation_segments.each_with_object({}) do |(name, segment),translations|
7
+ translations.merge!(segment)
8
+ end).to_json
9
+ %>);
metadata ADDED
@@ -0,0 +1,197 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mlanett-i18n-js
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.1.2
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Nando Vieira
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-10-15 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: i18n
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: fakeweb
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: activesupport
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: 3.0.0
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: 3.0.0
62
+ - !ruby/object:Gem::Dependency
63
+ name: rspec
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: '2.6'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: '2.6'
78
+ - !ruby/object:Gem::Dependency
79
+ name: spec-js
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ~>
84
+ - !ruby/object:Gem::Version
85
+ version: 0.1.0.beta.0
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 0.1.0.beta.0
94
+ - !ruby/object:Gem::Dependency
95
+ name: rake
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: pry
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ description: It's a small library to provide the Rails I18n translations on the Javascript.
127
+ email:
128
+ - fnando.vieira@gmail.com
129
+ executables: []
130
+ extensions: []
131
+ extra_rdoc_files: []
132
+ files:
133
+ - .gitignore
134
+ - .rspec
135
+ - Gemfile
136
+ - Gemfile.lock
137
+ - README.rdoc
138
+ - Rakefile
139
+ - config/i18n-js.yml
140
+ - i18n-js.gemspec
141
+ - lib/i18n-js.rb
142
+ - lib/i18n-js/engine.rb
143
+ - lib/i18n-js/middleware.rb
144
+ - lib/i18n-js/railtie.rb
145
+ - lib/i18n-js/rake.rb
146
+ - lib/i18n-js/version.rb
147
+ - spec/i18n_spec.js
148
+ - spec/i18n_spec.rb
149
+ - spec/resources/custom_path.yml
150
+ - spec/resources/default.yml
151
+ - spec/resources/js_file_per_locale.yml
152
+ - spec/resources/locales.yml
153
+ - spec/resources/multiple_conditions.yml
154
+ - spec/resources/multiple_files.yml
155
+ - spec/resources/no_config.yml
156
+ - spec/resources/no_scope.yml
157
+ - spec/resources/simple_scope.yml
158
+ - spec/spec_helper.rb
159
+ - vendor/assets/javascripts/i18n.js
160
+ - vendor/assets/javascripts/i18n/translations.js.erb
161
+ homepage: http://rubygems.org/gems/i18n-js
162
+ licenses: []
163
+ post_install_message:
164
+ rdoc_options: []
165
+ require_paths:
166
+ - lib
167
+ required_ruby_version: !ruby/object:Gem::Requirement
168
+ none: false
169
+ requirements:
170
+ - - ! '>='
171
+ - !ruby/object:Gem::Version
172
+ version: '0'
173
+ required_rubygems_version: !ruby/object:Gem::Requirement
174
+ none: false
175
+ requirements:
176
+ - - ! '>='
177
+ - !ruby/object:Gem::Version
178
+ version: '0'
179
+ requirements: []
180
+ rubyforge_project:
181
+ rubygems_version: 1.8.23
182
+ signing_key:
183
+ specification_version: 3
184
+ summary: It's a small library to provide the Rails I18n translations on the Javascript.
185
+ test_files:
186
+ - spec/i18n_spec.js
187
+ - spec/i18n_spec.rb
188
+ - spec/resources/custom_path.yml
189
+ - spec/resources/default.yml
190
+ - spec/resources/js_file_per_locale.yml
191
+ - spec/resources/locales.yml
192
+ - spec/resources/multiple_conditions.yml
193
+ - spec/resources/multiple_files.yml
194
+ - spec/resources/no_config.yml
195
+ - spec/resources/no_scope.yml
196
+ - spec/resources/simple_scope.yml
197
+ - spec/spec_helper.rb