rails-i18nterface 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/app/controllers/rails_i18nterface/translate_controller.rb +23 -10
- data/app/helpers/rails_i18nterface/translate_helper.rb +7 -14
- data/lib/rails-i18nterface/version.rb +1 -1
- data/spec/controllers/translate_controller_spec.rb +30 -15
- data/spec/internal/log/test.log +2069 -572
- data/spec/internal/tmp/translation_strings +1 -1
- data/spec/lib/keys_spec.rb +2 -1
- metadata +58 -86
@@ -1 +1 @@
|
|
1
|
-
C:-ActiveSupport::HashWithIndifferentAccess{I"article.key1:EF[I"app/models/article.rb;
|
1
|
+
C:-ActiveSupport::HashWithIndifferentAccess{I"article.key1:EF[I"app/models/article.rb;FI"article.key2;F[I"app/models/article.rb;FI"article.key3;F[I"app/models/article.rb;FI"article.key4;F[I"app/models/article.rb;FI"article.key5;F[I"app/models/article.rb;FI"category_erb.key1;F[I"&app/views/categories/category.erb;FI"category_html_erb.key1;F[I"+app/views/categories/category.html.erb;FI"category_rhtml.key1;F[I"(app/views/categories/category.rhtml;FI"
|
data/spec/lib/keys_spec.rb
CHANGED
metadata
CHANGED
@@ -1,68 +1,60 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-i18nterface
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
5
|
-
prerelease:
|
4
|
+
version: 0.2.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Mose
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-04-
|
11
|
+
date: 2013-04-29 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: railties
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 3.1.0
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 3.1.0
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: rake
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: 3.1.0
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: 3.1.0
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: tzinfo
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - '>='
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: 0.3.37
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - '>='
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: 0.3.37
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: combustion
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - ~>
|
68
60
|
- !ruby/object:Gem::Version
|
@@ -70,7 +62,6 @@ dependencies:
|
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
66
|
- - ~>
|
76
67
|
- !ruby/object:Gem::Version
|
@@ -78,7 +69,6 @@ dependencies:
|
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: rspec
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
73
|
- - ~>
|
84
74
|
- !ruby/object:Gem::Version
|
@@ -86,7 +76,6 @@ dependencies:
|
|
86
76
|
type: :development
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
80
|
- - ~>
|
92
81
|
- !ruby/object:Gem::Version
|
@@ -94,7 +83,6 @@ dependencies:
|
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: rspec-rails
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
87
|
- - ~>
|
100
88
|
- !ruby/object:Gem::Version
|
@@ -102,7 +90,6 @@ dependencies:
|
|
102
90
|
type: :development
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
94
|
- - ~>
|
108
95
|
- !ruby/object:Gem::Version
|
@@ -110,65 +97,57 @@ dependencies:
|
|
110
97
|
- !ruby/object:Gem::Dependency
|
111
98
|
name: capybara
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
100
|
requirements:
|
115
|
-
- -
|
101
|
+
- - '>='
|
116
102
|
- !ruby/object:Gem::Version
|
117
103
|
version: '0'
|
118
104
|
type: :development
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
107
|
requirements:
|
123
|
-
- -
|
108
|
+
- - '>='
|
124
109
|
- !ruby/object:Gem::Version
|
125
110
|
version: '0'
|
126
111
|
- !ruby/object:Gem::Dependency
|
127
112
|
name: simplecov
|
128
113
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
114
|
requirements:
|
131
|
-
- -
|
115
|
+
- - '>='
|
132
116
|
- !ruby/object:Gem::Version
|
133
117
|
version: '0'
|
134
118
|
type: :development
|
135
119
|
prerelease: false
|
136
120
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
121
|
requirements:
|
139
|
-
- -
|
122
|
+
- - '>='
|
140
123
|
- !ruby/object:Gem::Version
|
141
124
|
version: '0'
|
142
125
|
- !ruby/object:Gem::Dependency
|
143
126
|
name: metric_fu
|
144
127
|
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
128
|
requirements:
|
147
|
-
- -
|
129
|
+
- - '>='
|
148
130
|
- !ruby/object:Gem::Version
|
149
131
|
version: '0'
|
150
132
|
type: :development
|
151
133
|
prerelease: false
|
152
134
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
135
|
requirements:
|
155
|
-
- -
|
136
|
+
- - '>='
|
156
137
|
- !ruby/object:Gem::Version
|
157
138
|
version: '0'
|
158
139
|
- !ruby/object:Gem::Dependency
|
159
140
|
name: rubocop
|
160
141
|
requirement: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
142
|
requirements:
|
163
|
-
- -
|
143
|
+
- - '>='
|
164
144
|
- !ruby/object:Gem::Version
|
165
145
|
version: '0'
|
166
146
|
type: :development
|
167
147
|
prerelease: false
|
168
148
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
none: false
|
170
149
|
requirements:
|
171
|
-
- -
|
150
|
+
- - '>='
|
172
151
|
- !ruby/object:Gem::Version
|
173
152
|
version: '0'
|
174
153
|
description: A rails 3.1/4 engine adding an interface for translating and writing
|
@@ -182,106 +161,99 @@ files:
|
|
182
161
|
- app/helpers/rails_i18nterface/application_helper.rb
|
183
162
|
- app/helpers/rails_i18nterface/translate_helper.rb
|
184
163
|
- app/views/layouts/rails_i18nterface/translate.html.erb
|
185
|
-
- app/views/rails_i18nterface/translate/_namespaces.html.erb
|
186
164
|
- app/views/rails_i18nterface/translate/index.html.erb
|
187
165
|
- app/views/rails_i18nterface/translate/_pagination.html.erb
|
188
|
-
- app/
|
189
|
-
- app/assets/
|
166
|
+
- app/views/rails_i18nterface/translate/_namespaces.html.erb
|
167
|
+
- app/assets/stylesheets/rails_i18nterface/application.css
|
190
168
|
- app/assets/javascripts/rails_i18nterface/application.js
|
191
169
|
- app/assets/javascripts/rails_i18nterface/ender.min.js
|
192
|
-
- app/assets/
|
170
|
+
- app/assets/javascripts/rails_i18nterface/ender.js
|
171
|
+
- app/assets/javascripts/rails_i18nterface/base.js
|
193
172
|
- app/controllers/rails_i18nterface/application_controller.rb
|
194
173
|
- app/controllers/rails_i18nterface/translate_controller.rb
|
195
174
|
- config/routes.rb
|
196
175
|
- lib/tasks/rails-i18nterface.rake
|
197
|
-
- lib/rails-i18nterface.rb
|
198
|
-
- lib/rails-i18nterface/keys.rb
|
199
|
-
- lib/rails-i18nterface/sourcefiles.rb
|
200
176
|
- lib/rails-i18nterface/cache.rb
|
201
177
|
- lib/rails-i18nterface/utils.rb
|
202
178
|
- lib/rails-i18nterface/engine.rb
|
203
179
|
- lib/rails-i18nterface/yamlfile.rb
|
204
180
|
- lib/rails-i18nterface/version.rb
|
181
|
+
- lib/rails-i18nterface/keys.rb
|
182
|
+
- lib/rails-i18nterface/sourcefiles.rb
|
183
|
+
- lib/rails-i18nterface.rb
|
205
184
|
- MIT-LICENSE
|
206
185
|
- Rakefile
|
207
186
|
- README.md
|
208
|
-
- spec/
|
209
|
-
- spec/internal/
|
210
|
-
- spec/internal/app/views/categories/category.html.erb
|
211
|
-
- spec/internal/app/views/categories/category.rhtml
|
212
|
-
- spec/internal/app/views/categories/category.erb
|
213
|
-
- spec/internal/app/views/application/index.html.erb
|
187
|
+
- spec/spec_helper.rb
|
188
|
+
- spec/internal/log/test.log
|
214
189
|
- spec/internal/app/models/article.rb
|
215
|
-
- spec/internal/app/
|
190
|
+
- spec/internal/app/views/application/index.html.erb
|
191
|
+
- spec/internal/app/views/categories/category.erb
|
192
|
+
- spec/internal/app/views/categories/category.rhtml
|
193
|
+
- spec/internal/app/views/categories/category.html.erb
|
194
|
+
- spec/internal/app/views/categories/category.html
|
216
195
|
- spec/internal/app/assets/stylesheets/application.css
|
196
|
+
- spec/internal/app/assets/javascripts/application.js
|
217
197
|
- spec/internal/app/controllers/application_controller.rb
|
218
|
-
- spec/internal/log/test.log
|
219
|
-
- spec/internal/tmp/translation_strings
|
220
|
-
- spec/internal/config/routes.rb
|
221
198
|
- spec/internal/config/database.yml
|
199
|
+
- spec/internal/config/routes.rb
|
200
|
+
- spec/internal/tmp/translation_strings
|
222
201
|
- spec/internal/db/schema.rb
|
223
202
|
- spec/internal/db/combustion_test.sqlite
|
224
|
-
- spec/
|
203
|
+
- spec/internal/public/favicon.ico
|
204
|
+
- spec/lib/sourcefiles_spec.rb
|
205
|
+
- spec/lib/keys_spec.rb
|
225
206
|
- spec/lib/utils_spec.rb
|
226
|
-
- spec/lib/cache_spec.rb
|
227
207
|
- spec/lib/yamlfile_spec.rb
|
228
|
-
- spec/lib/
|
229
|
-
- spec/
|
230
|
-
- spec/spec_helper.rb
|
208
|
+
- spec/lib/cache_spec.rb
|
209
|
+
- spec/requests/search_spec.rb
|
231
210
|
- spec/controllers/translate_controller_spec.rb
|
232
211
|
homepage: https://github.com/mose/rails-i18nterface
|
233
212
|
licenses:
|
234
213
|
- MIT
|
214
|
+
metadata: {}
|
235
215
|
post_install_message:
|
236
216
|
rdoc_options: []
|
237
217
|
require_paths:
|
238
218
|
- lib
|
239
219
|
required_ruby_version: !ruby/object:Gem::Requirement
|
240
|
-
none: false
|
241
220
|
requirements:
|
242
|
-
- -
|
221
|
+
- - '>='
|
243
222
|
- !ruby/object:Gem::Version
|
244
223
|
version: '0'
|
245
|
-
segments:
|
246
|
-
- 0
|
247
|
-
hash: -901846675
|
248
224
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
249
|
-
none: false
|
250
225
|
requirements:
|
251
|
-
- -
|
226
|
+
- - '>='
|
252
227
|
- !ruby/object:Gem::Version
|
253
228
|
version: '0'
|
254
|
-
segments:
|
255
|
-
- 0
|
256
|
-
hash: -901846675
|
257
229
|
requirements: []
|
258
230
|
rubyforge_project:
|
259
|
-
rubygems_version:
|
231
|
+
rubygems_version: 2.0.0.rc.2
|
260
232
|
signing_key:
|
261
|
-
specification_version:
|
233
|
+
specification_version: 4
|
262
234
|
summary: A rails 3.1/4 engine for translating in a web page.
|
263
235
|
test_files:
|
264
|
-
- spec/
|
265
|
-
- spec/internal/
|
266
|
-
- spec/internal/app/views/categories/category.html.erb
|
267
|
-
- spec/internal/app/views/categories/category.rhtml
|
268
|
-
- spec/internal/app/views/categories/category.erb
|
269
|
-
- spec/internal/app/views/application/index.html.erb
|
236
|
+
- spec/spec_helper.rb
|
237
|
+
- spec/internal/log/test.log
|
270
238
|
- spec/internal/app/models/article.rb
|
271
|
-
- spec/internal/app/
|
239
|
+
- spec/internal/app/views/application/index.html.erb
|
240
|
+
- spec/internal/app/views/categories/category.erb
|
241
|
+
- spec/internal/app/views/categories/category.rhtml
|
242
|
+
- spec/internal/app/views/categories/category.html.erb
|
243
|
+
- spec/internal/app/views/categories/category.html
|
272
244
|
- spec/internal/app/assets/stylesheets/application.css
|
245
|
+
- spec/internal/app/assets/javascripts/application.js
|
273
246
|
- spec/internal/app/controllers/application_controller.rb
|
274
|
-
- spec/internal/log/test.log
|
275
|
-
- spec/internal/tmp/translation_strings
|
276
|
-
- spec/internal/config/routes.rb
|
277
247
|
- spec/internal/config/database.yml
|
248
|
+
- spec/internal/config/routes.rb
|
249
|
+
- spec/internal/tmp/translation_strings
|
278
250
|
- spec/internal/db/schema.rb
|
279
251
|
- spec/internal/db/combustion_test.sqlite
|
280
|
-
- spec/
|
252
|
+
- spec/internal/public/favicon.ico
|
253
|
+
- spec/lib/sourcefiles_spec.rb
|
254
|
+
- spec/lib/keys_spec.rb
|
281
255
|
- spec/lib/utils_spec.rb
|
282
|
-
- spec/lib/cache_spec.rb
|
283
256
|
- spec/lib/yamlfile_spec.rb
|
284
|
-
- spec/lib/
|
285
|
-
- spec/
|
286
|
-
- spec/spec_helper.rb
|
257
|
+
- spec/lib/cache_spec.rb
|
258
|
+
- spec/requests/search_spec.rb
|
287
259
|
- spec/controllers/translate_controller_spec.rb
|