solidus_backend 4.2.3 → 4.2.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84c83661263b961d0698d1feb7a4141432fcf725d79ccbce458502126b23e0d7
|
4
|
+
data.tar.gz: 1f2fc2f40cd54290fa8499ec6247b48a22fee8934f7183d44d120ce54e660c43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8681196d43fbd06609c700f0c2214a72ccc190277a047feae547cd1ca9926836de85a6d5717ec2ea66d9461bd2c9624e1c05b9ab199e192f60077eac807a98c4
|
7
|
+
data.tar.gz: 8fea9733fc3f6466afb7cafc40020f1b9a9d2d87515d9e3321403e46241ca2b5960ae582fbf441a2819ff3780e021d00dcb824120f54424c57e6a2c5e8b496e1
|
@@ -68,7 +68,7 @@ module Spree
|
|
68
68
|
if updating_variant_property_rules?
|
69
69
|
url_params = {}
|
70
70
|
url_params[:ovi] = []
|
71
|
-
params[:product][:variant_property_rules_attributes].
|
71
|
+
params[:product][:variant_property_rules_attributes].each_value do |param_attrs|
|
72
72
|
url_params[:ovi] += param_attrs[:option_value_ids]
|
73
73
|
end
|
74
74
|
spree.admin_product_product_properties_url(@product, url_params)
|
@@ -133,7 +133,7 @@ module Spree
|
|
133
133
|
def normalize_variant_property_rules
|
134
134
|
return unless updating_variant_property_rules?
|
135
135
|
|
136
|
-
params[:product][:variant_property_rules_attributes].
|
136
|
+
params[:product][:variant_property_rules_attributes].each_value do |param_attrs|
|
137
137
|
param_attrs[:option_value_ids] = param_attrs[:option_value_ids].split(',')
|
138
138
|
end
|
139
139
|
end
|
@@ -78,18 +78,17 @@ module Spree
|
|
78
78
|
end
|
79
79
|
|
80
80
|
def match_path?(request)
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
matches
|
81
|
+
if match_path.is_a? Regexp
|
82
|
+
request.fullpath =~ match_path
|
83
|
+
elsif match_path.respond_to?(:call)
|
84
|
+
match_path.call(request)
|
85
|
+
elsif match_path
|
86
|
+
request.fullpath.starts_with?("#{spree.admin_path}#{match_path}")
|
87
|
+
elsif url.present?
|
88
|
+
request.fullpath.to_s.starts_with?(url.to_s)
|
89
|
+
elsif @sections.present?
|
90
|
+
@sections.include?(request.controller_class.controller_name.to_sym)
|
91
|
+
end
|
93
92
|
end
|
94
93
|
|
95
94
|
def url
|
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: 4.2.
|
4
|
+
version: 4.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Solidus Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-04-05 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: 4.2.
|
19
|
+
version: 4.2.4
|
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: 4.2.
|
26
|
+
version: 4.2.4
|
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: 4.2.
|
33
|
+
version: 4.2.4
|
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: 4.2.
|
40
|
+
version: 4.2.4
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: font-awesome-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -930,7 +930,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
930
930
|
- !ruby/object:Gem::Version
|
931
931
|
version: 1.8.23
|
932
932
|
requirements: []
|
933
|
-
rubygems_version: 3.4.
|
933
|
+
rubygems_version: 3.4.19
|
934
934
|
signing_key:
|
935
935
|
specification_version: 4
|
936
936
|
summary: Admin interface for the Solidus e-commerce framework.
|