op_cart 0.4.2 → 0.4.3

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: 2ea95316e912256290c909707fd4993bfd64b4de
4
- data.tar.gz: f415eeef388bc5c8756be08a133eaa7b3e883dc0
3
+ metadata.gz: acc1a907ed0e858beedc4a38a92e5c278d96cc41
4
+ data.tar.gz: 5a05671770297b5dca47749e30384452d09cd885
5
5
  SHA512:
6
- metadata.gz: 208dc75166a06abd1fef5db0cc3c2f172ef9637ee3d1e4c9aedda7cc77ccffc338bf4c8675dcecef7666d69ad9c987f0987ad1b763e9a71e66c7f0e2828d6e1e
7
- data.tar.gz: 7e1544856e8658fadbeb598d9f74fc81d5de922c51e5b461adcbcdbea2fa01dbec8a4a4f5a0b6ef65cc0989361b38b289e5df369a9c62651012843502776a88b
6
+ metadata.gz: 34a8a8b78fa5a77f37717470acc62f1e3eef4f88de860432d22841071abd58d18f7554662257bb1bc6b259ab98dfbceb88dcb700706c9ae8c790b1e935100f5a
7
+ data.tar.gz: fe4c9aa4074d6e4cac9bab94e149b02541831dde788f0f483f30c397c0a88f7f97f6daee86b175f5940a14b3715cf2e0e1850938497d8bb356958fcf0dba84ba
@@ -2,7 +2,9 @@ module OpCart
2
2
  class OrdersController < ApplicationController
3
3
  # before_action :authenticate_user!, only: [:show, :edit, :update, :destroy]
4
4
  before_action :set_order, only: [:show, :edit, :update, :destroy]
5
- decorates_assigned :order, :orders if defined? decorates_assigned
5
+ if defined? decorates_assigned
6
+ decorates_assigned :order, :orders, :products, :plan, :user, :card, :shipping_address
7
+ end
6
8
 
7
9
  def new
8
10
  @products = Product.all
@@ -1,3 +1,3 @@
1
1
  module OpCart
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: op_cart
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Boehs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-17 00:00:00.000000000 Z
11
+ date: 2015-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails