combine_pdf 0.2.10 → 0.2.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/combine_pdf/page_methods.rb +1 -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: 4ae077f6437bdf78fe092fef2b738da12e6fb9bc
|
4
|
+
data.tar.gz: eca7b7e5c9c4f0f5b5c77d6d6904aed94e0c348a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b7bec4b0cdeb0a3764d0ee0d7a8d8576c8a01c29fb2dfcbfb8d06d64bfe633dfe0aa9da9801e630a59754d621a3b00383df9be3d8a4ec9247c3c47b55a4623f
|
7
|
+
data.tar.gz: 82d77ada70dcf80ca0a4354dd6c9254f56c4ebaa637d0e875a1cb2621829a62c6cdcbe11a8afb421e40da0f6b0b0cc26938c6e7a8294cd8832e2ee2658bc285c
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,14 @@
|
|
2
2
|
|
3
3
|
***
|
4
4
|
|
5
|
+
Change log v.0.2.11
|
6
|
+
|
7
|
+
**Fix**: fix for issue #35 , which was caused by the broken fix for issue #34. Credit to Davek Rupinski for pointing out the issue.
|
8
|
+
|
9
|
+
**Fix**: fixed an issue with data and (file) sending, introduced when extending the `send_data` method to allow for big file uploads.
|
10
|
+
|
11
|
+
***
|
12
|
+
|
5
13
|
Change log v.0.2.10
|
6
14
|
|
7
15
|
**Fix**: fixed page stamping when the page's content was a referenced object instead or a direct array of content references. Credit to vitstradal for discovering the issue.
|
@@ -613,7 +613,7 @@ module CombinePDF
|
|
613
613
|
end
|
614
614
|
#initializes the content stream in case it was not initialized before
|
615
615
|
def init_contents
|
616
|
-
self[:Contents] = self[:Contents][:referenced_object][:indirect_without_dictionary] if self[:Contents][:referenced_object] && self[:Contents][:referenced_object][:indirect_without_dictionary]
|
616
|
+
self[:Contents] = self[:Contents][:referenced_object][:indirect_without_dictionary] if self[:Contents].is_a?(Hash) && self[:Contents][:referenced_object] && self[:Contents][:referenced_object].is_a?(Hash) && self[:Contents][:referenced_object][:indirect_without_dictionary]
|
617
617
|
self[:Contents].delete({ is_reference_only: true , referenced_object: {indirect_reference_id: 0, raw_stream_content: ''} })
|
618
618
|
# wrap content streams
|
619
619
|
insert_content 'q', 0
|
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.2.
|
4
|
+
version: 0.2.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boaz Segev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-rc4
|