pdf-merger 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -6,8 +6,8 @@ source "http://rubygems.org"
6
6
  # Add dependencies to develop your gem here.
7
7
  # Include everything needed to run rake, tests, features, etc.
8
8
  group :development do
9
- gem "shoulda", ">= 0"
10
- gem "bundler", "~> 1.0.0"
11
- gem "jeweler", "~> 1.6.4"
12
- gem "rcov", ">= 0"
9
+ gem "shoulda"
10
+ gem "bundler"
11
+ gem "jeweler"
12
+ gem "rcov"
13
13
  end
@@ -2,19 +2,26 @@ GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
4
  git (1.2.5)
5
- jeweler (1.6.4)
5
+ jeweler (1.8.4)
6
6
  bundler (~> 1.0)
7
7
  git (>= 1.2.5)
8
8
  rake
9
- rake (0.9.2)
9
+ rdoc
10
+ json (1.7.5)
11
+ json (1.7.5-java)
12
+ rake (0.9.2.2)
10
13
  rcov (0.9.10)
14
+ rcov (0.9.10-java)
15
+ rdoc (3.12)
16
+ json (~> 1.4)
11
17
  shoulda (2.11.3)
12
18
 
13
19
  PLATFORMS
20
+ java
14
21
  ruby
15
22
 
16
23
  DEPENDENCIES
17
- bundler (~> 1.0.0)
18
- jeweler (~> 1.6.4)
24
+ bundler
25
+ jeweler
19
26
  rcov
20
27
  shoulda
@@ -1,3 +1,6 @@
1
+ == 0.3.1 2012-10-25
2
+ * use java_import instead of include_class (include_class deprecated in jruby 1.7.0)
3
+
1
4
  == 0.3.0 2012-08-22
2
5
  * instead of failing completely, merge the valid files and return an array of missing and invalid PDFs
3
6
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -10,7 +10,7 @@ include FileUtils
10
10
 
11
11
  module PDF
12
12
  class Merger
13
- VERSION = "0.3.0"
13
+ VERSION = "0.3.1"
14
14
 
15
15
  if RUBY_PLATFORM =~ /java/ # ifdef to check if your using JRuby
16
16
  require 'pdf/merger/jruby'
@@ -6,9 +6,9 @@ $:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..', 'ext'))
6
6
  require 'java'
7
7
  require 'iText-4.2.0.jar'
8
8
 
9
- include_class 'java.io.FileOutputStream'
10
- include_class 'com.lowagie.text.pdf.PdfReader'
11
- include_class 'com.lowagie.text.pdf.PdfCopyFields'
9
+ java_import 'java.io.FileOutputStream'
10
+ java_import 'com.lowagie.text.pdf.PdfReader'
11
+ java_import 'com.lowagie.text.pdf.PdfCopyFields'
12
12
 
13
13
  module PDF
14
14
  class Merger
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "pdf-merger"
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Paul Schreiber"]
12
- s.date = "2012-08-22"
12
+ s.date = "2012-10-25"
13
13
  s.description = "Merge multiple PDFs in to one using iText's PdfCopyFile."
14
14
  s.email = "paulschreiber@gmail.com"
