combine_pdf 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/lib/combine_pdf/combine_pdf_parser.rb +2 -1
- data/lib/combine_pdf/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: 54fe3a4a2dc8031d7903927a20cd8ab2698915b9
|
4
|
+
data.tar.gz: 7e01b142f7ab89fad68ecbff4b8035da2b1c3226
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7696ec1f7222fc3ee6e4bd27736bd9ad6115b9ae1ee44eba333f1ce6494a5d864cabc9e8d76897d7fe0d651e4cec8fef0ef6d6ea84e5ab2036c1996fa820207
|
7
|
+
data.tar.gz: 59c72be7a53302ff6516227ce1b1837a9f23881871a372f616c965f0b450e971be52201a521d3e94b968c709d3f51682472414ff47647bdf45e4f7475038e2b4
|
data/CHANGELOG.md
CHANGED
@@ -2,9 +2,14 @@
|
|
2
2
|
|
3
3
|
***
|
4
4
|
|
5
|
+
Change log v.0.1.9
|
6
|
+
|
7
|
+
**fix**: possible fix for bug reported by lamphuongha, regarding PDF 1.5 streams. I await confirmation that the fix actually works, as I cannot seem to reproduce the whole spectrum of the bug on my system...
|
8
|
+
|
9
|
+
|
5
10
|
Change log v.0.1.8
|
6
11
|
|
7
|
-
**fix**: Fixed an issue reported by Saba, where PDF files that were written using bad practices (namely, without wrapping their content streams correctly) would not be stamped correctly due to changes in the space matrix (CTM). Fixed by wrapping all existing streams.
|
12
|
+
**fix**: Fixed an [issue reported by Saba](https://github.com/boazsegev/combine_pdf/issues/8), where PDF files that were written using bad practices (namely, without wrapping their content streams correctly) would not be stamped correctly due to changes in the space matrix (CTM). Fixed by wrapping all existing streams before stamping.
|
8
13
|
|
9
14
|
***
|
10
15
|
|
@@ -99,7 +99,8 @@ module CombinePDF
|
|
99
99
|
id_array << stream_data.shift
|
100
100
|
stream_data.shift
|
101
101
|
end
|
102
|
-
while stream_data[0]
|
102
|
+
while id_array[0] && stream_data[0]
|
103
|
+
stream_data[0] = {indirect_without_dictionary: stream_data[0]} unless stream_data[0].is_a?(Hash)
|
103
104
|
stream_data[0][:indirect_reference_id] = id_array.shift
|
104
105
|
stream_data[0][:indirect_generation_number] = 0
|
105
106
|
@parsed << stream_data.shift
|
data/lib/combine_pdf/version.rb
CHANGED
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: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boaz Segev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-rc4
|