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 +4 -4
- data/CHANGELOG.md +6 -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: 2f282a79a5cf28d268806efc53ba4b21daaede88
|
4
|
+
data.tar.gz: 57e4153629f11d8db42cce3d0aaebb44504666c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd1da2e87426b60a206e17f58bae6931089dcdf9dcb14df5f11094c9dfadf64ad9592addf4249a19a21cc3a69882c4135f61554911f5460d43313a588baa92f7
|
7
|
+
data.tar.gz: d4f1d4f094469da7d26ef1b1c979c066224236e4269cba5c43ba75a1a2ef0b70e4f8dbd9cdf4f0e351955975e068b2c0de4baab29587cd2ea7ed28a06bff56e3
|
data/CHANGELOG.md
CHANGED
@@ -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
|
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.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-
|
11
|
+
date: 2016-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-rc4
|