spree_core 2.3.0 → 2.3.1
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: 66920ae53fa26364425582e338582f7543cfde28
|
4
|
+
data.tar.gz: fec0a8ddbf653e8a1a21e5fc8ae1954745b77a23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0223b441cc91485cb7d8c138ee3ca4f79120b03067b0374fd0f3b6ab5e4b1dfe88f0811719d7517c0a782ae2f1f421d0ad7e4257279b028d2f82071aeee604fc
|
7
|
+
data.tar.gz: 8a79116e5fed7a827e1f01c3ddc3b5893a8ce007c1e67fb620040b7dd1975a93f097df4714ea527801ee02e9559fda64375fecb939f9e9cf9a5c6d7381a38ac7
|
@@ -8,7 +8,7 @@ class AddLineItemIdToSpreeInventoryUnits < ActiveRecord::Migration
|
|
8
8
|
shipments = Spree::Shipment.includes(:inventory_units, :order)
|
9
9
|
|
10
10
|
shipments.find_each do |shipment|
|
11
|
-
shipment.inventory_units.group_by(&:variant_id).each do |
|
11
|
+
shipment.inventory_units.group_by(&:variant_id).each do |variant_id, units|
|
12
12
|
|
13
13
|
line_item = shipment.order.line_items.find_by(variant_id: variant_id)
|
14
14
|
next unless line_item
|
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: 2.3.
|
4
|
+
version: 2.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Schofield
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemerchant
|