combine_pdf 1.0.13 → 1.0.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3ca8e3d75a2b167718e3f749076bd5bbbd1701b0218a811fd9fed4dda23c194a
4
- data.tar.gz: 71bae00e5caeba7b1f70d2fc3492a669b5c05fcde8d56a9b58b7bbda2010cec9
3
+ metadata.gz: 12c5d23db9fbb596774c8de4c114e8b498666a3becc8494dd5bad9b83df7697d
4
+ data.tar.gz: 76cdf0ac5c7348e4ea0f7b6229821ae22e8cde8280b3f54e33a78f943f1631f4
5
5
  SHA512:
6
- metadata.gz: 4c680801b7c0c925e1c6a66459b51de48ff3942c1cf24d5b31dbad55a2fb88f434ac4f67404c81ee422e672c92fc852ba4708835904c1d041cc5537abc13ba87
7
- data.tar.gz: b2cb8a1eecf10d2503193f09802dc25655cd79b8bf41d422c1c45152fb0cf98e2092788bc19e77d139ec5918fa42782a5f97a2e1e9a7f9703de5be5b4479d2ca
6
+ metadata.gz: 797b955bacadf38f8fa2122b0a2f57f0e24aa7295cd22799cf857453be498f77a9e968ae429f4f69ea9f937dcc5d52ab699cbcf8d4272f42a46dbcd7ae5f77ff
7
+ data.tar.gz: 1b83908d5d2e1a6a18f33a9b6920937cb5a23d8d8f55807291a56398d9487f41eafd94d81c82767abbf841168e040c26fb6cac275552b2076208d9dc5eb0dc15
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ***
4
4
 
5
+ #### Change log v.1.0.14
6
+
7
+ **Fix**: Fixed an issue related to PDF XRef table data, where a malformed EOL marker would cause the parser to fail. Credit to @dangerous (David Rainsford) for exposing this issue in a comment to issue #140.
8
+
5
9
  #### Change log v.1.0.13
6
10
 
7
11
  **Fix**: Fixed an issue related to PDF object streams (version 1.6) where a numerical object at the beginning of the stream might be mis-parsed as an object reference number rather than an object. Credit to @Defoncesko for reporting issue #141.
@@ -418,7 +418,7 @@ module CombinePDF
418
418
  ##########################################
419
419
  elsif @scanner.scan(/xref/)
420
420
  # skip list indetifier lines or list lines ([\d] [\d][\r\n]) ot ([\d] [\d] [nf][\r\n])
421
- while @scanner.scan(/[\s]*[\d]+[ \t]+[\d]+[ \t\r]*\n[\r]?/) || @scanner.scan(/[ \t]*[\d]+[ \t]+[\d]+[ \t]+[nf][\s]*/)
421
+ while @scanner.scan(/[\s]*[\d]+[ \t]+[\d]+[ \t]*[\n\r]+/) || @scanner.scan(/[ \t]*[\d]+[ \t]+[\d]+[ \t]+[nf][\s]*/)
422
422
  nil
423
423
  end
424
424
  ##########################################
@@ -1,3 +1,3 @@
1
1
  module CombinePDF
2
- VERSION = '1.0.13'.freeze
2
+ VERSION = '1.0.14'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: combine_pdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.13
4
+ version: 1.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boaz Segev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-11 00:00:00.000000000 Z
11
+ date: 2018-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-rc4