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: 27a6dc7426532656dc872561abdbd2d10b0f6695e5020024302ce9c8a720ef8c
4
- data.tar.gz: c9352bdf10b7a7131fe5a1e9535a9a6dc585d4bd60084b8ca116cac2925faec7
3
+ metadata.gz: d24b79b7f633f151791eb5eeea95672897f053865d9f31eaee7ebb63d74e80d4
4
+ data.tar.gz: 929888d4ad005c670e628b712e63ec84704b1dfb5020b7c49d5d41d6069d37fb
5
5
  SHA512:
6
- metadata.gz: 0ad38fa6806399e63992c8e0455f9baa443a85fef435c71fe07e2b2da1f7269254c0e6403d5a009a61cfa550c9c8702ec7ef155d8dc7e9f88cdb0c1f5ac5cd20
7
- data.tar.gz: 0ebe32086e2e138edd27721b3fa5536db1de7255bb6d30d8cdc223eebb7e795b369bd26fae4c96b8de7269bf03f2afdb09ddfef8a797470d41b42e3016956a89
6
+ metadata.gz: 2b5aa98cb160249b72efc190f5aa604ee0d23efaa6debd6cb43e47c03c30231abb7a8d791a01b80f6d7f0292b64c466baf5b559ef4f72ba73007720fa8bb2cb0
7
+ data.tar.gz: 7f44dbf4e1f197cec358dbdf5362247e4f39e1b860e1267709bcb88ac82fb5d2eb6b1e847ca1058017cdbd20ae14b9461587b3b58afccf5dba9cf6bce2d277a9
@@ -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
 
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Spree
4
- VERSION = "3.4.2"
4
+ VERSION = "3.4.3"
5
5
 
6
6
  def self.solidus_version
7
7
  VERSION
@@ -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.2
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-05-04 00:00:00.000000000 Z
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.4.9
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: []