spree_core 3.1.10 → 3.1.11
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 270e63acb2ee4007b6bea2044c6d983e308c0e9e
|
4
|
+
data.tar.gz: 6d048ddd8484553b669a1e38ecae1c82a323add5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8da7ac191edc6933febe5cd2006d8ea31a96d3fc1be13a7043644b0ba7afcd17c33399847a277d88a6eea4d75ad0c94ef83029fdf2ddfaf563a6751f1d008fe
|
7
|
+
data.tar.gz: defab635ca53f329c9539dd6b36835e24b9e9e88080f5cc006818f93f8b4bbcfdd928f996baf28b0508140104f255c7466cdf56568c0d07bedf8353701a6a973
|
data/app/models/spree/order.rb
CHANGED
@@ -272,8 +272,8 @@ module Spree
|
|
272
272
|
self.user = user
|
273
273
|
self.email = user.email if override_email
|
274
274
|
self.created_by ||= user
|
275
|
-
self.bill_address ||= user.bill_address
|
276
|
-
self.ship_address ||= user.ship_address
|
275
|
+
self.bill_address ||= user.bill_address.try(:clone)
|
276
|
+
self.ship_address ||= user.ship_address.try(:clone)
|
277
277
|
|
278
278
|
changes = slice(:user_id, :email, :created_by_id, :bill_address_id, :ship_address_id)
|
279
279
|
|
@@ -20,9 +20,9 @@ module Spree
|
|
20
20
|
def perform
|
21
21
|
@shipment.inventory_units.each &:ship!
|
22
22
|
@shipment.process_order_payments if Spree::Config[:auto_capture_on_dispatch]
|
23
|
-
send_shipped_email
|
24
23
|
@shipment.touch :shipped_at
|
25
24
|
update_order_shipment_state
|
25
|
+
send_shipped_email
|
26
26
|
end
|
27
27
|
|
28
28
|
private
|
data/lib/spree/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Schofield
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemerchant
|
@@ -584,6 +584,7 @@ files:
|
|
584
584
|
- config/initializers/assets.rb
|
585
585
|
- config/initializers/friendly_id.rb
|
586
586
|
- config/initializers/premailer_assets.rb
|
587
|
+
- config/initializers/premailer_rails.rb
|
587
588
|
- config/initializers/user_class_extensions.rb
|
588
589
|
- config/locales/en.yml
|
589
590
|
- config/routes.rb
|