combine_pdf 0.1.22 → 0.1.23
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 +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/combine_pdf/combine_pdf_pdf.rb +2 -2
- 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: eca9f69f00f53b73949ed2b50dbfeb1f805003f6
|
|
4
|
+
data.tar.gz: 69b5a220280dfbd5ec5b20f78c5f47fd2011a328
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f1544fdae3546f748a640c2a8b2e7902b1bc38eae5cebf3f4a4849da0e584504ea8343705210f7ad9a3d5ca6c9ce3491202aefcfee5f049f9fc2a88f98962c9b
|
|
7
|
+
data.tar.gz: 9bb5f19edac2b53133ad3d2e8e1a4d02e478b15f46ff3f13e75ada91b56fce38595e4e67696280771bb75a210136120de1be0f598a73f678bff621a1dba54b9b
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
5
|
+
Change log v.0.1.23
|
|
6
|
+
|
|
7
|
+
**fix**: @kruszczynski fixed an issue with CombinePDF::PDF#number_pages where the page numbering margines were ignored and only the default values were used. Thank you @kruszczynski .
|
|
8
|
+
|
|
9
|
+
***
|
|
10
|
+
|
|
5
11
|
Change log v.0.1.22
|
|
6
12
|
|
|
7
13
|
**fix**: a tested fix for issue #19, where Acrobat Reader would raise an error if page objects in the Catalog were copied by reference instead of copied in full and each was assigned different a unique object id. (possibly an Acrobat Reader Issue workaround) The issue was resolved by exempting page objects from the duplication reduction algorithm, and in this way, forcing duplicates to be copied rather then referenced in the Catalog object.
|
|
@@ -416,8 +416,8 @@ module CombinePDF
|
|
|
416
416
|
box_height = text_dimantions[1] * 2
|
|
417
417
|
opt[:width] = box_width
|
|
418
418
|
opt[:height] = box_height
|
|
419
|
-
from_height =
|
|
420
|
-
from_side =
|
|
419
|
+
from_height = opt[:margin_from_height]
|
|
420
|
+
from_side = opt[:margin_from_side]
|
|
421
421
|
page_width = mediabox[2]
|
|
422
422
|
page_height = mediabox[3]
|
|
423
423
|
center_position = (page_width - box_width)/2
|
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.23
|
|
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-04-
|
|
11
|
+
date: 2015-04-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ruby-rc4
|