refinerycms-products 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. data/app/controllers/addresses_controller.rb +22 -0
  2. data/app/controllers/admin/carts_controller.rb +7 -0
  3. data/app/controllers/admin/categories_controller.rb +50 -0
  4. data/app/controllers/admin/customers_controller.rb +12 -0
  5. data/app/controllers/admin/line_items_controller.rb +7 -0
  6. data/app/controllers/admin/products_controller.rb +23 -0
  7. data/app/controllers/carts_controller.rb +110 -0
  8. data/app/controllers/categories_controller.rb +32 -0
  9. data/app/controllers/customers_controller.rb +33 -0
  10. data/app/controllers/line_items_controller.rb +8 -0
  11. data/app/controllers/products_controller.rb +61 -0
  12. data/app/controllers/profiles_controller.rb +37 -0
  13. data/app/helpers/address_helper.rb +20 -0
  14. data/app/helpers/products_helper.rb +34 -0
  15. data/app/models/address.rb +18 -0
  16. data/app/models/cart.rb +54 -0
  17. data/app/models/category.rb +28 -0
  18. data/app/models/customer.rb +32 -0
  19. data/app/models/line_item.rb +28 -0
  20. data/app/models/product.rb +46 -0
  21. data/app/views/addresses/edit.html.erb +42 -0
  22. data/app/views/admin/carts/_actions.html.erb +28 -0
  23. data/app/views/admin/carts/_cart.html.erb +18 -0
  24. data/app/views/admin/carts/_carts.html.erb +2 -0
  25. data/app/views/admin/carts/_form.html.erb +24 -0
  26. data/app/views/admin/carts/_records.html.erb +18 -0
  27. data/app/views/admin/carts/_sortable_list.html.erb +7 -0
  28. data/app/views/admin/carts/edit.html.erb +1 -0
  29. data/app/views/admin/carts/index.html.erb +10 -0
  30. data/app/views/admin/carts/new.html.erb +1 -0
  31. data/app/views/admin/categories/_actions.html.erb +28 -0
  32. data/app/views/admin/categories/_categories.html.erb +2 -0
  33. data/app/views/admin/categories/_category.html.erb +25 -0
  34. data/app/views/admin/categories/_form.html.erb +49 -0
  35. data/app/views/admin/categories/_records.html.erb +18 -0
  36. data/app/views/admin/categories/_sortable_list.html.erb +10 -0
  37. data/app/views/admin/categories/edit.html.erb +1 -0
  38. data/app/views/admin/categories/index.html.erb +12 -0
  39. data/app/views/admin/categories/new.html.erb +1 -0
  40. data/app/views/admin/customers/_actions.html.erb +28 -0
  41. data/app/views/admin/customers/_customer.html.erb +18 -0
  42. data/app/views/admin/customers/_customers.html.erb +2 -0
  43. data/app/views/admin/customers/_form.html.erb +40 -0
  44. data/app/views/admin/customers/_records.html.erb +18 -0
  45. data/app/views/admin/customers/_sortable_list.html.erb +7 -0
  46. data/app/views/admin/customers/edit.html.erb +1 -0
  47. data/app/views/admin/customers/index.html.erb +10 -0
  48. data/app/views/admin/customers/new.html.erb +1 -0
  49. data/app/views/admin/customers/show.html.erb +60 -0
  50. data/app/views/admin/line_items/_actions.html.erb +28 -0
  51. data/app/views/admin/line_items/_form.html.erb +29 -0
  52. data/app/views/admin/line_items/_line_item.html.erb +18 -0
  53. data/app/views/admin/line_items/_line_items.html.erb +2 -0
  54. data/app/views/admin/line_items/_records.html.erb +18 -0
  55. data/app/views/admin/line_items/_sortable_list.html.erb +7 -0
  56. data/app/views/admin/line_items/edit.html.erb +1 -0
  57. data/app/views/admin/line_items/index.html.erb +10 -0
  58. data/app/views/admin/line_items/new.html.erb +1 -0
  59. data/app/views/admin/products/_actions.html.erb +43 -0
  60. data/app/views/admin/products/_form.html.erb +120 -0
  61. data/app/views/admin/products/_product.html.erb +24 -0
  62. data/app/views/admin/products/_products.html.erb +2 -0
  63. data/app/views/admin/products/_records.html.erb +18 -0
  64. data/app/views/admin/products/_sortable_list.html.erb +13 -0
  65. data/app/views/admin/products/edit.html.erb +1 -0
  66. data/app/views/admin/products/index.html.erb +12 -0
  67. data/app/views/admin/products/new.html.erb +1 -0
  68. data/app/views/carts/show.html.erb +56 -0
  69. data/app/views/categories/index.html.erb +11 -0
  70. data/app/views/categories/show.html.erb +33 -0
  71. data/app/views/customers/index.html.erb +11 -0
  72. data/app/views/customers/show.html.erb +52 -0
  73. data/app/views/line_items/index.html.erb +11 -0
  74. data/app/views/line_items/show.html.erb +39 -0
  75. data/app/views/products/index.html.erb +33 -0
  76. data/app/views/products/show.html.erb +65 -0
  77. data/app/views/profiles/_order_history.html.erb +24 -0
  78. data/app/views/profiles/_show_address.html.erb +4 -0
  79. data/app/views/profiles/account_details.html.erb +32 -0
  80. data/app/views/profiles/address_details.html.erb +10 -0
  81. data/app/views/profiles/index.html.erb +75 -0
  82. data/app/views/profiles/order_history.html.erb +1 -0
  83. data/app/views/profiles/order_history_details.html.erb +39 -0
  84. data/config/locales/en.yml +97 -0
  85. data/config/locales/fr.yml +25 -0
  86. data/config/locales/lolcat.yml +25 -0
  87. data/config/locales/nb.yml +21 -0
  88. data/config/locales/nl.yml +21 -0
  89. data/config/routes.rb +58 -0
  90. data/lib/generators/refinerycms_products_generator.rb +6 -0
  91. data/lib/refinerycms-carts.rb +32 -0
  92. data/lib/refinerycms-categories.rb +30 -0
  93. data/lib/refinerycms-customers.rb +34 -0
  94. data/lib/refinerycms-line_items.rb +30 -0
  95. data/lib/refinerycms-products.rb +65 -0
  96. data/lib/tasks/products.rake +13 -0
  97. metadata +160 -0
