ecm_downloads2 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +57 -0
  4. data/Rakefile +34 -0
  5. data/app/assets/images/ecm_downloads/download_categories/last_node.png +0 -0
  6. data/app/assets/images/ecm_downloads/download_categories/node.png +0 -0
  7. data/app/assets/images/ecm_downloads/download_categories/vertical_line.png +0 -0
  8. data/app/assets/stylesheets/ecm_downloads/downloads_categories.css.erb +30 -0
  9. data/app/assets/stylesheets/ecm_downloads.css +1 -0
  10. data/app/controllers/ecm/downloads/download_categories_controller.rb +9 -0
  11. data/app/controllers/ecm/downloads/downloads_controller.rb +15 -0
  12. data/app/decorators/ecm/downloads/download_category_decorator.rb +18 -0
  13. data/app/decorators/ecm/downloads/download_decorator.rb +21 -0
  14. data/app/helpers/ecm/downloads/download_category_helper.rb +12 -0
  15. data/app/helpers/ecm/downloads/download_helper.rb +12 -0
  16. data/app/models/ecm/downloads/download.rb +89 -0
  17. data/app/models/ecm/downloads/download_category.rb +79 -0
  18. data/app/views/ecm/downloads/download_categories/_download_category.html.erb +22 -0
  19. data/app/views/ecm/downloads/download_categories/_download_category_in_index.html.erb +5 -0
  20. data/app/views/ecm/downloads/download_categories/index.html.erb +5 -0
  21. data/app/views/ecm/downloads/download_categories/show.html.erb +9 -0
  22. data/app/views/ecm/downloads/downloads/_download.html.erb +11 -0
  23. data/app/views/ecm/downloads/downloads/_download_in_table.html.erb +10 -0
  24. data/app/views/ecm/downloads/downloads/_table.html.erb +7 -0
  25. data/app/views/ecm/downloads/downloads/index.html.erb +3 -0
  26. data/app/views/ecm/downloads/downloads/show.html.erb +7 -0
  27. data/config/locales/active_admin.patch.de.yml +29 -0
  28. data/config/locales/ecm.downloads.de.yml +16 -0
  29. data/config/locales/ecm.downloads.download.de.yml +28 -0
  30. data/config/locales/ecm.downloads.download.en.yml +28 -0
  31. data/config/locales/ecm.downloads.download_category.de.yml +27 -0
  32. data/config/locales/ecm.downloads.download_category.en.yml +27 -0
  33. data/config/locales/ecm.downloads.en.yml +16 -0
  34. data/config/routes.rb +5 -0
  35. data/db/migrate/001_create_ecm_downloads_download_categories.rb +24 -0
  36. data/db/migrate/002_create_ecm_downloads_downloads.rb +31 -0
  37. data/lib/ecm/downloads/active_admin/ecm_downloads_download_categories.rb +138 -0
  38. data/lib/ecm/downloads/active_admin/ecm_downloads_downloads.rb +49 -0
  39. data/lib/ecm/downloads/configuration.rb +22 -0
  40. data/lib/ecm/downloads/engine.rb +21 -0
  41. data/lib/ecm/downloads/routing.rb +26 -0
  42. data/lib/ecm/downloads/version.rb +6 -0
  43. data/lib/ecm_downloads2.rb +20 -0
  44. data/lib/generators/ecm/downloads/install/install_generator.rb +16 -0
  45. data/lib/generators/ecm/downloads/install/templates/ecm_downloads.rb +15 -0
  46. data/lib/generators/ecm/downloads/locales/locales_generator.rb +24 -0
  47. data/lib/tasks/ecm_downloads_tasks.rake +52 -0
  48. metadata +488 -0
