hexapdf 0.11.2 → 0.11.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: af21f47a848886d8b8ca7f151d7fe7b836af0f23b292e181040bc12706c05f0a
4
- data.tar.gz: b608c3d0846516a57fc1186f25b4c2cfb785570cfab87c304326440a9498cda5
2
+ SHA1:
3
+ metadata.gz: bd20872b69a7358f9bef26a12e1ea57368c3305d
4
+ data.tar.gz: 1d107e0db8ec876d24ea19d7f75e3c7229ca284c
5
5
  SHA512:
6
- metadata.gz: 9c5791ad89c158c6b16fdaa3f9661bcd561ebeab729bb8963c20db35238de7dfb53fa27accdfa357553c3ebe5c34f0151d784bc849562d49d89035a249f9203e
7
- data.tar.gz: 54c0e38d0e66a15e21870c50421e327d2ec4f1a6c13720436d6ad6fa27ee8d6c1fc6d09274f36c4ebd3813a6d508759a69034ccc986cd8c6d2c9eb0bdb97d7d2
6
+ metadata.gz: 64085653fc25ae248aabd54bc71250ab06f6d533657fe9d0803581b1f555f2858ee3602afcea74904755c290ada68c3cf4c4feb303623606febecdc34579bc7f
7
+ data.tar.gz: d8c8ab19a87badc8a732984d914b65c6cd7aa0dbbbcb8e1bc64339a13dcb4be0a1d33f641bba90b380273cb3faf6e188c979b44df473bd2f952196f40619779f
@@ -1,3 +1,10 @@
1
+ ## 0.11.3 - 2019-11-27
2
+
3
+ ### Fixed
4
+
5
+ * Restore compatibility with Ruby 2.4
6
+
7
+
1
8
  ## 0.11.2 - 2019-11-22
2
9
 
3
10
  ### Fixed
@@ -1,5 +1,5 @@
1
1
  Count Name
2
2
  ======= ====
3
- 1093 Thomas Leitner <t_leitner@gmx.at>
3
+ 1095 Thomas Leitner <t_leitner@gmx.at>
4
4
  1 Stanislav (Stas) Katkov <sk@skylup.com>
5
5
  1 Daniel Kraus <bovender@bovender.de>
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.11.2
1
+ 0.11.3
@@ -96,7 +96,7 @@ module HexaPDF
96
96
  # top right corner.
97
97
  def after_data_change
98
98
  super
99
- unless value.size == 4 && all?(Numeric)
99
+ unless value.size == 4 && all? {|v| v.kind_of?(Numeric) }
100
100
  raise ArgumentError, "A PDF rectangle structure must contain an array of four numbers"
101
101
  end
102
102
  self[0], self[2] = self[2], self[0] if self[0] > self[2]
@@ -105,7 +105,7 @@ module HexaPDF
105
105
 
106
106
  def perform_validation #:nodoc:
107
107
  super
108
- unless value.size == 4 && all?(Numeric)
108
+ unless value.size == 4 && all? {|v| v.kind_of?(Numeric) }
109
109
  yield("A PDF rectangle structure must contain an array of four numbers", false)
110
110
  end
111
111
  end
@@ -37,6 +37,6 @@
37
37
  module HexaPDF
38
38
 
39
39
  # The version of HexaPDF.
40
- VERSION = '0.11.2'
40
+ VERSION = '0.11.3'
41
41
 
42
42
  end
@@ -40,7 +40,7 @@ describe HexaPDF::Writer do
40
40
  219
41
41
  %%EOF
42
42
  3 0 obj
43
- <</Producer(HexaPDF version 0.11.2)>>
43
+ <</Producer(HexaPDF version 0.11.3)>>
44
44
  endobj
45
45
  xref
46
46
  3 1
@@ -72,7 +72,7 @@ describe HexaPDF::Writer do
72
72
  141
73
73
  %%EOF
74
74
  6 0 obj
75
- <</Producer(HexaPDF version 0.11.2)>>
75
+ <</Producer(HexaPDF version 0.11.3)>>
76
76
  endobj
77
77
  2 0 obj
78
78
  <</Length 10>>stream
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hexapdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.2
4
+ version: 0.11.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Leitner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-22 00:00:00.000000000 Z
11
+ date: 2019-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cmdparse
@@ -638,7 +638,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
638
638
  version: '0'
639
639
  requirements: []
640
640
  rubyforge_project:
641
- rubygems_version: 2.7.6.2
641
+ rubygems_version: 2.6.14.4
642
642
  signing_key:
643
643
  specification_version: 4
644
644
  summary: HexaPDF - A Versatile PDF Creation and Manipulation Library For Ruby