pdfcrowd 4.3.2 → 4.3.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 +4 -4
- data/lib/pdfcrowd.rb +6 -2
- 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: de9e5a3478ee0a7148e30d2a34f0ad82b5f13485
|
|
4
|
+
data.tar.gz: d2554500f26dd61f2b418c1dcac61d581f87bf0e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 261435835a424754bb5f74f1f196362a521d4e057e0fb5d34590a388f552a2d4aa0c49d6dee2c58479ab890f205be0dd01bd5938ce4d70dcadb865112ee815a4
|
|
7
|
+
data.tar.gz: d6321fbd969b57324b26d64db9bc39a95139ea654e8516e7c678c9046749b1de3ef4332b3cfc9c049efacaf9576a476ab40e9ba9c74f618a22590a801c59607f
|
data/lib/pdfcrowd.rb
CHANGED
|
@@ -530,7 +530,7 @@ end
|
|
|
530
530
|
module Pdfcrowd
|
|
531
531
|
HOST = ENV["PDFCROWD_HOST"] || 'api.pdfcrowd.com'
|
|
532
532
|
MULTIPART_BOUNDARY = '----------ThIs_Is_tHe_bOUnDary_$'
|
|
533
|
-
CLIENT_VERSION = '4.3.
|
|
533
|
+
CLIENT_VERSION = '4.3.3'
|
|
534
534
|
|
|
535
535
|
def self.float_to_string(value)
|
|
536
536
|
value.to_s.sub(',', '.')
|
|
@@ -545,7 +545,7 @@ module Pdfcrowd
|
|
|
545
545
|
|
|
546
546
|
setProxy(nil, nil, nil, nil)
|
|
547
547
|
setUseHttp(false)
|
|
548
|
-
setUserAgent('pdfcrowd_ruby_client/4.3.
|
|
548
|
+
setUserAgent('pdfcrowd_ruby_client/4.3.3 (http://pdfcrowd.com)')
|
|
549
549
|
|
|
550
550
|
@retry_count = 1
|
|
551
551
|
end
|
|
@@ -717,6 +717,10 @@ module Pdfcrowd
|
|
|
717
717
|
raise Error.new("#{why}\n")
|
|
718
718
|
rescue Timeout::Error => why
|
|
719
719
|
raise Error.new("Operation timed out\n")
|
|
720
|
+
rescue OpenSSL::SSL::SSLError => why
|
|
721
|
+
raise Error.new("There was a problem connecting to Pdfcrowd servers over HTTPS:\n#{why}" +
|
|
722
|
+
"\nYou can still use the API over HTTP, you just need to add the following line right after Pdfcrowd client initialization:\nself.setUseHttp(true)",
|
|
723
|
+
481)
|
|
720
724
|
end
|
|
721
725
|
end
|
|
722
726
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pdfcrowd
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.3.
|
|
4
|
+
version: 4.3.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pdfcrowd Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-05-
|
|
11
|
+
date: 2018-05-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: The Pdfcrowd API lets you easily convert between HTML, PDF and various
|
|
14
14
|
image formats.
|