solidus_core 3.4.2 → 3.4.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d24b79b7f633f151791eb5eeea95672897f053865d9f31eaee7ebb63d74e80d4
|
4
|
+
data.tar.gz: 929888d4ad005c670e628b712e63ec84704b1dfb5020b7c49d5d41d6069d37fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b5aa98cb160249b72efc190f5aa604ee0d23efaa6debd6cb43e47c03c30231abb7a8d791a01b80f6d7f0292b64c466baf5b559ef4f72ba73007720fa8bb2cb0
|
7
|
+
data.tar.gz: 7f44dbf4e1f197cec358dbdf5362247e4f39e1b860e1267709bcb88ac82fb5d2eb6b1e847ca1058017cdbd20ae14b9461587b3b58afccf5dba9cf6bce2d277a9
|
data/app/models/spree/taxon.rb
CHANGED
@@ -22,7 +22,7 @@ module Spree
|
|
22
22
|
validates :meta_keywords, length: { maximum: 255 }
|
23
23
|
validates :meta_description, length: { maximum: 255 }
|
24
24
|
validates :meta_title, length: { maximum: 255 }
|
25
|
-
validates :taxonomy_id, uniqueness: { message: :can_have_only_one_root }, if: -> { Spree::Config.extra_taxon_validations && root? }
|
25
|
+
validates :taxonomy_id, uniqueness: { scope: :parent_id, message: :can_have_only_one_root }, if: -> { Spree::Config.extra_taxon_validations && root? }
|
26
26
|
|
27
27
|
after_save :touch_ancestors_and_taxonomy
|
28
28
|
after_touch :touch_ancestors_and_taxonomy
|
@@ -119,7 +119,7 @@ module Solidus
|
|
119
119
|
rake 'active_storage:install'
|
120
120
|
else
|
121
121
|
say_status :assets, "Paperclip", :green
|
122
|
-
gsub_file 'config/initializers/spree.rb', "ActiveStorageAttachment", "PaperclipAttachment"
|
122
|
+
gsub_file 'config/initializers/spree.rb', "::ActiveStorageAttachment", "::PaperclipAttachment"
|
123
123
|
end
|
124
124
|
end
|
125
125
|
|
data/lib/spree/core/version.rb
CHANGED
@@ -6,9 +6,9 @@ module Spree
|
|
6
6
|
remove_index(table, column) if index_exists?(table, column)
|
7
7
|
end
|
8
8
|
|
9
|
-
def safe_add_index(table, column, options
|
10
|
-
if columns_exist?(table, column) && !index_exists?(table, column, options)
|
11
|
-
add_index(table, column, options)
|
9
|
+
def safe_add_index(table, column, **options)
|
10
|
+
if columns_exist?(table, column) && !index_exists?(table, column, **options)
|
11
|
+
add_index(table, column, **options)
|
12
12
|
end
|
13
13
|
end
|
14
14
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
4
|
+
version: 3.4.3
|
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-
|
11
|
+
date: 2023-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionmailer
|
@@ -1037,8 +1037,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1037
1037
|
- !ruby/object:Gem::Version
|
1038
1038
|
version: 1.8.23
|
1039
1039
|
requirements: []
|
1040
|
-
rubygems_version: 3.
|
1041
|
-
signing_key:
|
1040
|
+
rubygems_version: 3.3.7
|
1041
|
+
signing_key:
|
1042
1042
|
specification_version: 4
|
1043
1043
|
summary: Essential models, mailers, and classes for the Solidus e-commerce project.
|
1044
1044
|
test_files: []
|