pdf_info 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pdf_info might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.travis.yml +2 -1
- data/lib/pdf/info.rb +1 -1
- data/lib/pdf/info/version.rb +1 -1
- data/pdf_info.gemspec +3 -3
- metadata +9 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4ea7e5ccf23af3e42491ef6e2abee750dd1dea5
|
4
|
+
data.tar.gz: 7be40734042c2ef0fadcb350708d962b10ca5ee4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4ab35fef3564417f798f24b9ace0cb49d4d83fcd6a53096d705f726c69141589d19cfadfd4f30d35e712efde4c88dfb702b1408778452047f7ace276e6f7dbe
|
7
|
+
data.tar.gz: 18889e10cbd8cb98a5534ebbb7f82bd1924db652235083d06b96efb6e2f9ee3c75bf12b675159329f0d68ef3d40027806258260d84025c22c9392cc9126aac6c
|
data/.travis.yml
CHANGED
data/lib/pdf/info.rb
CHANGED
@@ -18,7 +18,7 @@ module PDF
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def command
|
21
|
-
output = `#{self.class.command_path} -enc UTF-8
|
21
|
+
output = `#{self.class.command_path} -enc UTF-8 -f 1 -l -1 "#{@pdf_path}" 2> /dev/null`
|
22
22
|
exit_code = $?
|
23
23
|
case exit_code
|
24
24
|
when 0 || nil
|
data/lib/pdf/info/version.rb
CHANGED
data/pdf_info.gemspec
CHANGED
@@ -6,8 +6,8 @@ Gem::Specification.new do |s|
|
|
6
6
|
s.name = %q{pdf_info}
|
7
7
|
s.version = PDF::Info::VERSION
|
8
8
|
s.platform = Gem::Platform::RUBY
|
9
|
-
s.authors = ["Tom Taylor"]
|
10
|
-
s.email = ["tom@tomtaylor.co.uk"]
|
9
|
+
s.authors = ["Tom Taylor", "Keiran Smith"]
|
10
|
+
s.email = ["tom@tomtaylor.co.uk", "affix@affix.me"]
|
11
11
|
s.homepage = "https://github.com/newspaperclub/pdf_info"
|
12
12
|
s.summary = %q{Wraps the pdfinfo command line tool to provide a hash of metadata}
|
13
13
|
s.licenses = ["MIT"]
|
@@ -20,5 +20,5 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.require_paths = ["lib"]
|
21
21
|
|
22
22
|
s.add_development_dependency "rake"
|
23
|
-
s.add_development_dependency "rspec"
|
23
|
+
s.add_development_dependency "rspec", '~> 2.12.0'
|
24
24
|
end
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pdf_info
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Taylor
|
8
|
+
- Keiran Smith
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2016-05-11 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: rake
|
@@ -28,19 +29,20 @@ dependencies:
|
|
28
29
|
name: rspec
|
29
30
|
requirement: !ruby/object:Gem::Requirement
|
30
31
|
requirements:
|
31
|
-
- - "
|
32
|
+
- - "~>"
|
32
33
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
34
|
+
version: 2.12.0
|
34
35
|
type: :development
|
35
36
|
prerelease: false
|
36
37
|
version_requirements: !ruby/object:Gem::Requirement
|
37
38
|
requirements:
|
38
|
-
- - "
|
39
|
+
- - "~>"
|
39
40
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
41
|
+
version: 2.12.0
|
41
42
|
description:
|
42
43
|
email:
|
43
44
|
- tom@tomtaylor.co.uk
|
45
|
+
- affix@affix.me
|
44
46
|
executables: []
|
45
47
|
extensions: []
|
46
48
|
extra_rdoc_files: []
|
@@ -83,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
85
|
version: '0'
|
84
86
|
requirements: []
|
85
87
|
rubyforge_project: pdf_info
|
86
|
-
rubygems_version: 2.
|
88
|
+
rubygems_version: 2.4.5.1
|
87
89
|
signing_key:
|
88
90
|
specification_version: 4
|
89
91
|
summary: Wraps the pdfinfo command line tool to provide a hash of metadata
|