metadata ADDED
@@ -0,0 +1,160 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: refinerycms-products
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 1.0.0
6
+ platform: ruby
7
+ authors:
8
+ - James Thompson
9
+ - Byron Peters
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+
14
+ date: 2011-11-15 00:00:00 Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: acts-as-taggable-on
18
+ prerelease: false
19
+ requirement: &id001 !ruby/object:Gem::Requirement
20
+ none: false
21
+ requirements:
22
+ - - ~>
23
+ - !ruby/object:Gem::Version
24
+ version: 2.2.2
25
+ type: :runtime
26
+ version_requirements: *id001
27
+ description: Ruby on Rails Products engine for Refinery CMS
28
+ email: james.b.thompson@gmail.com
29
+ executables: []
30
+
31
+ extensions: []
32
+
33
+ extra_rdoc_files: []
34
+
35
+ files:
36
+ - lib/generators/refinerycms_products_generator.rb
37
+ - lib/refinerycms-customers.rb
38
+ - lib/refinerycms-categories.rb
39
+ - lib/tasks/products.rake
40
+ - lib/refinerycms-line_items.rb
41
+ - lib/refinerycms-carts.rb
42
+ - lib/refinerycms-products.rb
43
+ - config/locales/nl.yml
44
+ - config/locales/en.yml
45
+ - config/locales/fr.yml
46
+ - config/locales/lolcat.yml
47
+ - config/locales/nb.yml
48
+ - config/routes.rb
49
+ - app/models/line_item.rb
50
+ - app/models/customer.rb
51
+ - app/models/address.rb
52
+ - app/models/product.rb
53
+ - app/models/cart.rb
54
+ - app/models/category.rb
55
+ - app/views/categories/index.html.erb
56
+ - app/views/categories/show.html.erb
57
+ - app/views/admin/categories/edit.html.erb
58
+ - app/views/admin/categories/_category.html.erb
59
+ - app/views/admin/categories/_categories.html.erb
60
+ - app/views/admin/categories/index.html.erb
61
+ - app/views/admin/categories/_sortable_list.html.erb
62
+ - app/views/admin/categories/_records.html.erb
63
+ - app/views/admin/categories/_actions.html.erb
64
+ - app/views/admin/categories/_form.html.erb
65
+ - app/views/admin/categories/new.html.erb
66
+ - app/views/admin/customers/edit.html.erb
67
+ - app/views/admin/customers/_customers.html.erb
68
+ - app/views/admin/customers/index.html.erb
69
+ - app/views/admin/customers/_sortable_list.html.erb
70
+ - app/views/admin/customers/_records.html.erb
71
+ - app/views/admin/customers/_actions.html.erb
72
+ - app/views/admin/customers/_form.html.erb
73
+ - app/views/admin/customers/new.html.erb
74
+ - app/views/admin/customers/_customer.html.erb
75
+ - app/views/admin/customers/show.html.erb
76
+ - app/views/admin/products/edit.html.erb
77
+ - app/views/admin/products/_product.html.erb
78
+ - app/views/admin/products/index.html.erb
79
+ - app/views/admin/products/_products.html.erb
80
+ - app/views/admin/products/_sortable_list.html.erb
81
+ - app/views/admin/products/_records.html.erb
82
+ - app/views/admin/products/_actions.html.erb
83
+ - app/views/admin/products/_form.html.erb
84
+ - app/views/admin/products/new.html.erb
85
+ - app/views/admin/line_items/edit.html.erb
86
+ - app/views/admin/line_items/_line_item.html.erb
87
+ - app/views/admin/line_items/_line_items.html.erb
88
+ - app/views/admin/line_items/index.html.erb
89
+ - app/views/admin/line_items/_sortable_list.html.erb
90
+ - app/views/admin/line_items/_records.html.erb
91
+ - app/views/admin/line_items/_actions.html.erb
92
+ - app/views/admin/line_items/_form.html.erb
93
+ - app/views/admin/line_items/new.html.erb
94
+ - app/views/admin/carts/edit.html.erb
95
+ - app/views/admin/carts/_carts.html.erb
96
+ - app/views/admin/carts/index.html.erb
97
+ - app/views/admin/carts/_sortable_list.html.erb
98
+ - app/views/admin/carts/_records.html.erb
99
+ - app/views/admin/carts/_actions.html.erb
100
+ - app/views/admin/carts/_form.html.erb
101
+ - app/views/admin/carts/new.html.erb
102
+ - app/views/admin/carts/_cart.html.erb
103
+ - app/views/customers/index.html.erb
104
+ - app/views/customers/show.html.erb
105
+ - app/views/products/index.html.erb
106
+ - app/views/products/show.html.erb
107
+ - app/views/line_items/index.html.erb
108
+ - app/views/line_items/show.html.erb
109
+ - app/views/carts/show.html.erb
110
+ - app/views/profiles/account_details.html.erb
111
+ - app/views/profiles/_show_address.html.erb
112
+ - app/views/profiles/order_history.html.erb
113
+ - app/views/profiles/index.html.erb
114
+ - app/views/profiles/_order_history.html.erb
115
+ - app/views/profiles/order_history_details.html.erb
116
+ - app/views/profiles/address_details.html.erb
117
+ - app/views/addresses/edit.html.erb
118
+ - app/controllers/products_controller.rb
119
+ - app/controllers/admin/products_controller.rb
120
+ - app/controllers/admin/customers_controller.rb
121
+ - app/controllers/admin/categories_controller.rb
122
+ - app/controllers/admin/carts_controller.rb
123
+ - app/controllers/admin/line_items_controller.rb
124
+ - app/controllers/addresses_controller.rb
125
+ - app/controllers/profiles_controller.rb
126
+ - app/controllers/customers_controller.rb
127
+ - app/controllers/categories_controller.rb
128
+ - app/controllers/carts_controller.rb
129
+ - app/controllers/line_items_controller.rb
130
+ - app/helpers/address_helper.rb
131
+ - app/helpers/products_helper.rb
132
+ homepage: https://github.com/julesce/refinerycms-products
133
+ licenses: []
134
+
135
+ post_install_message:
136
+ rdoc_options: []
137
+
138
+ require_paths:
139
+ - lib
140
+ required_ruby_version: !ruby/object:Gem::Requirement
141
+ none: false
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: "0"
146
+ required_rubygems_version: !ruby/object:Gem::Requirement
147
+ none: false
148
+ requirements:
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ version: "0"
152
+ requirements: []
153
+
154
+ rubyforge_project:
155
+ rubygems_version: 1.8.15
156
+ signing_key:
157
+ specification_version: 3
158
+ summary: Products engine for Refinery CMS
159
+ test_files: []
160
+