pdf_meta 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pdf_meta/parser.rb +1 -1
- data/lib/pdf_meta/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ccc7da406d14d554f70703e9e9296bf9d654eaed
|
4
|
+
data.tar.gz: be9c1cfdaf61e07e4b657a1b55d10c5422167d8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f8f9209b307308b8b1935275c6fad9d9e317257987f17e42c4824e64e3a70a3ffe1bf3c1ad54987e5ab7f2aecc2793359ee8412284d62e3b625a04ce37d9a42
|
7
|
+
data.tar.gz: cbc57b94c41db36fc4730fab5661c4106b472f6867a507beebac94c0f0cd956af4deec8cd1d728342549a88043e9d46b39a355cc80ae291868b67d9717189fb9
|
data/lib/pdf_meta/parser.rb
CHANGED
@@ -12,7 +12,7 @@ module PDFMeta
|
|
12
12
|
private
|
13
13
|
|
14
14
|
def parsed_output
|
15
|
-
out = @output.split("\n").map {|x| x.split(':', 2)}
|
15
|
+
out = @output.split("\n").map {|x| x.split(':', 2)}.reject(&:empty?)
|
16
16
|
hash = {}
|
17
17
|
out = out.each do |row|
|
18
18
|
hash[row.first.underscore.parameterize.underscore.to_sym] = row.last.strip
|
data/lib/pdf_meta/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pdf_meta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Carlile
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|