itext-jruby 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/itext-jruby.gemspec +1 -1
- data/lib/itext/attachments.rb +2 -6
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.6
|
data/itext-jruby.gemspec
CHANGED
data/lib/itext/attachments.rb
CHANGED
@@ -23,9 +23,7 @@ module Itext::Attachments
|
|
23
23
|
@attachments ||= []
|
24
24
|
attachments = [attachments] unless attachments.is_a?(Array)
|
25
25
|
attachments.each do |attachment|
|
26
|
-
|
27
|
-
@attachments << attachment
|
28
|
-
end
|
26
|
+
@attachments << attachment
|
29
27
|
end
|
30
28
|
@attachments
|
31
29
|
end
|
@@ -36,9 +34,7 @@ module Itext::Attachments
|
|
36
34
|
@attachments ||= []
|
37
35
|
attachments = [attachments] unless attachments.is_a?(Array)
|
38
36
|
attachments.each do |attachment|
|
39
|
-
|
40
|
-
@attachments.delete(attachment)
|
41
|
-
end
|
37
|
+
@attachments.delete(attachment)
|
42
38
|
end
|
43
39
|
@attachments
|
44
40
|
end
|