opensteam 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +0 -0
- data/License.txt +4 -0
- data/Manifest.txt +131 -0
- data/Manifest.txt.bak +132 -0
- data/README.txt +92 -0
- data/generators/opensteam/opensteam_generator.rb +295 -0
- data/generators/opensteam/templates/controllers/administration/customers_controller.rb +23 -0
- data/generators/opensteam/templates/controllers/administration/inventories_controller.rb +88 -0
- data/generators/opensteam/templates/controllers/administration/orders_controller.rb +61 -0
- data/generators/opensteam/templates/controllers/administration_controller.rb +80 -0
- data/generators/opensteam/templates/controllers/checkout_controller.rb +142 -0
- data/generators/opensteam/templates/controllers/webshop_controller.rb +68 -0
- data/generators/opensteam/templates/fixtures/inventories.yml +221 -0
- data/generators/opensteam/templates/fixtures/inventories_properties.yml +127 -0
- data/generators/opensteam/templates/fixtures/product_animals.yml +73 -0
- data/generators/opensteam/templates/fixtures/product_dog_foods.yml +7 -0
- data/generators/opensteam/templates/fixtures/properties.yml +42 -0
- data/generators/opensteam/templates/helpers/webshop_helper.rb +29 -0
- data/generators/opensteam/templates/init/opensteam.rb +30 -0
- data/generators/opensteam/templates/migrations/create_addresses.rb +17 -0
- data/generators/opensteam/templates/migrations/create_customers.rb +16 -0
- data/generators/opensteam/templates/migrations/create_dummy_users.rb +16 -0
- data/generators/opensteam/templates/migrations/create_inventories.rb +20 -0
- data/generators/opensteam/templates/migrations/create_inventories_properties.rb +14 -0
- data/generators/opensteam/templates/migrations/create_order_items.rb +16 -0
- data/generators/opensteam/templates/migrations/create_orders.rb +18 -0
- data/generators/opensteam/templates/migrations/create_payment_types.rb +13 -0
- data/generators/opensteam/templates/migrations/create_properties.rb +12 -0
- data/generators/opensteam/templates/migrations/create_sessions.rb +16 -0
- data/generators/opensteam/templates/migrations/create_users.rb +19 -0
- data/generators/opensteam/templates/models/administration_mailer.rb +18 -0
- data/generators/opensteam/templates/models/inventories_property.rb +10 -0
- data/generators/opensteam/templates/models/inventory.rb +57 -0
- data/generators/opensteam/templates/public/images/bullet_arrow_down.png +0 -0
- data/generators/opensteam/templates/public/images/bullet_arrow_up.png +0 -0
- data/generators/opensteam/templates/public/images/cancel.png +0 -0
- data/generators/opensteam/templates/public/images/folder_database.png +0 -0
- data/generators/opensteam/templates/public/images/indicator.gif +0 -0
- data/generators/opensteam/templates/public/images/indicator_big.gif +0 -0
- data/generators/opensteam/templates/public/images/minus.png +0 -0
- data/generators/opensteam/templates/public/images/opensteam_logo_small.jpg +0 -0
- data/generators/opensteam/templates/public/images/opensteam_logo_web.jpg +0 -0
- data/generators/opensteam/templates/public/images/palette.png +0 -0
- data/generators/opensteam/templates/public/images/plus.png +0 -0
- data/generators/opensteam/templates/public/images/rails.png +0 -0
- data/generators/opensteam/templates/public/index.html +297 -0
- data/generators/opensteam/templates/public/stylesheets/webshop.css +262 -0
- data/generators/opensteam/templates/tasks/opensteam.rake +114 -0
- data/generators/opensteam/templates/views/administration/_address.html.erb +4 -0
- data/generators/opensteam/templates/views/administration/_nav.html.erb +11 -0
- data/generators/opensteam/templates/views/administration/_update_tree.html.erb +18 -0
- data/generators/opensteam/templates/views/administration/admin_info.html.erb +12 -0
- data/generators/opensteam/templates/views/administration/customers.html.erb +44 -0
- data/generators/opensteam/templates/views/administration/customers/index.html.erb +27 -0
- data/generators/opensteam/templates/views/administration/customers/show.html.erb +27 -0
- data/generators/opensteam/templates/views/administration/index.html.erb +9 -0
- data/generators/opensteam/templates/views/administration/inventories/edit.html.erb +48 -0
- data/generators/opensteam/templates/views/administration/inventories/index.html.erb +27 -0
- data/generators/opensteam/templates/views/administration/inventories/new.html.erb +41 -0
- data/generators/opensteam/templates/views/administration/inventories/show.html.erb +45 -0
- data/generators/opensteam/templates/views/administration/login.html.erb +16 -0
- data/generators/opensteam/templates/views/administration/order.html.erb +22 -0
- data/generators/opensteam/templates/views/administration/orders.html.erb +32 -0
- data/generators/opensteam/templates/views/administration/orders/_order_item.html.erb +22 -0
- data/generators/opensteam/templates/views/administration/orders/index.html.erb +32 -0
- data/generators/opensteam/templates/views/administration/orders/show.html.erb +25 -0
- data/generators/opensteam/templates/views/administration/products.html.erb +7 -0
- data/generators/opensteam/templates/views/administration/properties.html.erb +7 -0
- data/generators/opensteam/templates/views/administration/show_order_item.html.erb +5 -0
- data/generators/opensteam/templates/views/administration/signup.html.erb +65 -0
- data/generators/opensteam/templates/views/administration/tree.html.erb +15 -0
- data/generators/opensteam/templates/views/administration/update_products.html.erb +5 -0
- data/generators/opensteam/templates/views/administration/update_properties.html.erb +5 -0
- data/generators/opensteam/templates/views/administration/update_tree.rjs +3 -0
- data/generators/opensteam/templates/views/administration_mailer/order_admin.erb +27 -0
- data/generators/opensteam/templates/views/administration_mailer/order_customer.erb +24 -0
- data/generators/opensteam/templates/views/checkout/intro.html.erb +5 -0
- data/generators/opensteam/templates/views/checkout/outro.html.erb +6 -0
- data/generators/opensteam/templates/views/checkout/payment.html.erb +8 -0
- data/generators/opensteam/templates/views/checkout/shipping.html.erb +39 -0
- data/generators/opensteam/templates/views/checkout/show_cart.html.erb +13 -0
- data/generators/opensteam/templates/views/checkout/update_cart_content.rjs +2 -0
- data/generators/opensteam/templates/views/common/_cart.html.erb +11 -0
- data/generators/opensteam/templates/views/common/_cart_content.html.erb +19 -0
- data/generators/opensteam/templates/views/common/_header.html.erb +15 -0
- data/generators/opensteam/templates/views/layouts/administration.html.erb +29 -0
- data/generators/opensteam/templates/views/layouts/webshop.html.erb +36 -0
- data/generators/opensteam/templates/views/webshop/_cart.html.erb +11 -0
- data/generators/opensteam/templates/views/webshop/_cart_content.html.erb +23 -0
- data/generators/opensteam/templates/views/webshop/_header.html.erb +15 -0
- data/generators/opensteam/templates/views/webshop/_inventory_content.html.erb +12 -0
- data/generators/opensteam/templates/views/webshop/add_inventory_to_cart.rjs +2 -0
- data/generators/opensteam/templates/views/webshop/add_to_cart_with_parameters.rjs +2 -0
- data/generators/opensteam/templates/views/webshop/del_item.rjs +1 -0
- data/generators/opensteam/templates/views/webshop/index.html.erb +12 -0
- data/generators/opensteam/templates/views/webshop/inventory.rjs +2 -0
- data/generators/opensteam/templates/views/webshop/show.html.erb +40 -0
- data/generators/opensteam_product/opensteam_product_generator.rb +115 -0
- data/generators/opensteam_product/templates/controllers/product_controller.rb +104 -0
- data/generators/opensteam_product/templates/migration.rb +16 -0
- data/generators/opensteam_product/templates/models/product.rb +3 -0
- data/generators/opensteam_product/templates/views/_attr_product.html.erb +8 -0
- data/generators/opensteam_product/templates/views/_attr_property.html.erb +9 -0
- data/generators/opensteam_product/templates/views/_details.html.erb +29 -0
- data/generators/opensteam_product/templates/views/administration/_attributes.html.erb +21 -0
- data/generators/opensteam_product/templates/views/administration/_get_products.html.erb +8 -0
- data/generators/opensteam_product/templates/views/administration/_inventories.html.erb +27 -0
- data/generators/opensteam_product/templates/views/administration/edit.html.erb +13 -0
- data/generators/opensteam_product/templates/views/administration/index.html.erb +36 -0
- data/generators/opensteam_product/templates/views/administration/new.html.erb +16 -0
- data/generators/opensteam_product/templates/views/administration/show.html.erb +15 -0
- data/generators/opensteam_property/opensteam_property_generator.rb +126 -0
- data/generators/opensteam_property/templates/controllers/property_controller.rb +86 -0
- data/generators/opensteam_property/templates/migration.rb +14 -0
- data/generators/opensteam_property/templates/models/property.rb +3 -0
- data/generators/opensteam_property/templates/views/administration/edit.html.erb +19 -0
- data/generators/opensteam_property/templates/views/administration/index.html.erb +24 -0
- data/generators/opensteam_property/templates/views/administration/new.html.erb +18 -0
- data/generators/opensteam_property/templates/views/administration/show.html.erb +10 -0
- data/lib/opensteam.rb +49 -0
- data/lib/opensteam/base.rb +121 -0
- data/lib/opensteam/checkout.rb +89 -0
- data/lib/opensteam/config.rb +31 -0
- data/lib/opensteam/finder.rb +145 -0
- data/lib/opensteam/inventory_base.rb +79 -0
- data/lib/opensteam/order_base.rb +58 -0
- data/lib/opensteam/product_base.rb +222 -0
- data/lib/opensteam/property_base.rb +63 -0
- data/lib/opensteam/shopping_cart.rb +343 -0
- data/lib/opensteam/user_base.rb +165 -0
- data/lib/opensteam/version.rb +9 -0
- data/test/test_helper.rb +2 -0
- data/test/test_opensteam.rb +11 -0
- metadata +189 -0
data/test/test_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,189 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: opensteam
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.9.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Michael Schaerfer
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-05-26 00:00:00 +02:00
|
13
|
+
default_executable:
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description: eCommerce Framework for RubyOnRails
|
17
|
+
email:
|
18
|
+
- m.schaerfer@diamonddogs.cc
|
19
|
+
executables: []
|
20
|
+
|
21
|
+
extensions: []
|
22
|
+
|
23
|
+
extra_rdoc_files:
|
24
|
+
- History.txt
|
25
|
+
- License.txt
|
26
|
+
- Manifest.txt
|
27
|
+
- README.txt
|
28
|
+
files:
|
29
|
+
- History.txt
|
30
|
+
- License.txt
|
31
|
+
- Manifest.txt
|
32
|
+
- Manifest.txt.bak
|
33
|
+
- README.txt
|
34
|
+
- generators/opensteam/opensteam_generator.rb
|
35
|
+
- generators/opensteam/templates/controllers/administration/customers_controller.rb
|
36
|
+
- generators/opensteam/templates/controllers/administration/inventories_controller.rb
|
37
|
+
- generators/opensteam/templates/controllers/administration/orders_controller.rb
|
38
|
+
- generators/opensteam/templates/controllers/administration_controller.rb
|
39
|
+
- generators/opensteam/templates/controllers/checkout_controller.rb
|
40
|
+
- generators/opensteam/templates/controllers/webshop_controller.rb
|
41
|
+
- generators/opensteam/templates/fixtures/inventories.yml
|
42
|
+
- generators/opensteam/templates/fixtures/inventories_properties.yml
|
43
|
+
- generators/opensteam/templates/fixtures/product_animals.yml
|
44
|
+
- generators/opensteam/templates/fixtures/product_dog_foods.yml
|
45
|
+
- generators/opensteam/templates/fixtures/properties.yml
|
46
|
+
- generators/opensteam/templates/helpers/webshop_helper.rb
|
47
|
+
- generators/opensteam/templates/init/opensteam.rb
|
48
|
+
- generators/opensteam/templates/migrations/create_addresses.rb
|
49
|
+
- generators/opensteam/templates/migrations/create_customers.rb
|
50
|
+
- generators/opensteam/templates/migrations/create_dummy_users.rb
|
51
|
+
- generators/opensteam/templates/migrations/create_inventories.rb
|
52
|
+
- generators/opensteam/templates/migrations/create_inventories_properties.rb
|
53
|
+
- generators/opensteam/templates/migrations/create_order_items.rb
|
54
|
+
- generators/opensteam/templates/migrations/create_orders.rb
|
55
|
+
- generators/opensteam/templates/migrations/create_payment_types.rb
|
56
|
+
- generators/opensteam/templates/migrations/create_properties.rb
|
57
|
+
- generators/opensteam/templates/migrations/create_sessions.rb
|
58
|
+
- generators/opensteam/templates/migrations/create_users.rb
|
59
|
+
- generators/opensteam/templates/models/administration_mailer.rb
|
60
|
+
- generators/opensteam/templates/models/inventories_property.rb
|
61
|
+
- generators/opensteam/templates/models/inventory.rb
|
62
|
+
- generators/opensteam/templates/public/images/bullet_arrow_down.png
|
63
|
+
- generators/opensteam/templates/public/images/bullet_arrow_up.png
|
64
|
+
- generators/opensteam/templates/public/images/cancel.png
|
65
|
+
- generators/opensteam/templates/public/images/folder_database.png
|
66
|
+
- generators/opensteam/templates/public/images/indicator.gif
|
67
|
+
- generators/opensteam/templates/public/images/indicator_big.gif
|
68
|
+
- generators/opensteam/templates/public/images/minus.png
|
69
|
+
- generators/opensteam/templates/public/images/opensteam_logo_small.jpg
|
70
|
+
- generators/opensteam/templates/public/images/opensteam_logo_web.jpg
|
71
|
+
- generators/opensteam/templates/public/images/palette.png
|
72
|
+
- generators/opensteam/templates/public/images/plus.png
|
73
|
+
- generators/opensteam/templates/public/images/rails.png
|
74
|
+
- generators/opensteam/templates/public/index.html
|
75
|
+
- generators/opensteam/templates/public/stylesheets/webshop.css
|
76
|
+
- generators/opensteam/templates/tasks/opensteam.rake
|
77
|
+
- generators/opensteam/templates/views/administration/_address.html.erb
|
78
|
+
- generators/opensteam/templates/views/administration/_nav.html.erb
|
79
|
+
- generators/opensteam/templates/views/administration/_update_tree.html.erb
|
80
|
+
- generators/opensteam/templates/views/administration/admin_info.html.erb
|
81
|
+
- generators/opensteam/templates/views/administration/customers.html.erb
|
82
|
+
- generators/opensteam/templates/views/administration/customers/index.html.erb
|
83
|
+
- generators/opensteam/templates/views/administration/customers/show.html.erb
|
84
|
+
- generators/opensteam/templates/views/administration/index.html.erb
|
85
|
+
- generators/opensteam/templates/views/administration/inventories/edit.html.erb
|
86
|
+
- generators/opensteam/templates/views/administration/inventories/index.html.erb
|
87
|
+
- generators/opensteam/templates/views/administration/inventories/new.html.erb
|
88
|
+
- generators/opensteam/templates/views/administration/inventories/show.html.erb
|
89
|
+
- generators/opensteam/templates/views/administration/login.html.erb
|
90
|
+
- generators/opensteam/templates/views/administration/order.html.erb
|
91
|
+
- generators/opensteam/templates/views/administration/orders.html.erb
|
92
|
+
- generators/opensteam/templates/views/administration/orders/_order_item.html.erb
|
93
|
+
- generators/opensteam/templates/views/administration/orders/index.html.erb
|
94
|
+
- generators/opensteam/templates/views/administration/orders/show.html.erb
|
95
|
+
- generators/opensteam/templates/views/administration/products.html.erb
|
96
|
+
- generators/opensteam/templates/views/administration/properties.html.erb
|
97
|
+
- generators/opensteam/templates/views/administration/show_order_item.html.erb
|
98
|
+
- generators/opensteam/templates/views/administration/signup.html.erb
|
99
|
+
- generators/opensteam/templates/views/administration/tree.html.erb
|
100
|
+
- generators/opensteam/templates/views/administration/update_products.html.erb
|
101
|
+
- generators/opensteam/templates/views/administration/update_properties.html.erb
|
102
|
+
- generators/opensteam/templates/views/administration/update_tree.rjs
|
103
|
+
- generators/opensteam/templates/views/administration_mailer/order_admin.erb
|
104
|
+
- generators/opensteam/templates/views/administration_mailer/order_customer.erb
|
105
|
+
- generators/opensteam/templates/views/checkout/intro.html.erb
|
106
|
+
- generators/opensteam/templates/views/checkout/outro.html.erb
|
107
|
+
- generators/opensteam/templates/views/checkout/payment.html.erb
|
108
|
+
- generators/opensteam/templates/views/checkout/shipping.html.erb
|
109
|
+
- generators/opensteam/templates/views/checkout/show_cart.html.erb
|
110
|
+
- generators/opensteam/templates/views/checkout/update_cart_content.rjs
|
111
|
+
- generators/opensteam/templates/views/common/_cart.html.erb
|
112
|
+
- generators/opensteam/templates/views/common/_cart_content.html.erb
|
113
|
+
- generators/opensteam/templates/views/common/_header.html.erb
|
114
|
+
- generators/opensteam/templates/views/layouts/administration.html.erb
|
115
|
+
- generators/opensteam/templates/views/layouts/webshop.html.erb
|
116
|
+
- generators/opensteam/templates/views/webshop/_cart.html.erb
|
117
|
+
- generators/opensteam/templates/views/webshop/_cart_content.html.erb
|
118
|
+
- generators/opensteam/templates/views/webshop/_header.html.erb
|
119
|
+
- generators/opensteam/templates/views/webshop/_inventory_content.html.erb
|
120
|
+
- generators/opensteam/templates/views/webshop/add_inventory_to_cart.rjs
|
121
|
+
- generators/opensteam/templates/views/webshop/add_to_cart_with_parameters.rjs
|
122
|
+
- generators/opensteam/templates/views/webshop/del_item.rjs
|
123
|
+
- generators/opensteam/templates/views/webshop/index.html.erb
|
124
|
+
- generators/opensteam/templates/views/webshop/inventory.rjs
|
125
|
+
- generators/opensteam/templates/views/webshop/show.html.erb
|
126
|
+
- generators/opensteam_product/opensteam_product_generator.rb
|
127
|
+
- generators/opensteam_product/templates/controllers/product_controller.rb
|
128
|
+
- generators/opensteam_product/templates/migration.rb
|
129
|
+
- generators/opensteam_product/templates/models/product.rb
|
130
|
+
- generators/opensteam_product/templates/views/_attr_product.html.erb
|
131
|
+
- generators/opensteam_product/templates/views/_attr_property.html.erb
|
132
|
+
- generators/opensteam_product/templates/views/_details.html.erb
|
133
|
+
- generators/opensteam_product/templates/views/administration/_attributes.html.erb
|
134
|
+
- generators/opensteam_product/templates/views/administration/_get_products.html.erb
|
135
|
+
- generators/opensteam_product/templates/views/administration/_inventories.html.erb
|
136
|
+
- generators/opensteam_product/templates/views/administration/edit.html.erb
|
137
|
+
- generators/opensteam_product/templates/views/administration/index.html.erb
|
138
|
+
- generators/opensteam_product/templates/views/administration/new.html.erb
|
139
|
+
- generators/opensteam_product/templates/views/administration/show.html.erb
|
140
|
+
- generators/opensteam_property/opensteam_property_generator.rb
|
141
|
+
- generators/opensteam_property/templates/controllers/property_controller.rb
|
142
|
+
- generators/opensteam_property/templates/migration.rb
|
143
|
+
- generators/opensteam_property/templates/models/property.rb
|
144
|
+
- generators/opensteam_property/templates/views/administration/edit.html.erb
|
145
|
+
- generators/opensteam_property/templates/views/administration/index.html.erb
|
146
|
+
- generators/opensteam_property/templates/views/administration/new.html.erb
|
147
|
+
- generators/opensteam_property/templates/views/administration/show.html.erb
|
148
|
+
- lib/opensteam.rb
|
149
|
+
- lib/opensteam/base.rb
|
150
|
+
- lib/opensteam/checkout.rb
|
151
|
+
- lib/opensteam/config.rb
|
152
|
+
- lib/opensteam/finder.rb
|
153
|
+
- lib/opensteam/inventory_base.rb
|
154
|
+
- lib/opensteam/order_base.rb
|
155
|
+
- lib/opensteam/product_base.rb
|
156
|
+
- lib/opensteam/property_base.rb
|
157
|
+
- lib/opensteam/shopping_cart.rb
|
158
|
+
- lib/opensteam/user_base.rb
|
159
|
+
- lib/opensteam/version.rb
|
160
|
+
has_rdoc: true
|
161
|
+
homepage: http://opensteam.rubyforge.org
|
162
|
+
post_install_message: ""
|
163
|
+
rdoc_options:
|
164
|
+
- --main
|
165
|
+
- README.txt
|
166
|
+
require_paths:
|
167
|
+
- lib
|
168
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
169
|
+
requirements:
|
170
|
+
- - ">="
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: "0"
|
173
|
+
version:
|
174
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
175
|
+
requirements:
|
176
|
+
- - ">="
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
version: "0"
|
179
|
+
version:
|
180
|
+
requirements: []
|
181
|
+
|
182
|
+
rubyforge_project: opensteam
|
183
|
+
rubygems_version: 1.1.1
|
184
|
+
signing_key:
|
185
|
+
specification_version: 2
|
186
|
+
summary: eCommerce Framework for RubyOnRails
|
187
|
+
test_files:
|
188
|
+
- test/test_helper.rb
|
189
|
+
- test/test_opensteam.rb
|