metadata ADDED
@@ -0,0 +1,488 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ecm_downloads2
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Roberto Vasquez Angel
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-10-25 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '4.0'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '5.0'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '4.0'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '5.0'
33
+ - !ruby/object:Gem::Dependency
34
+ name: active_admin-acts_as_list
35
+ requirement: !ruby/object:Gem::Requirement
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
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: active_admin-awesome_nested_set
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: acts_as_list
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ type: :runtime
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ - !ruby/object:Gem::Dependency
76
+ name: acts_as_published
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ type: :runtime
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ - !ruby/object:Gem::Dependency
90
+ name: awesome_nested_set
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ type: :runtime
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ - !ruby/object:Gem::Dependency
104
+ name: awesome_nested_set-tools
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ type: :runtime
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ - !ruby/object:Gem::Dependency
118
+ name: friendly_id
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ type: :runtime
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
131
+ - !ruby/object:Gem::Dependency
132
+ name: paperclip
133
+ requirement: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
138
+ type: :runtime
139
+ prerelease: false
140
+ version_requirements: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ version: '0'
145
+ - !ruby/object:Gem::Dependency
146
+ name: draper
147
+ requirement: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ version: '0'
152
+ type: :runtime
153
+ prerelease: false
154
+ version_requirements: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - ">="
157
+ - !ruby/object:Gem::Version
158
+ version: '0'
159
+ - !ruby/object:Gem::Dependency
160
+ name: sqlite3
161
+ requirement: !ruby/object:Gem::Requirement
162
+ requirements:
163
+ - - ">="
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
166
+ type: :development
167
+ prerelease: false
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: '0'
173
+ - !ruby/object:Gem::Dependency
174
+ name: rails-dummy
175
+ requirement: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - ">="
178
+ - !ruby/object:Gem::Version
179
+ version: '0'
180
+ type: :development
181
+ prerelease: false
182
+ version_requirements: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - ">="
185
+ - !ruby/object:Gem::Version
186
+ version: '0'
187
+ - !ruby/object:Gem::Dependency
188
+ name: thin
189
+ requirement: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - ">="
192
+ - !ruby/object:Gem::Version
193
+ version: '0'
194
+ type: :development
195
+ prerelease: false
196
+ version_requirements: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - ">="
199
+ - !ruby/object:Gem::Version
200
+ version: '0'
201
+ - !ruby/object:Gem::Dependency
202
+ name: devise
203
+ requirement: !ruby/object:Gem::Requirement
204
+ requirements:
205
+ - - ">="
206
+ - !ruby/object:Gem::Version
207
+ version: '0'
208
+ type: :development
209
+ prerelease: false
210
+ version_requirements: !ruby/object:Gem::Requirement
211
+ requirements:
212
+ - - ">="
213
+ - !ruby/object:Gem::Version
214
+ version: '0'
215
+ - !ruby/object:Gem::Dependency
216
+ name: activeadmin
217
+ requirement: !ruby/object:Gem::Requirement
218
+ requirements:
219
+ - - "~>"
220
+ - !ruby/object:Gem::Version
221
+ version: 1.0.0.pre2
222
+ type: :development
223
+ prerelease: false
224
+ version_requirements: !ruby/object:Gem::Requirement
225
+ requirements:
226
+ - - "~>"
227
+ - !ruby/object:Gem::Version
228
+ version: 1.0.0.pre2
229
+ - !ruby/object:Gem::Dependency
230
+ name: therubyracer
231
+ requirement: !ruby/object:Gem::Requirement
232
+ requirements:
233
+ - - ">="
234
+ - !ruby/object:Gem::Version
235
+ version: '0'
236
+ type: :development
237
+ prerelease: false
238
+ version_requirements: !ruby/object:Gem::Requirement
239
+ requirements:
240
+ - - ">="
241
+ - !ruby/object:Gem::Version
242
+ version: '0'
243
+ - !ruby/object:Gem::Dependency
244
+ name: less-rails
245
+ requirement: !ruby/object:Gem::Requirement
246
+ requirements:
247
+ - - ">="
248
+ - !ruby/object:Gem::Version
249
+ version: '0'
250
+ type: :development
251
+ prerelease: false
252
+ version_requirements: !ruby/object:Gem::Requirement
253
+ requirements:
254
+ - - ">="
255
+ - !ruby/object:Gem::Version
256
+ version: '0'
257
+ - !ruby/object:Gem::Dependency
258
+ name: twitter-bootstrap-rails
259
+ requirement: !ruby/object:Gem::Requirement
260
+ requirements:
261
+ - - ">="
262
+ - !ruby/object:Gem::Version
263
+ version: '0'
264
+ type: :development
265
+ prerelease: false
266
+ version_requirements: !ruby/object:Gem::Requirement
267
+ requirements:
268
+ - - ">="
269
+ - !ruby/object:Gem::Version
270
+ version: '0'
271
+ - !ruby/object:Gem::Dependency
272
+ name: yard
273
+ requirement: !ruby/object:Gem::Requirement
274
+ requirements:
275
+ - - ">="
276
+ - !ruby/object:Gem::Version
277
+ version: '0'
278
+ type: :development
279
+ prerelease: false
280
+ version_requirements: !ruby/object:Gem::Requirement
281
+ requirements:
282
+ - - ">="
283
+ - !ruby/object:Gem::Version
284
+ version: '0'
285
+ - !ruby/object:Gem::Dependency
286
+ name: sass-rails
287
+ requirement: !ruby/object:Gem::Requirement
288
+ requirements:
289
+ - - ">="
290
+ - !ruby/object:Gem::Version
291
+ version: '0'
292
+ type: :development
293
+ prerelease: false
294
+ version_requirements: !ruby/object:Gem::Requirement
295
+ requirements:
296
+ - - ">="
297
+ - !ruby/object:Gem::Version
298
+ version: '0'
299
+ - !ruby/object:Gem::Dependency
300
+ name: coffee-rails
301
+ requirement: !ruby/object:Gem::Requirement
302
+ requirements:
303
+ - - ">="
304
+ - !ruby/object:Gem::Version
305
+ version: '0'
306
+ type: :development
307
+ prerelease: false
308
+ version_requirements: !ruby/object:Gem::Requirement
309
+ requirements:
310
+ - - ">="
311
+ - !ruby/object:Gem::Version
312
+ version: '0'
313
+ - !ruby/object:Gem::Dependency
314
+ name: capybara
315
+ requirement: !ruby/object:Gem::Requirement
316
+ requirements:
317
+ - - ">="
318
+ - !ruby/object:Gem::Version
319
+ version: '0'
320
+ type: :development
321
+ prerelease: false
322
+ version_requirements: !ruby/object:Gem::Requirement
323
+ requirements:
324
+ - - ">="
325
+ - !ruby/object:Gem::Version
326
+ version: '0'
327
+ - !ruby/object:Gem::Dependency
328
+ name: rspec-rails
329
+ requirement: !ruby/object:Gem::Requirement
330
+ requirements:
331
+ - - ">="
332
+ - !ruby/object:Gem::Version
333
+ version: '0'
334
+ type: :development
335
+ prerelease: false
336
+ version_requirements: !ruby/object:Gem::Requirement
337
+ requirements:
338
+ - - ">="
339
+ - !ruby/object:Gem::Version
340
+ version: '0'
341
+ - !ruby/object:Gem::Dependency
342
+ name: shoulda-matchers
343
+ requirement: !ruby/object:Gem::Requirement
344
+ requirements:
345
+ - - "~>"
346
+ - !ruby/object:Gem::Version
347
+ version: 2.8.0
348
+ type: :development
349
+ prerelease: false
350
+ version_requirements: !ruby/object:Gem::Requirement
351
+ requirements:
352
+ - - "~>"
353
+ - !ruby/object:Gem::Version
354
+ version: 2.8.0
355
+ - !ruby/object:Gem::Dependency
356
+ name: factory_girl_rails
357
+ requirement: !ruby/object:Gem::Requirement
358
+ requirements:
359
+ - - ">="
360
+ - !ruby/object:Gem::Version
361
+ version: '0'
362
+ type: :development
363
+ prerelease: false
364
+ version_requirements: !ruby/object:Gem::Requirement
365
+ requirements:
366
+ - - ">="
367
+ - !ruby/object:Gem::Version
368
+ version: '0'
369
+ - !ruby/object:Gem::Dependency
370
+ name: guard-rails
371
+ requirement: !ruby/object:Gem::Requirement
372
+ requirements:
373
+ - - ">="
374
+ - !ruby/object:Gem::Version
375
+ version: '0'
376
+ type: :development
377
+ prerelease: false
378
+ version_requirements: !ruby/object:Gem::Requirement
379
+ requirements:
380
+ - - ">="
381
+ - !ruby/object:Gem::Version
382
+ version: '0'
383
+ - !ruby/object:Gem::Dependency
384
+ name: guard-bundler
385
+ requirement: !ruby/object:Gem::Requirement
386
+ requirements:
387
+ - - ">="
388
+ - !ruby/object:Gem::Version
389
+ version: '0'
390
+ type: :development
391
+ prerelease: false
392
+ version_requirements: !ruby/object:Gem::Requirement
393
+ requirements:
394
+ - - ">="
395
+ - !ruby/object:Gem::Version
396
+ version: '0'
397
+ - !ruby/object:Gem::Dependency
398
+ name: guard-rspec
399
+ requirement: !ruby/object:Gem::Requirement
400
+ requirements:
401
+ - - ">="
402
+ - !ruby/object:Gem::Version
403
+ version: '0'
404
+ type: :development
405
+ prerelease: false
406
+ version_requirements: !ruby/object:Gem::Requirement
407
+ requirements:
408
+ - - ">="
409
+ - !ruby/object:Gem::Version
410
+ version: '0'
411
+ description: Provides downloads for active admin.
412
+ email:
413
+ - roberto@vasquez-angel.de
414
+ executables: []
415
+ extensions: []
416
+ extra_rdoc_files: []
417
+ files:
418
+ - MIT-LICENSE
419
+ - README.rdoc
420
+ - Rakefile
421
+ - app/assets/images/ecm_downloads/download_categories/last_node.png
422
+ - app/assets/images/ecm_downloads/download_categories/node.png
423
+ - app/assets/images/ecm_downloads/download_categories/vertical_line.png
424
+ - app/assets/stylesheets/ecm_downloads.css
425
+ - app/assets/stylesheets/ecm_downloads/downloads_categories.css.erb
426
+ - app/controllers/ecm/downloads/download_categories_controller.rb
427
+ - app/controllers/ecm/downloads/downloads_controller.rb
428
+ - app/decorators/ecm/downloads/download_category_decorator.rb
429
+ - app/decorators/ecm/downloads/download_decorator.rb
430
+ - app/helpers/ecm/downloads/download_category_helper.rb
431
+ - app/helpers/ecm/downloads/download_helper.rb
432
+ - app/models/ecm/downloads/download.rb
433
+ - app/models/ecm/downloads/download_category.rb
434
+ - app/views/ecm/downloads/download_categories/_download_category.html.erb
435
+ - app/views/ecm/downloads/download_categories/_download_category_in_index.html.erb
436
+ - app/views/ecm/downloads/download_categories/index.html.erb
437
+ - app/views/ecm/downloads/download_categories/show.html.erb
438
+ - app/views/ecm/downloads/downloads/_download.html.erb
439
+ - app/views/ecm/downloads/downloads/_download_in_table.html.erb
440
+ - app/views/ecm/downloads/downloads/_table.html.erb
441
+ - app/views/ecm/downloads/downloads/index.html.erb
442
+ - app/views/ecm/downloads/downloads/show.html.erb
443
+ - config/locales/active_admin.patch.de.yml
444
+ - config/locales/ecm.downloads.de.yml
445
+ - config/locales/ecm.downloads.download.de.yml
446
+ - config/locales/ecm.downloads.download.en.yml
447
+ - config/locales/ecm.downloads.download_category.de.yml
448
+ - config/locales/ecm.downloads.download_category.en.yml
449
+ - config/locales/ecm.downloads.en.yml
450
+ - config/routes.rb
451
+ - db/migrate/001_create_ecm_downloads_download_categories.rb
452
+ - db/migrate/002_create_ecm_downloads_downloads.rb
453
+ - lib/ecm/downloads/active_admin/ecm_downloads_download_categories.rb
454
+ - lib/ecm/downloads/active_admin/ecm_downloads_downloads.rb
455
+ - lib/ecm/downloads/configuration.rb
456
+ - lib/ecm/downloads/engine.rb
457
+ - lib/ecm/downloads/routing.rb
458
+ - lib/ecm/downloads/version.rb
459
+ - lib/ecm_downloads2.rb
460
+ - lib/generators/ecm/downloads/install/install_generator.rb
461
+ - lib/generators/ecm/downloads/install/templates/ecm_downloads.rb
462
+ - lib/generators/ecm/downloads/locales/locales_generator.rb
463
+ - lib/tasks/ecm_downloads_tasks.rake
464
+ homepage: https://github.com/robotex82/ecm_downloads
465
+ licenses: []
466
+ metadata: {}
467
+ post_install_message:
468
+ rdoc_options: []
469
+ require_paths:
470
+ - lib
471
+ required_ruby_version: !ruby/object:Gem::Requirement
472
+ requirements:
473
+ - - ">="
474
+ - !ruby/object:Gem::Version
475
+ version: '0'
476
+ required_rubygems_version: !ruby/object:Gem::Requirement
477
+ requirements:
478
+ - - ">="
479
+ - !ruby/object:Gem::Version
480
+ version: '0'
481
+ requirements: []
482
+ rubyforge_project:
483
+ rubygems_version: 2.4.8
484
+ signing_key:
485
+ specification_version: 4
486
+ summary: Provides downloads for active admin.
487
+ test_files: []
488
+ has_rdoc: