combine_pdf 0.2.28 → 0.2.29

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: 7e665b1407b7f024cb4677c9e5152f7204f3a141
4
- data.tar.gz: f77b60319109b23185cd6679a7225eb9e9db1ae7
3
+ metadata.gz: 2f282a79a5cf28d268806efc53ba4b21daaede88
4
+ data.tar.gz: 57e4153629f11d8db42cce3d0aaebb44504666c2
5
5
  SHA512:
6
- metadata.gz: 1ca99906c7a250a9f23c65756b926b563d5b96df53c1532bbcd31925bcf7feda251b51c71dbbba71ce1a0685ec4787d6ad107b290a2f6367bc7d17e37dc37a99
7
- data.tar.gz: 8b57956404ed802515dfac20b28e8f104e27475d7672c53e4681e1522fd013962cfb1e0f0ecd676a5a1eeac396c3837d26d5bcf933f7f508ba5d40f9e55382a7
6
+ metadata.gz: dd1da2e87426b60a206e17f58bae6931089dcdf9dcb14df5f11094c9dfadf64ad9592addf4249a19a21cc3a69882c4135f61554911f5460d43313a588baa92f7
7
+ data.tar.gz: d4f1d4f094469da7d26ef1b1c979c066224236e4269cba5c43ba75a1a2ef0b70e4f8dbd9cdf4f0e351955975e068b2c0de4baab29587cd2ea7ed28a06bff56e3
@@ -2,6 +2,12 @@
2
2
 
3
3
  ***
4
4
 
5
+ Change log v.0.2.29
6
+
7
+ **Fix**: Fixed an issue where updating a page's rotation might raise a `NoMethodError` exception. Credit to Danny (@dikond) both for discovering the issue and for PR #77 that fixes this.
8
+
9
+ ***
10
+
5
11
  Change log v.0.2.28
6
12
 
7
13
  **Fix**: Fixed an issue related to page stumping, which was introduced when the Rubocop beautification changed the logic of an `if` statement in the Resource merger. Credit to Leon Miller-Out (@sbleon) for noticing the issue, testing and opening PR #76.
@@ -414,7 +414,7 @@ module CombinePDF
414
414
  # close the rotation stream
415
415
  insert_content CONTENT_CONTAINER_END
416
416
  # reset the mediabox and cropbox values - THIS IS ONLY FOR ORIENTATION CHANGE...
417
- if (self[:Rotate].to_f / 90).odd?
417
+ if (self[:Rotate].to_f / 90).to_i.odd?
418
418
  self[:MediaBox] = self[:MediaBox].values_at(1, 0, 3, 2)
419
419
  self[:CropBox] = self[:CropBox].values_at(1, 0, 3, 2) if self[:CropBox]
420
420
  end
@@ -1,3 +1,3 @@
1
1
  module CombinePDF
2
- VERSION = '0.2.28'.freeze
2
+ VERSION = '0.2.29'.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: 0.2.28
4
+ version: 0.2.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boaz Segev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-19 00:00:00.000000000 Z
11
+ date: 2016-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-rc4