combine_pdf 0.1.22 → 0.1.23

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
  SHA1:
3
- metadata.gz: f71a6872e4bea29d177b1945949b8acc805eaadd
4
- data.tar.gz: c2870423a17e60ad9b13442715cd6bde88d7a34f
3
+ metadata.gz: eca9f69f00f53b73949ed2b50dbfeb1f805003f6
4
+ data.tar.gz: 69b5a220280dfbd5ec5b20f78c5f47fd2011a328
5
5
  SHA512:
6
- metadata.gz: d2b34183aa4f4d17502093757a52828b566dcb98df999456c5c71cee9ea3e011f3beeaee9620c6c56f5e1c1ad5f6ddfa91167460f610f904e3d6844a977c4adb
7
- data.tar.gz: 12307c13e1b2f61da61538b1c056b7ca375fa3babae3d35aae8a38d87154b17409146a5caa9f9e0bd562270c353b17e72190d367d95db634bb1dc332d39d100a
6
+ metadata.gz: f1544fdae3546f748a640c2a8b2e7902b1bc38eae5cebf3f4a4849da0e584504ea8343705210f7ad9a3d5ca6c9ce3491202aefcfee5f049f9fc2a88f98962c9b
7
+ data.tar.gz: 9bb5f19edac2b53133ad3d2e8e1a4d02e478b15f46ff3f13e75ada91b56fce38595e4e67696280771bb75a210136120de1be0f598a73f678bff621a1dba54b9b
@@ -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 = 45
420
- from_side = 15
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
@@ -1,3 +1,3 @@
1
1
  module CombinePDF
2
- VERSION = "0.1.22"
2
+ VERSION = "0.1.23"
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: 0.1.22
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-16 00:00:00.000000000 Z
11
+ date: 2015-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-rc4