solidus_core 4.6.0 → 4.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f616e30c09a8f81468fd2f3d646b4ba5624ad26af29aae44985622adf3db57b8
4
- data.tar.gz: 982dc95e2dc4518445e5dd6d133354cd283663028902c55ad4850af1e18ea4cd
3
+ metadata.gz: 1ab07c75d9886b9eda75453847a2a2ec936e5aabd8bff99854a10381c4bd1dc0
4
+ data.tar.gz: 58e45a9450049e9efbd8c768875a42eeabcf8529f3c23b2fb087ceaa4bd95099
5
5
  SHA512:
6
- metadata.gz: 9a4cd294113878e692b12af0214b7200522d4ce583a2d515e7d848c342fe787d64dd78c9b9a9b6de02fdf7b2c47a5bab7e3a5054cb0d76935851c7935d3b79d3
7
- data.tar.gz: aa69ad3e6b7616a701675aca113da85e7b9472f6f95ffe2bc42ea1fa1115ceffdcb1c710482e8d4a509616d1a6c5c0036a157dd92405f6937eea261fbdc38c77
6
+ metadata.gz: 41b675b7a0df269e5ff38496b42eac3b22379192961da29717ed9a8f72b922d478d530cdbc457e6620badb5d9ccc4c006264be968c796a6495774322eabd905e
7
+ data.tar.gz: ad1547dd2d1f7f6dcb024200910f59ba1d7f48845b9ae90feccbe1da1dff2da9c215d8a811ad7bd24bfc40b4bbc2be917388917d96285bf64cf67629b81079dc
@@ -9,7 +9,7 @@ module Spree
9
9
  belongs_to :order, class_name: 'Spree::Order', touch: true, inverse_of: :shipments, optional: true
10
10
  belongs_to :stock_location, class_name: 'Spree::StockLocation', optional: true
11
11
 
12
- has_many :adjustments, as: :adjustable, inverse_of: :adjustable, dependent: :delete_all
12
+ has_many :adjustments, as: :adjustable, inverse_of: :adjustable, dependent: :delete_all, autosave: true
13
13
  has_many :inventory_units, dependent: :destroy, inverse_of: :shipment
14
14
  has_many :shipping_rates, -> { order(:cost) }, dependent: :destroy, inverse_of: :shipment
15
15
  has_many :shipping_methods, through: :shipping_rates
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Spree
4
- VERSION = "4.6.0"
4
+ VERSION = "4.6.1"
5
5
 
6
6
  def self.solidus_version = VERSION
7
7
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.6.0
4
+ version: 4.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team