piggybak 0.6.20 → 0.6.21

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- piggybak (0.6.20)
4
+ piggybak (0.6.21)
5
5
  activemerchant
6
6
  countries
7
7
  devise
data/lib/piggybak.rb CHANGED
@@ -82,7 +82,7 @@ module Piggybak
82
82
  # e.g. self.line_items.sellables
83
83
  # e.g. self.line_items.taxes
84
84
  define_method "#{k.to_s.pluralize}" do
85
- proxy_association.proxy.select { |li| li.line_item_type == "#{k}" }
85
+ proxy_association.proxy.select { |li| li.line_item_type == "#{k}" }.select { |li| !li.marked_for_destruction? }
86
86
  end
87
87
  end
88
88
  end
@@ -1,3 +1,3 @@
1
1
  module Piggybak
2
- VERSION = "0.6.20"
2
+ VERSION = "0.6.21"
3
3
  end
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.20
4
+ version: 0.6.21
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -234,7 +234,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
234
234
  version: '0'
235
235
  segments:
236
236
  - 0
237
- hash: 1267569878513795550
237
+ hash: 2493103463129152499
238
238
  required_rubygems_version: !ruby/object:Gem::Requirement
239
239
  none: false
240
240
  requirements:
@@ -243,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
243
243
  version: '0'
244
244
  segments:
245
245
  - 0
246
- hash: 1267569878513795550
246
+ hash: 2493103463129152499
247
247
  requirements: []
248
248
  rubyforge_project:
249
249
  rubygems_version: 1.8.23