ecm_products 0.0.1.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +17 -0
  3. data/Rakefile +27 -0
  4. data/app/controllers/ecm/products/product_categories_controller.rb +9 -0
  5. data/app/controllers/ecm/products/products_controller.rb +9 -0
  6. data/app/models/ecm/products/product.rb +97 -0
  7. data/app/models/ecm/products/product_category.rb +71 -0
  8. data/app/models/ecm/products/product_link.rb +23 -0
  9. data/app/models/ecm/products.rb +5 -0
  10. data/app/views/ecm/products/product_categories/_product_category.html.erb +23 -0
  11. data/app/views/ecm/products/product_categories/index.html.erb +6 -0
  12. data/app/views/ecm/products/product_categories/show.html.erb +18 -0
  13. data/app/views/ecm/products/product_links/_product_link.html.erb +12 -0
  14. data/app/views/ecm/products/products/_product.html.erb +29 -0
  15. data/app/views/ecm/products/products/_product_details.html.erb +40 -0
  16. data/app/views/ecm/products/products/_product_preview.html.erb +18 -0
  17. data/app/views/ecm/products/products/index.html.erb +3 -0
  18. data/app/views/ecm/products/products/show.html.erb +1 -0
  19. data/config/locales/ecm.products.de.yml +20 -0
  20. data/config/locales/ecm.products.en.yml +20 -0
  21. data/config/locales/ecm.products.product.de.yml +38 -0
  22. data/config/locales/ecm.products.product.en.yml +38 -0
  23. data/config/locales/ecm.products.product_category.de.yml +35 -0
  24. data/config/locales/ecm.products.product_category.en.yml +35 -0
  25. data/config/locales/ecm.products.product_link.de.yml +17 -0
  26. data/config/locales/ecm.products.product_link.en.yml +17 -0
  27. data/config/locales/ecm.products.routes.de.yml +5 -0
  28. data/config/locales/ecm.products.routes.en.yml +5 -0
  29. data/db/migrate/001_create_ecm_products_product_categories.rb +40 -0
  30. data/db/migrate/002_create_ecm_products_products.rb +46 -0
  31. data/db/migrate/003_create_ecm_products_product_links.rb +18 -0
  32. data/lib/ecm/products/active_admin/ecm_products_product_categories.rb +75 -0
  33. data/lib/ecm/products/active_admin/ecm_products_product_links.rb +39 -0
  34. data/lib/ecm/products/active_admin/ecm_products_products.rb +74 -0
  35. data/lib/ecm/products/engine.rb +12 -0
  36. data/lib/ecm/products/routing.rb +22 -0
  37. data/lib/ecm/products/version.rb +5 -0
  38. data/lib/ecm_products.rb +13 -0
  39. data/lib/tasks/ecm_products_tasks.rake +77 -0
  40. metadata +440 -0
