pdf_info 0.5.1 → 0.5.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d12043f74284429c74aafe8e9784c34ed72123ba
4
- data.tar.gz: 337f439eedb9250fbe5d3185b9091dbf5e811c0a
3
+ metadata.gz: 05c33239646a1d9424ae14041b96cc33954d1c49
4
+ data.tar.gz: a4a2041d5266d99cf738f1cd35250ecc5b20d82e
5
5
  SHA512:
6
- metadata.gz: 22815c5f77af4887d1184d03904e6fce45ab572721cea97839a9fe629693837447094ad57e9f26dd74a41f02c83ca43bb67ca42691e8a8580b1e5852da56f340
7
- data.tar.gz: 6dc175083822fd7f85a7bc63ece632200f33ba8496dc121f9057bc501982bae10cb5a89e7e0096d14abe020ceb9640aec96815f7b8c6a385ab2c6ac45cc0d495
6
+ metadata.gz: 5886a22eee4fd15deba8a04b11f14d447715001bad0fbdcfd681c5e459429fdb837d25c5a284bf93f5ec1730084bee72728962a2249c542d77c53a7f64f7a384
7
+ data.tar.gz: 3db289ce53b39f37acdd2ba374df1c91543f6f70473ebb5438f4600feb02ae577f36d3ef45a29dc7eca12cd296577b95b61a23a6b51a2ad39272110afd7a9b2a
@@ -7,6 +7,13 @@ rvm:
7
7
  - jruby
8
8
  - ree
9
9
 
10
+ matrix:
11
+ allow_failures:
12
+ - rvm: ruby-head
13
+ - rvm: 1.8.7
14
+ - rvm: jruby
15
+ - rvm: ree
16
+
10
17
  before_install:
11
18
  - sudo apt-get update -qq
12
19
  - sudo apt-get install -qq -y poppler-utils poppler-data
@@ -18,8 +18,8 @@ module PDF
18
18
  end
19
19
 
20
20
  def command
21
- output = `#{self.class.command_path} -enc UTF-8 "#{@pdf_path}" -f 1 -l -1`
22
- exit_code = $?
21
+ output = `#{self.class.command_path} -enc UTF-8 "#{@pdf_path}" -f 1 -l -1 2> /dev/null`
22
+ exit_code = $?
23
23
  case exit_code
24
24
  when 0 || nil
25
25
  if !output.valid_encoding?
@@ -1,5 +1,5 @@
1
1
  module PDF
2
2
  class Info
3
- VERSION = "0.5.1"
3
+ VERSION = "0.5.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdf_info
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Taylor
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-22 00:00:00.000000000 Z
11
+ date: 2014-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  description:
@@ -45,10 +45,10 @@ executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
- - .document
49
- - .gitignore
50
- - .rspec
51
- - .travis.yml
48
+ - ".document"
49
+ - ".gitignore"
50
+ - ".rspec"
51
+ - ".travis.yml"
52
52
  - Gemfile
53
53
  - LICENSE.txt
54
54
  - README.md
@@ -73,17 +73,17 @@ require_paths:
73
73
  - lib
74
74
  required_ruby_version: !ruby/object:Gem::Requirement
75
75
  requirements:
76
- - - '>='
76
+ - - ">="
77
77
  - !ruby/object:Gem::Version
78
78
  version: '0'
79
79
  required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - '>='
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  requirements: []
85
85
  rubyforge_project: pdf_info
86
- rubygems_version: 2.0.3
86
+ rubygems_version: 2.2.2
87
87
  signing_key:
88
88
  specification_version: 4
89
89
  summary: Wraps the pdfinfo command line tool to provide a hash of metadata