spree_temando 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -95,7 +95,9 @@ private
|
|
95
95
|
begin
|
96
96
|
request = Temando::Request.new
|
97
97
|
line_items.reject { |i| i.quantity < 1 }.each do |item|
|
98
|
-
|
98
|
+
item = item.to_temando_item
|
99
|
+
return nil if item.nil?
|
100
|
+
request.items << item
|
99
101
|
end
|
100
102
|
|
101
103
|
request.quotes_for(delivery)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_temando
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-12-
|
12
|
+
date: 2012-12-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: spree_core
|