pdfcrowd 4.3.1 → 4.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pdfcrowd.rb +11 -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: 70ce6bde0b6a7e2b7ebdf15c7c4c1a4d8df843c5
|
4
|
+
data.tar.gz: 43173f73b943a1f742081432dd8fd6e0f45bca1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a5c3d6e4e508e1d909369a4c4ff22111fcaa16ccab9dc88f53a04d32be779bb053dff3a17059fbad3c9afbdd316c6f1c9441c1a64d5d6803d481cba236785e3
|
7
|
+
data.tar.gz: db2c8471fb554d7c283ea7b4ac9103e672d92e669c0875e1366611e1ab947b85f9970ed55723432a6506222886d48c54a1124dcc335b7182ad64c012080733d0
|
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.2'
|
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.2 (http://pdfcrowd.com)')
|
549
549
|
|
550
550
|
@retry_count = 1
|
551
551
|
end
|
@@ -1501,6 +1501,15 @@ module Pdfcrowd
|
|
1501
1501
|
self
|
1502
1502
|
end
|
1503
1503
|
|
1504
|
+
# Disable the intelligent shrinking strategy that tries to optimally fit the HTML contents to a PDF page.
|
1505
|
+
#
|
1506
|
+
# * +disable_smart_shrinking+ - Set to true to disable the intelligent shrinking strategy.
|
1507
|
+
# * *Returns* - The converter object.
|
1508
|
+
def setDisableSmartShrinking(disable_smart_shrinking)
|
1509
|
+
@fields['disable_smart_shrinking'] = disable_smart_shrinking
|
1510
|
+
self
|
1511
|
+
end
|
1512
|
+
|
1504
1513
|
# Create linearized PDF. This is also known as Fast Web View.
|
1505
1514
|
#
|
1506
1515
|
# * +linearize+ - Set to true to create linearized PDF.
|
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.2
|
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-25 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.
|