spree_frontend 4.3.0.rc3 → 4.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/spree/addresses_controller.rb +0 -4
- data/config/routes.rb +1 -1
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b3e8c94147534ef8750f819324f7359a54755bdbb3beca9708a693de039b502
|
4
|
+
data.tar.gz: 25ba4660fdc41529e3f6c4049e745f78e32aa219133f548636fb87b3bd760815
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d397d7a00b8a20d46e4c472b266e3b698a05d6e618c5bfac4f6a11beff336f9b2c9d9566dd0c340abbab1802105ed77fdf10e4e17e966b91b3934927493cedd
|
7
|
+
data.tar.gz: 768af5c091e49b6a82b83e884684270b09a94cce877c3710aebefc43c611c44d6a6f6eed727b4458a259590008ef51809a56443207e9e9117e1b14ac3deeb4c3
|
@@ -4,10 +4,6 @@ module Spree
|
|
4
4
|
helper Spree::AddressesHelper
|
5
5
|
load_and_authorize_resource class: Spree::Address
|
6
6
|
|
7
|
-
def index
|
8
|
-
@addresses = try_spree_current_user.addresses
|
9
|
-
end
|
10
|
-
|
11
7
|
def create
|
12
8
|
@address = try_spree_current_user.addresses.build(address_params)
|
13
9
|
if create_service.call(user: try_spree_current_user, address_params: @address.attributes).success?
|
data/config/routes.rb
CHANGED
@@ -16,7 +16,7 @@ Spree::Core::Engine.add_routes do
|
|
16
16
|
|
17
17
|
resources :orders, except: [:index, :new, :create, :destroy]
|
18
18
|
|
19
|
-
resources :addresses, except: [:show]
|
19
|
+
resources :addresses, except: [:index, :show]
|
20
20
|
|
21
21
|
get '/cart', to: 'orders#edit', as: :cart
|
22
22
|
patch '/cart', to: 'orders#update', as: :update_cart
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_frontend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.3.0
|
4
|
+
version: 4.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Schofield
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-
|
12
|
+
date: 2021-09-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: spree_api
|
@@ -17,28 +17,28 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 4.3.0
|
20
|
+
version: 4.3.0
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 4.3.0
|
27
|
+
version: 4.3.0
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: spree_core
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 4.3.0
|
34
|
+
version: 4.3.0
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 4.3.0
|
41
|
+
version: 4.3.0
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: babel-transpiler
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -839,9 +839,9 @@ licenses:
|
|
839
839
|
- BSD-3-Clause
|
840
840
|
metadata:
|
841
841
|
bug_tracker_uri: https://github.com/spree/spree/issues
|
842
|
-
changelog_uri: https://github.com/spree/spree/releases/tag/v4.3.0
|
842
|
+
changelog_uri: https://github.com/spree/spree/releases/tag/v4.3.0
|
843
843
|
documentation_uri: https://dev-docs.spreecommerce.org/
|
844
|
-
source_code_uri: https://github.com/spree/spree/tree/v4.3.0
|
844
|
+
source_code_uri: https://github.com/spree/spree/tree/v4.3.0
|
845
845
|
post_install_message:
|
846
846
|
rdoc_options: []
|
847
847
|
require_paths:
|
@@ -853,12 +853,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
853
853
|
version: '2.5'
|
854
854
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
855
855
|
requirements:
|
856
|
-
- - "
|
856
|
+
- - ">="
|
857
857
|
- !ruby/object:Gem::Version
|
858
|
-
version:
|
858
|
+
version: '0'
|
859
859
|
requirements:
|
860
860
|
- none
|
861
|
-
rubygems_version: 3.
|
861
|
+
rubygems_version: 3.1.4
|
862
862
|
signing_key:
|
863
863
|
specification_version: 4
|
864
864
|
summary: The default Storefront built with Rails and Turbolinks for Spree eCommerce
|