metadata ADDED
@@ -0,0 +1,440 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ecm_products
3
+ version: !ruby/object:Gem::Version
4
+ hash: 961915968
5
+ prerelease: 6
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 1
10
+ - pre
11
+ version: 0.0.1.pre
12
+ platform: ruby
13
+ authors:
14
+ - Roberto Vasquez Angel
15
+ autorequire:
16
+ bindir: bin
17
+ cert_chain: []
18
+
19
+ date: 2012-08-08 00:00:00 Z
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: rails
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ hash: 1
30
+ segments:
31
+ - 3
32
+ - 2
33
+ - 7
34
+ version: 3.2.7
35
+ type: :runtime
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ name: active_admin-acts_as_list
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ hash: 3
46
+ segments:
47
+ - 0
48
+ version: "0"
49
+ type: :runtime
50
+ version_requirements: *id002
51
+ - !ruby/object:Gem::Dependency
52
+ name: active_admin-awesome_nested_set
53
+ prerelease: false
54
+ requirement: &id003 !ruby/object:Gem::Requirement
55
+ none: false
56
+ requirements:
57
+ - - ~>
58
+ - !ruby/object:Gem::Version
59
+ hash: 25
60
+ segments:
61
+ - 0
62
+ - 0
63
+ - 3
64
+ version: 0.0.3
65
+ type: :runtime
66
+ version_requirements: *id003
67
+ - !ruby/object:Gem::Dependency
68
+ name: acts_as_list
69
+ prerelease: false
70
+ requirement: &id004 !ruby/object:Gem::Requirement
71
+ none: false
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ hash: 3
76
+ segments:
77
+ - 0
78
+ version: "0"
79
+ type: :runtime
80
+ version_requirements: *id004
81
+ - !ruby/object:Gem::Dependency
82
+ name: awesome_nested_set
83
+ prerelease: false
84
+ requirement: &id005 !ruby/object:Gem::Requirement
85
+ none: false
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ hash: 3
90
+ segments:
91
+ - 0
92
+ version: "0"
93
+ type: :runtime
94
+ version_requirements: *id005
95
+ - !ruby/object:Gem::Dependency
96
+ name: awesome_nested_set-tools
97
+ prerelease: false
98
+ requirement: &id006 !ruby/object:Gem::Requirement
99
+ none: false
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ hash: 3
104
+ segments:
105
+ - 0
106
+ version: "0"
107
+ type: :runtime
108
+ version_requirements: *id006
109
+ - !ruby/object:Gem::Dependency
110
+ name: friendly_id
111
+ prerelease: false
112
+ requirement: &id007 !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ hash: 3
118
+ segments:
119
+ - 0
120
+ version: "0"
121
+ type: :runtime
122
+ version_requirements: *id007
123
+ - !ruby/object:Gem::Dependency
124
+ name: money-rails
125
+ prerelease: false
126
+ requirement: &id008 !ruby/object:Gem::Requirement
127
+ none: false
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ hash: 3
132
+ segments:
133
+ - 0
134
+ version: "0"
135
+ type: :runtime
136
+ version_requirements: *id008
137
+ - !ruby/object:Gem::Dependency
138
+ name: paperclip
139
+ prerelease: false
140
+ requirement: &id009 !ruby/object:Gem::Requirement
141
+ none: false
142
+ requirements:
143
+ - - ~>
144
+ - !ruby/object:Gem::Version
145
+ hash: 13
146
+ segments:
147
+ - 2
148
+ - 7
149
+ version: "2.7"
150
+ type: :runtime
151
+ version_requirements: *id009
152
+ - !ruby/object:Gem::Dependency
153
+ name: rails_tools-absence_validator
154
+ prerelease: false
155
+ requirement: &id010 !ruby/object:Gem::Requirement
156
+ none: false
157
+ requirements:
158
+ - - ~>
159
+ - !ruby/object:Gem::Version
160
+ hash: 29
161
+ segments:
162
+ - 0
163
+ - 0
164
+ - 1
165
+ version: 0.0.1
166
+ type: :runtime
167
+ version_requirements: *id010
168
+ - !ruby/object:Gem::Dependency
169
+ name: sqlite3
170
+ prerelease: false
171
+ requirement: &id011 !ruby/object:Gem::Requirement
172
+ none: false
173
+ requirements:
174
+ - - ">="
175
+ - !ruby/object:Gem::Version
176
+ hash: 3
177
+ segments:
178
+ - 0
179
+ version: "0"
180
+ type: :development
181
+ version_requirements: *id011
182
+ - !ruby/object:Gem::Dependency
183
+ name: thin
184
+ prerelease: false
185
+ requirement: &id012 !ruby/object:Gem::Requirement
186
+ none: false
187
+ requirements:
188
+ - - ">="
189
+ - !ruby/object:Gem::Version
190
+ hash: 3
191
+ segments:
192
+ - 0
193
+ version: "0"
194
+ type: :development
195
+ version_requirements: *id012
196
+ - !ruby/object:Gem::Dependency
197
+ name: yard
198
+ prerelease: false
199
+ requirement: &id013 !ruby/object:Gem::Requirement
200
+ none: false
201
+ requirements:
202
+ - - ">="
203
+ - !ruby/object:Gem::Version
204
+ hash: 3
205
+ segments:
206
+ - 0
207
+ version: "0"
208
+ type: :development
209
+ version_requirements: *id013
210
+ - !ruby/object:Gem::Dependency
211
+ name: sass-rails
212
+ prerelease: false
213
+ requirement: &id014 !ruby/object:Gem::Requirement
214
+ none: false
215
+ requirements:
216
+ - - ">="
217
+ - !ruby/object:Gem::Version
218
+ hash: 3
219
+ segments:
220
+ - 0
221
+ version: "0"
222
+ type: :development
223
+ version_requirements: *id014
224
+ - !ruby/object:Gem::Dependency
225
+ name: coffee-rails
226
+ prerelease: false
227
+ requirement: &id015 !ruby/object:Gem::Requirement
228
+ none: false
229
+ requirements:
230
+ - - ">="
231
+ - !ruby/object:Gem::Version
232
+ hash: 3
233
+ segments:
234
+ - 0
235
+ version: "0"
236
+ type: :development
237
+ version_requirements: *id015
238
+ - !ruby/object:Gem::Dependency
239
+ name: capybara
240
+ prerelease: false
241
+ requirement: &id016 !ruby/object:Gem::Requirement
242
+ none: false
243
+ requirements:
244
+ - - ">="
245
+ - !ruby/object:Gem::Version
246
+ hash: 3
247
+ segments:
248
+ - 0
249
+ version: "0"
250
+ type: :development
251
+ version_requirements: *id016
252
+ - !ruby/object:Gem::Dependency
253
+ name: rspec-rails
254
+ prerelease: false
255
+ requirement: &id017 !ruby/object:Gem::Requirement
256
+ none: false
257
+ requirements:
258
+ - - ~>
259
+ - !ruby/object:Gem::Version
260
+ hash: 3
261
+ segments:
262
+ - 2
263
+ - 0
264
+ version: "2.0"
265
+ type: :development
266
+ version_requirements: *id017
267
+ - !ruby/object:Gem::Dependency
268
+ name: factory_girl_rails
269
+ prerelease: false
270
+ requirement: &id018 !ruby/object:Gem::Requirement
271
+ none: false
272
+ requirements:
273
+ - - ~>
274
+ - !ruby/object:Gem::Version
275
+ hash: 15
276
+ segments:
277
+ - 1
278
+ - 0
279
+ version: "1.0"
280
+ type: :development
281
+ version_requirements: *id018
282
+ - !ruby/object:Gem::Dependency
283
+ name: ffaker
284
+ prerelease: false
285
+ requirement: &id019 !ruby/object:Gem::Requirement
286
+ none: false
287
+ requirements:
288
+ - - ">="
289
+ - !ruby/object:Gem::Version
290
+ hash: 3
291
+ segments:
292
+ - 0
293
+ version: "0"
294
+ type: :development
295
+ version_requirements: *id019
296
+ - !ruby/object:Gem::Dependency
297
+ name: guard-rspec
298
+ prerelease: false
299
+ requirement: &id020 !ruby/object:Gem::Requirement
300
+ none: false
301
+ requirements:
302
+ - - ">="
303
+ - !ruby/object:Gem::Version
304
+ hash: 3
305
+ segments:
306
+ - 0
307
+ version: "0"
308
+ type: :development
309
+ version_requirements: *id020
310
+ - !ruby/object:Gem::Dependency
311
+ name: guard-bundler
312
+ prerelease: false
313
+ requirement: &id021 !ruby/object:Gem::Requirement
314
+ none: false
315
+ requirements:
316
+ - - ">="
317
+ - !ruby/object:Gem::Version
318
+ hash: 3
319
+ segments:
320
+ - 0
321
+ version: "0"
322
+ type: :development
323
+ version_requirements: *id021
324
+ - !ruby/object:Gem::Dependency
325
+ name: shoulda-matchers
326
+ prerelease: false
327
+ requirement: &id022 !ruby/object:Gem::Requirement
328
+ none: false
329
+ requirements:
330
+ - - ">="
331
+ - !ruby/object:Gem::Version
332
+ hash: 3
333
+ segments:
334
+ - 0
335
+ version: "0"
336
+ type: :development
337
+ version_requirements: *id022
338
+ - !ruby/object:Gem::Dependency
339
+ name: forgery
340
+ prerelease: false
341
+ requirement: &id023 !ruby/object:Gem::Requirement
342
+ none: false
343
+ requirements:
344
+ - - "="
345
+ - !ruby/object:Gem::Version
346
+ hash: 11
347
+ segments:
348
+ - 0
349
+ - 5
350
+ - 0
351
+ version: 0.5.0
352
+ type: :development
353
+ version_requirements: *id023
354
+ description: Product management for active admin.
355
+ email:
356
+ - roberto@vasquez-angel.de
357
+ executables: []
358
+
359
+ extensions: []
360
+
361
+ extra_rdoc_files: []
362
+
363
+ files:
364
+ - app/controllers/ecm/products/products_controller.rb
365
+ - app/controllers/ecm/products/product_categories_controller.rb
366
+ - app/views/ecm/products/product_categories/_product_category.html.erb
367
+ - app/views/ecm/products/product_categories/show.html.erb
368
+ - app/views/ecm/products/product_categories/index.html.erb
369
+ - app/views/ecm/products/product_links/_product_link.html.erb
370
+ - app/views/ecm/products/products/_product_details.html.erb
371
+ - app/views/ecm/products/products/show.html.erb
372
+ - app/views/ecm/products/products/index.html.erb
373
+ - app/views/ecm/products/products/_product_preview.html.erb
374
+ - app/views/ecm/products/products/_product.html.erb
375
+ - app/models/ecm/products/product.rb
376
+ - app/models/ecm/products/product_link.rb
377
+ - app/models/ecm/products/product_category.rb
378
+ - app/models/ecm/products.rb
379
+ - config/locales/ecm.products.de.yml
380
+ - config/locales/ecm.products.routes.de.yml
381
+ - config/locales/ecm.products.product.en.yml
382
+ - config/locales/ecm.products.product_category.de.yml
383
+ - config/locales/ecm.products.routes.en.yml
384
+ - config/locales/ecm.products.product_category.en.yml
385
+ - config/locales/ecm.products.en.yml
386
+ - config/locales/ecm.products.product.de.yml
387
+ - config/locales/ecm.products.product_link.de.yml
388
+ - config/locales/ecm.products.product_link.en.yml
389
+ - db/migrate/002_create_ecm_products_products.rb
390
+ - db/migrate/001_create_ecm_products_product_categories.rb
391
+ - db/migrate/003_create_ecm_products_product_links.rb
392
+ - lib/ecm_products.rb
393
+ - lib/tasks/ecm_products_tasks.rake
394
+ - lib/ecm/products/active_admin/ecm_products_product_categories.rb
395
+ - lib/ecm/products/active_admin/ecm_products_product_links.rb
396
+ - lib/ecm/products/active_admin/ecm_products_products.rb
397
+ - lib/ecm/products/engine.rb
398
+ - lib/ecm/products/version.rb
399
+ - lib/ecm/products/routing.rb
400
+ - MIT-LICENSE
401
+ - Rakefile
402
+ - README.rdoc
403
+ homepage: https://github.com/robotex82/ecm_products
404
+ licenses: []
405
+
406
+ post_install_message:
407
+ rdoc_options: []
408
+
409
+ require_paths:
410
+ - lib
411
+ required_ruby_version: !ruby/object:Gem::Requirement
412
+ none: false
413
+ requirements:
414
+ - - ">="
415
+ - !ruby/object:Gem::Version
416
+ hash: 3
417
+ segments:
418
+ - 0
419
+ version: "0"
420
+ required_rubygems_version: !ruby/object:Gem::Requirement
421
+ none: false
422
+ requirements:
423
+ - - ">"
424
+ - !ruby/object:Gem::Version
425
+ hash: 25
426
+ segments:
427
+ - 1
428
+ - 3
429
+ - 1
430
+ version: 1.3.1
431
+ requirements: []
432
+
433
+ rubyforge_project:
434
+ rubygems_version: 1.8.24
435
+ signing_key:
436
+ specification_version: 3
437
+ summary: Product management for active admin.
438
+ test_files: []
439
+
440
+ has_rdoc: