piggybak 0.6.27 → 0.6.28
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/app/models/piggybak/line_item.rb +1 -1
- data/app/models/piggybak/shipping_method.rb +2 -2
- data/lib/piggybak/version.rb +1 -1
- metadata +4 -4
data/Gemfile.lock
CHANGED
@@ -71,7 +71,7 @@ module Piggybak
|
|
71
71
|
if !self._destroy
|
72
72
|
if (self.new_record? || self.shipment.status != 'shipped') && self.shipment && self.shipment.shipping_method
|
73
73
|
calculator = self.shipment.shipping_method.klass.constantize
|
74
|
-
self.price = calculator.rate(self.shipment.shipping_method, self)
|
74
|
+
self.price = calculator.rate(self.shipment.shipping_method, self.order)
|
75
75
|
self.price = ((self.price*100).to_i).to_f/100
|
76
76
|
self.description = self.shipment.shipping_method.description
|
77
77
|
end
|
data/lib/piggybak/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: piggybak
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.28
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2013-
|
14
|
+
date: 2013-04-11 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|
@@ -235,7 +235,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
235
235
|
version: '0'
|
236
236
|
segments:
|
237
237
|
- 0
|
238
|
-
hash:
|
238
|
+
hash: -95188709892578346
|
239
239
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
240
240
|
none: false
|
241
241
|
requirements:
|
@@ -244,7 +244,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
244
244
|
version: '0'
|
245
245
|
segments:
|
246
246
|
- 0
|
247
|
-
hash:
|
247
|
+
hash: -95188709892578346
|
248
248
|
requirements: []
|
249
249
|
rubyforge_project:
|
250
250
|
rubygems_version: 1.8.23
|