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 CHANGED
@@ -1 +1 @@
1
- 0.0.5
1
+ 0.0.6
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "itext-jruby"
8
- s.version = "0.0.5"
8
+ s.version = "0.0.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ernest Bursa"]
@@ -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
- if File.exists?(attachment)
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
- if File.exists?(attachment)
40
- @attachments.delete(attachment)
41
- end
37
+ @attachments.delete(attachment)
42
38
  end
43
39
  @attachments
44
40
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: itext-jruby
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.5
5
+ version: 0.0.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Ernest Bursa