combine_pdf 1.0.8 → 1.0.9
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 +5 -1
- 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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f416a0cbf333fe7e6d49c844a9ff6bbc2c735077bb325d5702019b86c01e0cc7
|
4
|
+
data.tar.gz: d5af83b8d3bbb89456edb98fd8961d6de10405d06f15b80297576bc16692a7a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed94ad7367e9521a5753656148fe654a225c33427b66c89724ea9ea175799b8f20467bb3adb201770ce61848ca1c22e767ac626cfeaa708bde18609645a4ed9a
|
7
|
+
data.tar.gz: eccf69bbd4de266e6b9e7de1f7a0a6ecbf615eb14921940808725c4407181f1e62e89215033a9af15b29659041d7b1b0b97f45a9086adedff38e0312d7206b73
|
data/CHANGELOG.md
CHANGED
@@ -2,9 +2,13 @@
|
|
2
2
|
|
3
3
|
***
|
4
4
|
|
5
|
+
#### Change log v.1.0.9
|
6
|
+
|
7
|
+
**Fix**: Fixed issue #136 where the `#fix_rotation` function would rotate the page to the wrong direction. Credit to @dmkash for exposing this issue
|
8
|
+
|
5
9
|
#### Change log v.1.0.8
|
6
10
|
|
7
|
-
**Fix**: Fixed an issue with octal representation in escaped string data. The issue would (usually) go unnoticed (altering internal labels in a non-disruptive manner), however the issue did effect `ColorSpace` data in the rare use of `ICCBased` color maps, causing color distortion and transparency loss.
|
11
|
+
**Fix**: Fixed an issue with octal representation in escaped string data. The issue would (usually) go unnoticed (altering internal labels in a non-disruptive manner), however the issue did effect `ColorSpace` data in the rare use of `ICCBased` color maps, causing color distortion and transparency loss. Credit to @react-rails and @bedaronco for exposing the issue (issue #130).
|
8
12
|
|
9
13
|
**Fix**: Fixed an issue with non English alphabet in PDF literal strings. This issue went undetected since PDF literal strings aren't used by CombinePDF except for the date stamping...
|
10
14
|
|
@@ -403,7 +403,7 @@ module CombinePDF
|
|
403
403
|
def fix_rotation
|
404
404
|
return self if self[:Rotate].to_f == 0.0 || mediabox.nil?
|
405
405
|
# calculate the rotation
|
406
|
-
r = self[:Rotate].to_f * Math::PI / 180
|
406
|
+
r = (360.0 - self[:Rotate].to_f) * Math::PI / 180
|
407
407
|
s = Math.sin(r).round 6
|
408
408
|
c = Math.cos(r).round 6
|
409
409
|
ctm = [c, s, -s, c]
|
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: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boaz Segev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-02-
|
11
|
+
date: 2018-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-rc4
|