redis_dictionary 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.md +37 -0
- data/Rakefile +41 -0
- data/app/assets/javascripts/redis_dictionary/application.js +16 -0
- data/app/assets/javascripts/redis_dictionary/bootstrap.js +10 -0
- data/app/assets/javascripts/redis_dictionary/jquery.autosize.js +192 -0
- data/app/assets/javascripts/redis_dictionary/translations.js +35 -0
- data/app/assets/stylesheets/redis_dictionary/application.css +13 -0
- data/app/assets/stylesheets/redis_dictionary/bootstrap_and_overrides.css +7 -0
- data/app/assets/stylesheets/redis_dictionary/translations.css +42 -0
- data/app/controllers/redis_dictionary/application_controller.rb +25 -0
- data/app/controllers/redis_dictionary/translations_controller.rb +51 -0
- data/app/helpers/redis_dictionary/application_helper.rb +39 -0
- data/app/models/redis_dictionary/translation.rb +64 -0
- data/app/views/layouts/redis_dictionary/application.html.erb +43 -0
- data/app/views/redis_dictionary/translations/_key_translation.html.erb +22 -0
- data/app/views/redis_dictionary/translations/create.js.erb +14 -0
- data/app/views/redis_dictionary/translations/destroy.js.erb +2 -0
- data/app/views/redis_dictionary/translations/index.html.erb +69 -0
- data/config/environment.rb +1 -0
- data/config/initializers/will_paginate.rb +1 -0
- data/config/routes.rb +14 -0
- data/lib/redis_dictionary.rb +25 -0
- data/lib/redis_dictionary/configuration.rb +21 -0
- data/lib/redis_dictionary/engine.rb +53 -0
- data/lib/redis_dictionary/version.rb +3 -0
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/images/favicon.ico +0 -0
- data/test/dummy/app/assets/javascripts/application.js +15 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +4 -0
- data/test/dummy/app/helpers/application_helper.rb +3 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +59 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +6 -0
- data/test/dummy/config/environments/development.rb +33 -0
- data/test/dummy/config/environments/production.rb +70 -0
- data/test/dummy/config/environments/test.rb +37 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +8 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +6 -0
- data/test/dummy/config/initializers/secret_token.rb +9 -0
- data/test/dummy/config/initializers/session_store.rb +9 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +15 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/db/schema.rb +16 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +1003 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +7 -0
- data/test/functional/redis_dictionary/translations_controller_test.rb +37 -0
- data/test/integration/redis_dictionary/translations_test.rb +113 -0
- data/test/redis_dictionary/configuration_test.rb +24 -0
- data/test/redis_dictionary_test.rb +22 -0
- data/test/test_helper.rb +43 -0
- data/test/unit/helpers/redis_dictionary/application_helper_test.rb +61 -0
- data/test/unit/redis_dictionary/translation_test.rb +89 -0
- metadata +360 -0
metadata
ADDED
@@ -0,0 +1,360 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: redis_dictionary
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.9.8
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Fourmach
|
9
|
+
- José Galisteo Ruiz
|
10
|
+
- redrick
|
11
|
+
autorequire:
|
12
|
+
bindir: bin
|
13
|
+
cert_chain: []
|
14
|
+
date: 2013-10-01 00:00:00.000000000 Z
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: rails
|
18
|
+
requirement: !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
20
|
+
requirements:
|
21
|
+
- - ! '>='
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '0'
|
24
|
+
type: :runtime
|
25
|
+
prerelease: false
|
26
|
+
version_requirements: !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
28
|
+
requirements:
|
29
|
+
- - ! '>='
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
version: '0'
|
32
|
+
- !ruby/object:Gem::Dependency
|
33
|
+
name: jquery-rails
|
34
|
+
requirement: !ruby/object:Gem::Requirement
|
35
|
+
none: false
|
36
|
+
requirements:
|
37
|
+
- - ! '>='
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0'
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
44
|
+
requirements:
|
45
|
+
- - ! '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: jquery-ui-rails
|
50
|
+
requirement: !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
52
|
+
requirements:
|
53
|
+
- - ! '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
type: :runtime
|
57
|
+
prerelease: false
|
58
|
+
version_requirements: !ruby/object:Gem::Requirement
|
59
|
+
none: false
|
60
|
+
requirements:
|
61
|
+
- - ! '>='
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0'
|
64
|
+
- !ruby/object:Gem::Dependency
|
65
|
+
name: redis
|
66
|
+
requirement: !ruby/object:Gem::Requirement
|
67
|
+
none: false
|
68
|
+
requirements:
|
69
|
+
- - ! '>='
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '0'
|
72
|
+
type: :runtime
|
73
|
+
prerelease: false
|
74
|
+
version_requirements: !ruby/object:Gem::Requirement
|
75
|
+
none: false
|
76
|
+
requirements:
|
77
|
+
- - ! '>='
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '0'
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: uglifier
|
82
|
+
requirement: !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
88
|
+
type: :runtime
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: !ruby/object:Gem::Requirement
|
91
|
+
none: false
|
92
|
+
requirements:
|
93
|
+
- - ! '>='
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
- !ruby/object:Gem::Dependency
|
97
|
+
name: will_paginate
|
98
|
+
requirement: !ruby/object:Gem::Requirement
|
99
|
+
none: false
|
100
|
+
requirements:
|
101
|
+
- - ! '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
none: false
|
108
|
+
requirements:
|
109
|
+
- - ! '>='
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '0'
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
name: less-rails
|
114
|
+
requirement: !ruby/object:Gem::Requirement
|
115
|
+
none: false
|
116
|
+
requirements:
|
117
|
+
- - ! '>='
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '0'
|
120
|
+
type: :runtime
|
121
|
+
prerelease: false
|
122
|
+
version_requirements: !ruby/object:Gem::Requirement
|
123
|
+
none: false
|
124
|
+
requirements:
|
125
|
+
- - ! '>='
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
version: '0'
|
128
|
+
- !ruby/object:Gem::Dependency
|
129
|
+
name: twitter-bootstrap-rails
|
130
|
+
requirement: !ruby/object:Gem::Requirement
|
131
|
+
none: false
|
132
|
+
requirements:
|
133
|
+
- - ! '>='
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '0'
|
136
|
+
type: :runtime
|
137
|
+
prerelease: false
|
138
|
+
version_requirements: !ruby/object:Gem::Requirement
|
139
|
+
none: false
|
140
|
+
requirements:
|
141
|
+
- - ! '>='
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '0'
|
144
|
+
- !ruby/object:Gem::Dependency
|
145
|
+
name: simplecov
|
146
|
+
requirement: !ruby/object:Gem::Requirement
|
147
|
+
none: false
|
148
|
+
requirements:
|
149
|
+
- - ! '>='
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: '0'
|
152
|
+
type: :development
|
153
|
+
prerelease: false
|
154
|
+
version_requirements: !ruby/object:Gem::Requirement
|
155
|
+
none: false
|
156
|
+
requirements:
|
157
|
+
- - ! '>='
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
- !ruby/object:Gem::Dependency
|
161
|
+
name: coveralls
|
162
|
+
requirement: !ruby/object:Gem::Requirement
|
163
|
+
none: false
|
164
|
+
requirements:
|
165
|
+
- - ! '>='
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: '0'
|
168
|
+
type: :development
|
169
|
+
prerelease: false
|
170
|
+
version_requirements: !ruby/object:Gem::Requirement
|
171
|
+
none: false
|
172
|
+
requirements:
|
173
|
+
- - ! '>='
|
174
|
+
- !ruby/object:Gem::Version
|
175
|
+
version: '0'
|
176
|
+
- !ruby/object:Gem::Dependency
|
177
|
+
name: capybara
|
178
|
+
requirement: !ruby/object:Gem::Requirement
|
179
|
+
none: false
|
180
|
+
requirements:
|
181
|
+
- - ! '>='
|
182
|
+
- !ruby/object:Gem::Version
|
183
|
+
version: '0'
|
184
|
+
type: :development
|
185
|
+
prerelease: false
|
186
|
+
version_requirements: !ruby/object:Gem::Requirement
|
187
|
+
none: false
|
188
|
+
requirements:
|
189
|
+
- - ! '>='
|
190
|
+
- !ruby/object:Gem::Version
|
191
|
+
version: '0'
|
192
|
+
- !ruby/object:Gem::Dependency
|
193
|
+
name: poltergeist
|
194
|
+
requirement: !ruby/object:Gem::Requirement
|
195
|
+
none: false
|
196
|
+
requirements:
|
197
|
+
- - ! '>='
|
198
|
+
- !ruby/object:Gem::Version
|
199
|
+
version: '0'
|
200
|
+
type: :development
|
201
|
+
prerelease: false
|
202
|
+
version_requirements: !ruby/object:Gem::Requirement
|
203
|
+
none: false
|
204
|
+
requirements:
|
205
|
+
- - ! '>='
|
206
|
+
- !ruby/object:Gem::Version
|
207
|
+
version: '0'
|
208
|
+
- !ruby/object:Gem::Dependency
|
209
|
+
name: sqlite3
|
210
|
+
requirement: !ruby/object:Gem::Requirement
|
211
|
+
none: false
|
212
|
+
requirements:
|
213
|
+
- - ! '>='
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
none: false
|
220
|
+
requirements:
|
221
|
+
- - ! '>='
|
222
|
+
- !ruby/object:Gem::Version
|
223
|
+
version: '0'
|
224
|
+
description:
|
225
|
+
email:
|
226
|
+
- cheaterblue@gmail.com
|
227
|
+
executables: []
|
228
|
+
extensions: []
|
229
|
+
extra_rdoc_files: []
|
230
|
+
files:
|
231
|
+
- app/assets/javascripts/redis_dictionary/application.js
|
232
|
+
- app/assets/javascripts/redis_dictionary/bootstrap.js
|
233
|
+
- app/assets/javascripts/redis_dictionary/jquery.autosize.js
|
234
|
+
- app/assets/javascripts/redis_dictionary/translations.js
|
235
|
+
- app/assets/stylesheets/redis_dictionary/application.css
|
236
|
+
- app/assets/stylesheets/redis_dictionary/bootstrap_and_overrides.css
|
237
|
+
- app/assets/stylesheets/redis_dictionary/translations.css
|
238
|
+
- app/controllers/redis_dictionary/application_controller.rb
|
239
|
+
- app/controllers/redis_dictionary/translations_controller.rb
|
240
|
+
- app/helpers/redis_dictionary/application_helper.rb
|
241
|
+
- app/models/redis_dictionary/translation.rb
|
242
|
+
- app/views/layouts/redis_dictionary/application.html.erb
|
243
|
+
- app/views/redis_dictionary/translations/_key_translation.html.erb
|
244
|
+
- app/views/redis_dictionary/translations/create.js.erb
|
245
|
+
- app/views/redis_dictionary/translations/destroy.js.erb
|
246
|
+
- app/views/redis_dictionary/translations/index.html.erb
|
247
|
+
- config/environment.rb
|
248
|
+
- config/initializers/will_paginate.rb
|
249
|
+
- config/routes.rb
|
250
|
+
- lib/redis_dictionary/configuration.rb
|
251
|
+
- lib/redis_dictionary/engine.rb
|
252
|
+
- lib/redis_dictionary/version.rb
|
253
|
+
- lib/redis_dictionary.rb
|
254
|
+
- MIT-LICENSE
|
255
|
+
- Rakefile
|
256
|
+
- README.md
|
257
|
+
- test/dummy/app/assets/images/favicon.ico
|
258
|
+
- test/dummy/app/assets/javascripts/application.js
|
259
|
+
- test/dummy/app/assets/stylesheets/application.css
|
260
|
+
- test/dummy/app/controllers/application_controller.rb
|
261
|
+
- test/dummy/app/helpers/application_helper.rb
|
262
|
+
- test/dummy/app/views/layouts/application.html.erb
|
263
|
+
- test/dummy/config/application.rb
|
264
|
+
- test/dummy/config/boot.rb
|
265
|
+
- test/dummy/config/database.yml
|
266
|
+
- test/dummy/config/environment.rb
|
267
|
+
- test/dummy/config/environments/development.rb
|
268
|
+
- test/dummy/config/environments/production.rb
|
269
|
+
- test/dummy/config/environments/test.rb
|
270
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
271
|
+
- test/dummy/config/initializers/inflections.rb
|
272
|
+
- test/dummy/config/initializers/mime_types.rb
|
273
|
+
- test/dummy/config/initializers/secret_token.rb
|
274
|
+
- test/dummy/config/initializers/session_store.rb
|
275
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
276
|
+
- test/dummy/config/locales/en.yml
|
277
|
+
- test/dummy/config/routes.rb
|
278
|
+
- test/dummy/config.ru
|
279
|
+
- test/dummy/db/schema.rb
|
280
|
+
- test/dummy/db/test.sqlite3
|
281
|
+
- test/dummy/log/test.log
|
282
|
+
- test/dummy/public/404.html
|
283
|
+
- test/dummy/public/422.html
|
284
|
+
- test/dummy/public/500.html
|
285
|
+
- test/dummy/public/favicon.ico
|
286
|
+
- test/dummy/Rakefile
|
287
|
+
- test/dummy/README.rdoc
|
288
|
+
- test/dummy/script/rails
|
289
|
+
- test/functional/redis_dictionary/translations_controller_test.rb
|
290
|
+
- test/integration/redis_dictionary/translations_test.rb
|
291
|
+
- test/redis_dictionary/configuration_test.rb
|
292
|
+
- test/redis_dictionary_test.rb
|
293
|
+
- test/test_helper.rb
|
294
|
+
- test/unit/helpers/redis_dictionary/application_helper_test.rb
|
295
|
+
- test/unit/redis_dictionary/translation_test.rb
|
296
|
+
homepage: https://github.com/redrick/redis_dictionary
|
297
|
+
licenses: []
|
298
|
+
post_install_message:
|
299
|
+
rdoc_options: []
|
300
|
+
require_paths:
|
301
|
+
- lib
|
302
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
303
|
+
none: false
|
304
|
+
requirements:
|
305
|
+
- - ! '>='
|
306
|
+
- !ruby/object:Gem::Version
|
307
|
+
version: 1.9.3
|
308
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
309
|
+
none: false
|
310
|
+
requirements:
|
311
|
+
- - ! '>='
|
312
|
+
- !ruby/object:Gem::Version
|
313
|
+
version: '0'
|
314
|
+
requirements: []
|
315
|
+
rubyforge_project:
|
316
|
+
rubygems_version: 1.8.25
|
317
|
+
signing_key:
|
318
|
+
specification_version: 3
|
319
|
+
summary: Rails frontend for i18n with redis backend as extended version of fourmach/i18n_dashboard
|
320
|
+
gem.
|
321
|
+
test_files:
|
322
|
+
- test/dummy/app/assets/images/favicon.ico
|
323
|
+
- test/dummy/app/assets/javascripts/application.js
|
324
|
+
- test/dummy/app/assets/stylesheets/application.css
|
325
|
+
- test/dummy/app/controllers/application_controller.rb
|
326
|
+
- test/dummy/app/helpers/application_helper.rb
|
327
|
+
- test/dummy/app/views/layouts/application.html.erb
|
328
|
+
- test/dummy/config/application.rb
|
329
|
+
- test/dummy/config/boot.rb
|
330
|
+
- test/dummy/config/database.yml
|
331
|
+
- test/dummy/config/environment.rb
|
332
|
+
- test/dummy/config/environments/development.rb
|
333
|
+
- test/dummy/config/environments/production.rb
|
334
|
+
- test/dummy/config/environments/test.rb
|
335
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
336
|
+
- test/dummy/config/initializers/inflections.rb
|
337
|
+
- test/dummy/config/initializers/mime_types.rb
|
338
|
+
- test/dummy/config/initializers/secret_token.rb
|
339
|
+
- test/dummy/config/initializers/session_store.rb
|
340
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
341
|
+
- test/dummy/config/locales/en.yml
|
342
|
+
- test/dummy/config/routes.rb
|
343
|
+
- test/dummy/config.ru
|
344
|
+
- test/dummy/db/schema.rb
|
345
|
+
- test/dummy/db/test.sqlite3
|
346
|
+
- test/dummy/log/test.log
|
347
|
+
- test/dummy/public/404.html
|
348
|
+
- test/dummy/public/422.html
|
349
|
+
- test/dummy/public/500.html
|
350
|
+
- test/dummy/public/favicon.ico
|
351
|
+
- test/dummy/Rakefile
|
352
|
+
- test/dummy/README.rdoc
|
353
|
+
- test/dummy/script/rails
|
354
|
+
- test/functional/redis_dictionary/translations_controller_test.rb
|
355
|
+
- test/integration/redis_dictionary/translations_test.rb
|
356
|
+
- test/redis_dictionary/configuration_test.rb
|
357
|
+
- test/redis_dictionary_test.rb
|
358
|
+
- test/test_helper.rb
|
359
|
+
- test/unit/helpers/redis_dictionary/application_helper_test.rb
|
360
|
+
- test/unit/redis_dictionary/translation_test.rb
|