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 +1 -1
- data/lib/piggybak.rb +1 -1
- data/lib/piggybak/version.rb +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
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
|
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.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:
|
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:
|
246
|
+
hash: 2493103463129152499
|
247
247
|
requirements: []
|
248
248
|
rubyforge_project:
|
249
249
|
rubygems_version: 1.8.23
|