power_shop 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/spec/controllers/cart_controller_spec.rb +56 -0
- data/spec/controllers/catalog_controller_spec.rb +77 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config/application.rb +28 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +3 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +82 -0
- data/spec/dummy/config/environments/test.rb +39 -0
- data/spec/dummy/config/initializers/assets.rb +8 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/secret_token.rb +1 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +3 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/schema.rb +105 -0
- data/spec/dummy/log/development.log +0 -0
- data/spec/dummy/log/test.log +85730 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/factories/categories.rb +5 -0
- data/spec/factories/order.rb +4 -0
- data/spec/factories/products.rb +13 -0
- data/spec/factories/shopping_cart.rb +5 -0
- data/spec/lib/middleware/shopping_cart_spec.rb +25 -0
- data/spec/models/category_spec.rb +68 -0
- data/spec/models/order_item_spec.rb +13 -0
- data/spec/models/order_spec.rb +13 -0
- data/spec/models/product_spec.rb +24 -0
- data/spec/models/shop_image_spec.rb +11 -0
- data/spec/spec_helper.rb +31 -0
- metadata +382 -0
metadata
ADDED
@@ -0,0 +1,382 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: power_shop
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Semyon Pupkov
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-09-07 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.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 4.0.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: awesome_nested_set
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: pg
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: carrierwave
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: kaminari
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rmagick
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: validates_email_format_of
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: acts_as_shopping_cart
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ~>
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 0.2.1
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ~>
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 0.2.1
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: friendly_id
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ~>
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 5.0.0
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ~>
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 5.0.0
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: simplecov
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - '>='
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - '>='
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: rspec-core
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - '>='
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - '>='
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: rspec-rails
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ~>
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 3.0.0
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ~>
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 3.0.0
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: simplecov
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - '>='
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - '>='
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: shoulda-matchers
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - '>='
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - '>='
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: factory_girl_rails
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - '>='
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - '>='
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: pry-rails
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - '>='
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - '>='
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: pry-byebug
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - '>='
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0'
|
244
|
+
type: :development
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - '>='
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '0'
|
251
|
+
description: Simple and flexible Ruby On Rails Ecomerce engine
|
252
|
+
email:
|
253
|
+
- semen.pupkov@gmail.com
|
254
|
+
executables: []
|
255
|
+
extensions: []
|
256
|
+
extra_rdoc_files: []
|
257
|
+
files:
|
258
|
+
- spec/controllers/cart_controller_spec.rb
|
259
|
+
- spec/controllers/catalog_controller_spec.rb
|
260
|
+
- spec/dummy/app/assets/javascripts/application.js
|
261
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
262
|
+
- spec/dummy/app/controllers/application_controller.rb
|
263
|
+
- spec/dummy/app/helpers/application_helper.rb
|
264
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
265
|
+
- spec/dummy/bin/bundle
|
266
|
+
- spec/dummy/bin/rails
|
267
|
+
- spec/dummy/bin/rake
|
268
|
+
- spec/dummy/config/application.rb
|
269
|
+
- spec/dummy/config/boot.rb
|
270
|
+
- spec/dummy/config/database.yml
|
271
|
+
- spec/dummy/config/environment.rb
|
272
|
+
- spec/dummy/config/environments/development.rb
|
273
|
+
- spec/dummy/config/environments/production.rb
|
274
|
+
- spec/dummy/config/environments/test.rb
|
275
|
+
- spec/dummy/config/initializers/assets.rb
|
276
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
277
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
278
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
279
|
+
- spec/dummy/config/initializers/inflections.rb
|
280
|
+
- spec/dummy/config/initializers/mime_types.rb
|
281
|
+
- spec/dummy/config/initializers/secret_token.rb
|
282
|
+
- spec/dummy/config/initializers/session_store.rb
|
283
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
284
|
+
- spec/dummy/config/locales/en.yml
|
285
|
+
- spec/dummy/config/routes.rb
|
286
|
+
- spec/dummy/config/secrets.yml
|
287
|
+
- spec/dummy/config.ru
|
288
|
+
- spec/dummy/db/schema.rb
|
289
|
+
- spec/dummy/log/development.log
|
290
|
+
- spec/dummy/log/test.log
|
291
|
+
- spec/dummy/public/404.html
|
292
|
+
- spec/dummy/public/422.html
|
293
|
+
- spec/dummy/public/500.html
|
294
|
+
- spec/dummy/public/favicon.ico
|
295
|
+
- spec/dummy/Rakefile
|
296
|
+
- spec/dummy/README.rdoc
|
297
|
+
- spec/factories/categories.rb
|
298
|
+
- spec/factories/order.rb
|
299
|
+
- spec/factories/products.rb
|
300
|
+
- spec/factories/shopping_cart.rb
|
301
|
+
- spec/lib/middleware/shopping_cart_spec.rb
|
302
|
+
- spec/models/category_spec.rb
|
303
|
+
- spec/models/order_item_spec.rb
|
304
|
+
- spec/models/order_spec.rb
|
305
|
+
- spec/models/product_spec.rb
|
306
|
+
- spec/models/shop_image_spec.rb
|
307
|
+
- spec/spec_helper.rb
|
308
|
+
homepage: https://github.com/artofhuman/power_shop
|
309
|
+
licenses:
|
310
|
+
- MIT
|
311
|
+
metadata: {}
|
312
|
+
post_install_message:
|
313
|
+
rdoc_options: []
|
314
|
+
require_paths:
|
315
|
+
- lib
|
316
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
317
|
+
requirements:
|
318
|
+
- - '>='
|
319
|
+
- !ruby/object:Gem::Version
|
320
|
+
version: '0'
|
321
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
322
|
+
requirements:
|
323
|
+
- - '>='
|
324
|
+
- !ruby/object:Gem::Version
|
325
|
+
version: '0'
|
326
|
+
requirements: []
|
327
|
+
rubyforge_project:
|
328
|
+
rubygems_version: 2.0.6
|
329
|
+
signing_key:
|
330
|
+
specification_version: 4
|
331
|
+
summary: Simple and flexible Ruby On Rails Ecomerce engine
|
332
|
+
test_files:
|
333
|
+
- spec/controllers/cart_controller_spec.rb
|
334
|
+
- spec/controllers/catalog_controller_spec.rb
|
335
|
+
- spec/dummy/app/assets/javascripts/application.js
|
336
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
337
|
+
- spec/dummy/app/controllers/application_controller.rb
|
338
|
+
- spec/dummy/app/helpers/application_helper.rb
|
339
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
340
|
+
- spec/dummy/bin/bundle
|
341
|
+
- spec/dummy/bin/rails
|
342
|
+
- spec/dummy/bin/rake
|
343
|
+
- spec/dummy/config/application.rb
|
344
|
+
- spec/dummy/config/boot.rb
|
345
|
+
- spec/dummy/config/database.yml
|
346
|
+
- spec/dummy/config/environment.rb
|
347
|
+
- spec/dummy/config/environments/development.rb
|
348
|
+
- spec/dummy/config/environments/production.rb
|
349
|
+
- spec/dummy/config/environments/test.rb
|
350
|
+
- spec/dummy/config/initializers/assets.rb
|
351
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
352
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
353
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
354
|
+
- spec/dummy/config/initializers/inflections.rb
|
355
|
+
- spec/dummy/config/initializers/mime_types.rb
|
356
|
+
- spec/dummy/config/initializers/secret_token.rb
|
357
|
+
- spec/dummy/config/initializers/session_store.rb
|
358
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
359
|
+
- spec/dummy/config/locales/en.yml
|
360
|
+
- spec/dummy/config/routes.rb
|
361
|
+
- spec/dummy/config/secrets.yml
|
362
|
+
- spec/dummy/config.ru
|
363
|
+
- spec/dummy/db/schema.rb
|
364
|
+
- spec/dummy/log/development.log
|
365
|
+
- spec/dummy/log/test.log
|
366
|
+
- spec/dummy/public/404.html
|
367
|
+
- spec/dummy/public/422.html
|
368
|
+
- spec/dummy/public/500.html
|
369
|
+
- spec/dummy/public/favicon.ico
|
370
|
+
- spec/dummy/Rakefile
|
371
|
+
- spec/dummy/README.rdoc
|
372
|
+
- spec/factories/categories.rb
|
373
|
+
- spec/factories/order.rb
|
374
|
+
- spec/factories/products.rb
|
375
|
+
- spec/factories/shopping_cart.rb
|
376
|
+
- spec/lib/middleware/shopping_cart_spec.rb
|
377
|
+
- spec/models/category_spec.rb
|
378
|
+
- spec/models/order_item_spec.rb
|
379
|
+
- spec/models/order_spec.rb
|
380
|
+
- spec/models/product_spec.rb
|
381
|
+
- spec/models/shop_image_spec.rb
|
382
|
+
- spec/spec_helper.rb
|