solidus_backend 3.3.1 → 3.3.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
  SHA256:
3
- metadata.gz: 4ee3cef54d851615d8ec09f7d0727802dbad400dad4cb0f63f414186812d3751
4
- data.tar.gz: 9bdbc0e0fed5cc1f6b9a3215c5f2b5622d970555acd6705a6624aac383211f2e
3
+ metadata.gz: 6659fe1f36bfc8a06d79b574602a565f18b59c681f37098f17458f165f7e49cb
4
+ data.tar.gz: 3e397cf308d0d0f95cc6528da208f4164cf0cd4e8be2597663367434256270ee
5
5
  SHA512:
6
- metadata.gz: a49e3b9eb4160060656e73594ad4cc69346de775d0f1b7c34ee57337973c8f1a2b112ec8f3487c5cc999311166dff84ed31178f6c6d107dbf38fe9f0bdf5a334
7
- data.tar.gz: 5370e1dd19e962e0b38165aeae01c645746d0f9743801df3100444fff3af48a5d7c41afa15f0081ec2f918000ce68a37dadcaba3d6ba599c6c30c60ddd303695
6
+ metadata.gz: c2e508c85ffd0585ec4c3a01b66d14e3e39d36449d2d2ed1772dd793c3a2237e04d22c22b65b723b61815886305c4056a2b2c4c6cd90802c99fa08c936c8fbbe
7
+ data.tar.gz: 6df0d3977a7f884bd48ab31cf867c3f5ff840e2fbdb6b2deae4b0900083971c803f2fa065b8738e13689f60c42517c8b6151442550ce29f2ff15e6330a02bc80
@@ -82,7 +82,9 @@ class Spree::Admin::ResourceController < Spree::Admin::BaseController
82
82
  records = model_class.where(id: positions.keys).to_a
83
83
 
84
84
  positions.each do |id, index|
85
- records.find { |r| r.id == id.to_i }&.set_list_position(index)
85
+ # To permit the use of UUID as id, we compare models id in database
86
+ # and in params under the string representation instead of integer
87
+ records.find { |r| r.id.to_s == id }&.set_list_position(index)
86
88
  end
87
89
  end
88
90
 
@@ -142,7 +142,14 @@
142
142
  </div>
143
143
  <% end %>
144
144
  </div>
145
-
145
+ <div data-hook="admin_product_form_track_inventory">
146
+ <%= f.field_container :track_inventory do %>
147
+ <label>
148
+ <%= f.check_box :track_inventory %>
149
+ <%= Spree::Variant.human_attribute_name(:track_inventory) %>
150
+ </label>
151
+ <% end %>
152
+ </div>
146
153
  <% end %>
147
154
 
148
155
  <div data-hook="admin_product_form_shipping_categories">
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.1
4
+ version: 3.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-07 00:00:00.000000000 Z
11
+ date: 2023-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_api
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.3.1
19
+ version: 3.3.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 3.3.1
26
+ version: 3.3.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: solidus_core
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.3.1
33
+ version: 3.3.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 3.3.1
40
+ version: 3.3.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: font-awesome-rails
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -896,7 +896,7 @@ licenses:
896
896
  - BSD-3-Clause
897
897
  metadata:
898
898
  rubygems_mfa_required: 'true'
899
- post_install_message:
899
+ post_install_message:
900
900
  rdoc_options: []
901
901
  require_paths:
902
902
  - lib
@@ -911,8 +911,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
911
911
  - !ruby/object:Gem::Version
912
912
  version: 1.8.23
913
913
  requirements: []
914
- rubygems_version: 3.3.7
915
- signing_key:
914
+ rubygems_version: 3.4.6
915
+ signing_key:
916
916
  specification_version: 4
917
917
  summary: Admin interface for the Solidus e-commerce framework.
918
918
  test_files: []