loker-shopping-cart 0.1.2 → 0.1.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
  SHA256:
3
- metadata.gz: 8a0bdb26a4a19941174a8636090d48ed6dfa6027ee41dd23d17ba4609079a12e
4
- data.tar.gz: 61ed0cf5822e125708846cc3d5e136f89c27e2cc824603acf6e81a07967b1709
3
+ metadata.gz: 182cff93b88283c1c8e16080f05cd64e36ee8c9133f461eec2cfd064b5e4a037
4
+ data.tar.gz: 1eb816a8dd78c90ae75f8e5795d41f0e70172024bbc7489d0872abc0f241583d
5
5
  SHA512:
6
- metadata.gz: a20fe6892243765ee6724f03cb51e55f72f5337e019600454efe07c478ee0d0987a8ebe5058994c5a562bea5938f04768639a89c260cf5ece67f808b75a1e3c3
7
- data.tar.gz: 30113fded22863b8cb3e0aed9d99184244e24cb3756182f28df3dc94660b5a31b3699767bfdc0fd77416b6658abd60311a927b285ecd5bf1a5ac96fc6c1b1cbf
6
+ metadata.gz: bf3f3f8570cec81bbc700da9c7dd9ef5df69ff5a600483cda7aff305147c4b6922b0d1b70160e574d18021c040b63a66badbb960d19eb00b297dbe0f4fb0d708
7
+ data.tar.gz: 361b26e1fe500493969aa1f648808dd492c747835bf368db036b5287d8ce519e3783b03b2ebeb65e9a91ff055b8391fb3fb0981d4587a2b853e2ec352fc4a9c4
@@ -1,6 +1,7 @@
1
+ require_dependency "shopping_cart/application_controller"
2
+
1
3
  module ShoppingCart
2
4
  class AddressesController < ApplicationController
3
- include Rectify::ControllerHelpers
4
5
  before_action :authenticate_user!
5
6
 
6
7
  def update
@@ -2,6 +2,6 @@ module ShoppingCart
2
2
  class ApplicationController < ::ApplicationController
3
3
  include ShoppingCart::CurrentSession
4
4
  helper_method :current_order
5
- layout 'application'
5
+ layout 'layouts/application'
6
6
  end
7
7
  end
@@ -1,7 +1,7 @@
1
+ require_dependency "shopping_cart/application_controller"
2
+
1
3
  module ShoppingCart
2
4
  class CartsController < ApplicationController
3
- include ShoppingCart::CurrentSession
4
-
5
5
  def show; end
6
6
 
7
7
  def update
@@ -1,6 +1,7 @@
1
+ require_dependency "shopping_cart/application_controller"
2
+
1
3
  module ShoppingCart
2
4
  class CheckoutsController < ApplicationController
3
- include ShoppingCart::CurrentSession
4
5
  include Wicked::Wizard
5
6
  include Rectify::ControllerHelpers
6
7
 
@@ -1,7 +1,7 @@
1
+ require_dependency "shopping_cart/application_controller"
2
+
1
3
  module ShoppingCart
2
4
  class OrderItemsController < ApplicationController
3
- include ShoppingCart::CurrentSession
4
-
5
5
  before_action :order_item, only: %i[update destroy]
6
6
 
7
7
  def create
@@ -1,7 +1,7 @@
1
+ require_dependency "shopping_cart/application_controller"
2
+
1
3
  module ShoppingCart
2
4
  class OrdersController < ApplicationController
3
- include ShoppingCart::CurrentSession
4
-
5
5
  before_action :authenticate_user!
6
6
  load_and_authorize_resource
7
7
 
@@ -1,3 +1,3 @@
1
1
  module ShoppingCart
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: loker-shopping-cart
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - therealloker