15
15
  s.extra_rdoc_files = [
@@ -35,7 +35,7 @@ Gem::Specification.new do |s|
35
35
  s.homepage = "http://github.com/paulschreiber/pdf-merger"
36
36
  s.licenses = ["MIT"]
37
37
  s.require_paths = ["lib"]
38
- s.rubygems_version = "1.8.23"
38
+ s.rubygems_version = "1.8.24"
39
39
  s.summary = "Merge PDFs."
40
40
 
41
41
  if s.respond_to? :specification_version then
@@ -43,19 +43,19 @@ Gem::Specification.new do |s|
43
43
 
44
44
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
45
45
  s.add_development_dependency(%q<shoulda>, [">= 0"])
46
- s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
47
- s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
46
+ s.add_development_dependency(%q<bundler>, [">= 0"])
47
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
48
48
  s.add_development_dependency(%q<rcov>, [">= 0"])
49
49
  else
50
50
  s.add_dependency(%q<shoulda>, [">= 0"])
51
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
52
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
51
+ s.add_dependency(%q<bundler>, [">= 0"])
52
+ s.add_dependency(%q<jeweler>, [">= 0"])
53
53
  s.add_dependency(%q<rcov>, [">= 0"])
54
54
  end
55
55
  else
56
56
  s.add_dependency(%q<shoulda>, [">= 0"])
57
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
58
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
57
+ s.add_dependency(%q<bundler>, [">= 0"])
58
+ s.add_dependency(%q<jeweler>, [">= 0"])
59
59
  s.add_dependency(%q<rcov>, [">= 0"])
60
60
  end
61
61
  end
metadata CHANGED
@@ -1,80 +1,88 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdf-merger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
5
- prerelease:
4
+ prerelease:
5
+ version: 0.3.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Paul Schreiber
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-22 00:00:00.000000000 Z
12
+ date: 2012-10-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: shoulda
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
16
+ version_requirements: !ruby/object:Gem::Requirement
18
17
  requirements:
19
18
  - - ! '>='
20
19
  - !ruby/object:Gem::Version
21
- version: '0'
22
- type: :development
23
- prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
20
+ version: !binary |-
21
+ MA==
25
22
  none: false
23
+ requirement: !ruby/object:Gem::Requirement
26
24
  requirements:
27
25
  - - ! '>='
28
26
  - !ruby/object:Gem::Version
29
- version: '0'
27
+ version: !binary |-
28
+ MA==
29
+ none: false
30
+ prerelease: false
31
+ type: :development
30
32
  - !ruby/object:Gem::Dependency
31
33
  name: bundler
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
+ version_requirements: !ruby/object:Gem::Requirement
34
35
  requirements:
35
- - - ~>
36
+ - - ! '>='
36
37
  - !ruby/object:Gem::Version
37
- version: 1.0.0
38
- type: :development
39
- prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
38
+ version: !binary |-
39
+ MA==
41
40
  none: false
41
+ requirement: !ruby/object:Gem::Requirement
42
42
  requirements:
43
- - - ~>
43
+ - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
- version: 1.0.0
45
+ version: !binary |-
46
+ MA==
47
+ none: false
48
+ prerelease: false
49
+ type: :development
46
50
  - !ruby/object:Gem::Dependency
47
51
  name: jeweler
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
52
+ version_requirements: !ruby/object:Gem::Requirement
50
53
  requirements:
51
- - - ~>
54
+ - - ! '>='
52
55
  - !ruby/object:Gem::Version
53
- version: 1.6.4
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
56
+ version: !binary |-
57
+ MA==
57
58
  none: false
59
+ requirement: !ruby/object:Gem::Requirement
58
60
  requirements:
59
- - - ~>
61
+ - - ! '>='
60
62
  - !ruby/object:Gem::Version
61
- version: 1.6.4
63
+ version: !binary |-
64
+ MA==
65
+ none: false
66
+ prerelease: false
67
+ type: :development
62
68
  - !ruby/object:Gem::Dependency
63
69
  name: rcov
64
- requirement: !ruby/object:Gem::Requirement
65
- none: false
70
+ version_requirements: !ruby/object:Gem::Requirement
66
71
  requirements:
67
72
  - - ! '>='
68
73
  - !ruby/object:Gem::Version
69
- version: '0'
70
- type: :development
71
- prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
74
+ version: !binary |-
75
+ MA==
73
76
  none: false
77
+ requirement: !ruby/object:Gem::Requirement
74
78
  requirements:
75
79
  - - ! '>='
76
80
  - !ruby/object:Gem::Version
77
- version: '0'
81
+ version: !binary |-
82
+ MA==
83
+ none: false
84
+ prerelease: false
85
+ type: :development
78
86
  description: Merge multiple PDFs in to one using iText's PdfCopyFile.
79
87
  email: paulschreiber@gmail.com
80
88
  executables: []
@@ -100,29 +108,31 @@ files:
100
108
  homepage: http://github.com/paulschreiber/pdf-merger
101
109
  licenses:
102
110
  - MIT
103
- post_install_message:
111
+ post_install_message:
104
112
  rdoc_options: []
105
113
  require_paths:
106
114
  - lib
107
115
  required_ruby_version: !ruby/object:Gem::Requirement
108
- none: false
109
116
  requirements:
110
117
  - - ! '>='
111
118
  - !ruby/object:Gem::Version
112
- version: '0'
113
119
  segments:
114
120
  - 0
115
- hash: 3756396917728053956
116
- required_rubygems_version: !ruby/object:Gem::Requirement
121
+ hash: 2
122
+ version: !binary |-
123
+ MA==
117
124
  none: false
125
+ required_rubygems_version: !ruby/object:Gem::Requirement
118
126
  requirements:
119
127
  - - ! '>='
120
128
  - !ruby/object:Gem::Version
121
- version: '0'
129
+ version: !binary |-
130
+ MA==
131
+ none: false
122
132
  requirements: []
123
- rubyforge_project:
124
- rubygems_version: 1.8.23
125
- signing_key:
133
+ rubyforge_project:
134
+ rubygems_version: 1.8.24
135
+ signing_key:
126
136
  specification_version: 3
127
137
  summary: Merge PDFs.
128
138
  test_files: []