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