pdftohtml 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 71270f81fa1ddd952a2a6cba98cd7da1825c49e5
4
- data.tar.gz: b82c75906bb58ccf2cff72eac516086ae70ac45a
3
+ metadata.gz: 23cab5f7ee4c5176f96b20b8206bf878c9c257b9
4
+ data.tar.gz: fc1ab3d7136b7a36b52b8c155379ca0606e60147
5
5
  SHA512:
6
- metadata.gz: 3be22bf6573d1fea12ff60592a7bd8b6d757e55626ac518bebfb0dae250e92dea82ca0aeae051b6bbc5428ea19ab54ac85b7b951518dacc5ffc287e6da9b83a4
7
- data.tar.gz: 0849e31483b479fac0680c417df93ed00ca5dcabf6d00041a7499704d84ba04f00dbb7ea82b1d02fab6e7e13208519dd281b55d75f43afc3c2250e36b0d7270f
6
+ metadata.gz: 95767068ba4051b0225a9b4b6d2f08d127749601f4978bace5e12c5b85b61fd2bf88201f0d18a9c6fe87e1cf27a396284362c4c97c24814f4c998198c039de25
7
+ data.tar.gz: 7ee3951db59384a52d7363e50b6056cc7a44116461bfd9f5f138090f6e1e28e9202d17bc0aa6d5568a93764a6d86445759311774cf35f803b5b56187ebfa6c19
@@ -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
@@ -5,5 +5,5 @@
5
5
  module Pdftohtml
6
6
 
7
7
  # Version
8
- VERSION = '0.2.2'
8
+ VERSION = '0.2.3'
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdftohtml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse