power_shop 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9cdf1aa2a4b3e87947045ec3ef58efbf373183fb
4
- data.tar.gz: 65e103724049400dd3283a38d18457188c8034c6
3
+ metadata.gz: ab225addd2e900fa94190ad0b37d1969adc39487
4
+ data.tar.gz: 6f313504f2c113b51a51d7c326cc08e8b461d9e7
5
5
  SHA512:
6
- metadata.gz: fd7d18a4014a0a32cdcf4ca8eadf518683bd41bd6a917636f9ffd10d928022de3bf268b9eb37074beb36fce2fd498505e7eb42874842425c3ae5d56ca8afd4e4
7
- data.tar.gz: 97c43e2d75f4c218ea1c88f53987141ee07a79fdfded61e5da7864373d287d639f9e3a93509f4c058e4aca6b9b4b50205285f8adb46a3822d822cce38ec7187c
6
+ metadata.gz: a204275c7c1ea8d1f319171ed886931c6bb13fa90d5a80c6b5c233b096ce1efd96af8f802d31fd96f0b3bf78613984957a889db75adb08c93f57d06e3dc455bd
7
+ data.tar.gz: 270c38d46ab827a5aa8e658fdcbc5d4aeae9bb02c6e535ec2cae4a1ab7ff0491fa10f763b41210bbe4fdb5de8c8bffc291b4ec8fe892ff779c2417b1bfe386a8
@@ -1,3 +1,3 @@
1
1
  module PowerShop
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
@@ -1,4 +1,13 @@
1
1
  FactoryGirl.define do
2
2
  factory :order do
3
3
  end
4
+
5
+ factory :order_item do
6
+ association :order
7
+ association :product
8
+
9
+ price 500
10
+ product_title { product.name }
11
+ quantity 1
12
+ end
4
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: power_shop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Semyon Pupkov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-17 00:00:00.000000000 Z
11
+ date: 2014-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -387,64 +387,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
387
387
  version: '0'
388
388
  requirements: []
389
389
  rubyforge_project:
390
- rubygems_version: 2.0.6
390
+ rubygems_version: 2.0.3
391
391
  signing_key:
392
392
  specification_version: 4
393
393
  summary: Simple and flexible Ruby On Rails Ecomerce engine
394
- test_files:
395
- - spec/controllers/cart_controller_spec.rb
396
- - spec/controllers/catalog_controller_spec.rb
397
- - spec/dummy/README.rdoc
398
- - spec/dummy/Rakefile
399
- - spec/dummy/app/assets/images/.keep
400
- - spec/dummy/app/assets/javascripts/application.js
401
- - spec/dummy/app/assets/stylesheets/application.css
402
- - spec/dummy/app/controllers/application_controller.rb
403
- - spec/dummy/app/controllers/concerns/.keep
404
- - spec/dummy/app/helpers/application_helper.rb
405
- - spec/dummy/app/mailers/.keep
406
- - spec/dummy/app/models/.keep
407
- - spec/dummy/app/models/concerns/.keep
408
- - spec/dummy/app/views/layouts/application.html.erb
409
- - spec/dummy/bin/bundle
410
- - spec/dummy/bin/rails
411
- - spec/dummy/bin/rake
412
- - spec/dummy/config.ru
413
- - spec/dummy/config/application.rb
414
- - spec/dummy/config/boot.rb
415
- - spec/dummy/config/database.yml
416
- - spec/dummy/config/environment.rb
417
- - spec/dummy/config/environments/development.rb
418
- - spec/dummy/config/environments/production.rb
419
- - spec/dummy/config/environments/test.rb
420
- - spec/dummy/config/initializers/assets.rb
421
- - spec/dummy/config/initializers/backtrace_silencers.rb
422
- - spec/dummy/config/initializers/cookies_serializer.rb
423
- - spec/dummy/config/initializers/filter_parameter_logging.rb
424
- - spec/dummy/config/initializers/inflections.rb
425
- - spec/dummy/config/initializers/mime_types.rb
426
- - spec/dummy/config/initializers/secret_token.rb
427
- - spec/dummy/config/initializers/session_store.rb
428
- - spec/dummy/config/initializers/wrap_parameters.rb
429
- - spec/dummy/config/locales/en.yml
430
- - spec/dummy/config/routes.rb
431
- - spec/dummy/config/secrets.yml
432
- - spec/dummy/db/schema.rb
433
- - spec/dummy/lib/assets/.keep
434
- - spec/dummy/log/.keep
435
- - spec/dummy/log/development.log
436
- - spec/dummy/public/404.html
437
- - spec/dummy/public/422.html
438
- - spec/dummy/public/500.html
439
- - spec/dummy/public/favicon.ico
440
- - spec/factories/categories.rb
441
- - spec/factories/order.rb
442
- - spec/factories/products.rb
443
- - spec/factories/shopping_cart.rb
444
- - spec/lib/middleware/shopping_cart_spec.rb
445
- - spec/models/category_spec.rb
446
- - spec/models/order_item_spec.rb
447
- - spec/models/order_spec.rb
448
- - spec/models/product_spec.rb
449
- - spec/models/shop_image_spec.rb
450
- - spec/spec_helper.rb
394
+ test_files: []