effective_orders 5.6.0 → 5.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 +4 -4
- data/app/models/effective/order_item.rb +1 -1
- data/lib/effective_orders/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9916dc95644358778cbf90e9fd1901470b4212af2e17dc57bbc417d56c6d68bd
|
|
4
|
+
data.tar.gz: 59ee98077944da2d2b2d60f017b605ddc232828d141480e607e6594643dc72a7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cae30e352a619e635506bc5c94f941f76b0b7d7bfa9d60a289fc7f1315bb9bcdf5959e0f6d05e35687152bfe5085bf44cfb3b875f819bac75464c70b5e61cf56
|
|
7
|
+
data.tar.gz: 6f00eced041af3ba59e122676059845cad7728cac6b08404dfd09fea324c37bc6e62435a981eb7cc32a0787e0e90a30c2584361008d07cea5aa71a5009428b2f
|
|
@@ -34,7 +34,7 @@ module Effective
|
|
|
34
34
|
|
|
35
35
|
# This method is called in a before_validation in order.assign_order_totals()
|
|
36
36
|
def assign_purchasable_attributes
|
|
37
|
-
assign_attributes(name: purchasable.
|
|
37
|
+
assign_attributes(name: purchasable.purchasable_name, price: purchasable.price, tax_exempt: purchasable.tax_exempt) if purchasable
|
|
38
38
|
end
|
|
39
39
|
|
|
40
40
|
def build_purchasable(atts = {})
|