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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bb4a74b1b7115b80405f1a3b20f297a7b5ee01900623b7e24d029e821ba3958b
4
- data.tar.gz: 55960bbd275a107d009029ebd20321a42bc6e0c46e0b8c863955cdcc42898075
3
+ metadata.gz: 8b3e8c94147534ef8750f819324f7359a54755bdbb3beca9708a693de039b502
4
+ data.tar.gz: 25ba4660fdc41529e3f6c4049e745f78e32aa219133f548636fb87b3bd760815
5
5
  SHA512:
6
- metadata.gz: a30ac40767917cdd7257f7a613d9d51275383adfc89a20d1fd4bc32741da1cb5d94f8f07f93ce35774d2f111a8903ae296846046cb29e5c19fb021d5c396bea9
7
- data.tar.gz: 7247f2d98a0064f09da880554dd390d255aa6008228701169701b1d2b9b8c0c1c0f274647ff0bea0b05c41d20e2337bd0faba5831233b2df27f4255bf9001525
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.rc3
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-08-30 00:00:00.000000000 Z
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.rc3
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.rc3
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.rc3
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.rc3
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.rc3
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.rc3
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: 1.3.1
858
+ version: '0'
859
859
  requirements:
860
860
  - none
861
- rubygems_version: 3.2.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