op_cart 0.4.1 → 0.4.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: 695ceaa47d75df3df79ef2d8049909b2cd605662
4
- data.tar.gz: edfc90597c37f748372219b032568a26d17012c0
3
+ metadata.gz: 2ea95316e912256290c909707fd4993bfd64b4de
4
+ data.tar.gz: f415eeef388bc5c8756be08a133eaa7b3e883dc0
5
5
  SHA512:
6
- metadata.gz: b9f7d545228109490cb3a503023943b4ae6a5dcf196eca748609af70a633fb4c229251570e7b723a9fea78f1eb369c713ac0c31cdf51b98f78eb89e094bba267
7
- data.tar.gz: 88aa09d43bea2327481b99d933ac087a8093c2e857a22e0b0bf2bb6a253df0208565d43ac1958a6c556e320212230df1e35856c22f7a2383d343a824293a9a6a
6
+ metadata.gz: 208dc75166a06abd1fef5db0cc3c2f172ef9637ee3d1e4c9aedda7cc77ccffc338bf4c8675dcecef7666d69ad9c987f0987ad1b763e9a71e66c7f0e2828d6e1e
7
+ data.tar.gz: 7e1544856e8658fadbeb598d9f74fc81d5de922c51e5b461adcbcdbea2fa01dbec8a4a4f5a0b6ef65cc0989361b38b289e5df369a9c62651012843502776a88b
@@ -2,6 +2,7 @@ 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
6
 
6
7
  def new
7
8
  @products = Product.all
@@ -1,5 +1,7 @@
1
1
  module OpCart
2
2
  class PlansController < ApplicationController
3
+ decorates_assigned :plans if defined? decorates_assigned
4
+
3
5
  def index
4
6
  @plans = Plan.purchasable
5
7
  end
@@ -1,3 +1,3 @@
1
1
  module OpCart
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
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.1
4
+ version: 0.4.2
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-12 00:00:00.000000000 Z
11
+ date: 2015-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails