pdftohtml 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pdftohtml.rb +1 -1
- data/lib/pdftohtml/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23cab5f7ee4c5176f96b20b8206bf878c9c257b9
|
4
|
+
data.tar.gz: fc1ab3d7136b7a36b52b8c155379ca0606e60147
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95767068ba4051b0225a9b4b6d2f08d127749601f4978bace5e12c5b85b61fd2bf88201f0d18a9c6fe87e1cf27a396284362c4c97c24814f4c998198c039de25
|
7
|
+
data.tar.gz: 7ee3951db59384a52d7363e50b6056cc7a44116461bfd9f5f138090f6e1e28e9202d17bc0aa6d5568a93764a6d86445759311774cf35f803b5b56187ebfa6c19
|
data/lib/pdftohtml.rb
CHANGED
@@ -26,7 +26,7 @@ module Pdftohtml
|
|
26
26
|
files = Dir["#{out_path}/*.html"]
|
27
27
|
|
28
28
|
# Load up Document Pages
|
29
|
-
pages = files.collect { |f| { /#{out_path}\/output-([0-9]+).html/.match(f)[1].to_i => File.readlines(f).collect { |l| l.chomp } } }.inject({}, :merge)
|
29
|
+
pages = files.sort.collect { |f| { /#{out_path}\/output-([0-9]+).html/.match(f)[1].to_i => File.readlines(f).collect { |l| l.chomp } } }.inject({}, :merge)
|
30
30
|
|
31
31
|
# Drop temp files
|
32
32
|
FileUtils.rmtree out_path
|
data/lib/pdftohtml/version.rb
CHANGED