pdfcrowd 4.3.3 → 4.3.5
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 +47 -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: 9920dc8f51188640cf8e28e5d099b25d93d2790d
|
4
|
+
data.tar.gz: 63c21d70f5be03f2d95e250670ec214b937dc835
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 050296ddd39d3e6dfc53ac7b8144ac89d7d785cdcbcc0f676bf9252cd9a2d6eb1f5e4247ec3b1634244d1e8cdf35906db8aff3ac6de8032dcd39425196b87865
|
7
|
+
data.tar.gz: d62428ea509f6739957f4464afc4c638d1ca0ee9f0257936c60fdc38c855c78dfe8a503b74ec418ad928012960001b64eb1b31a4887fd0c014f778ed29031ee9
|
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.5'
|
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.5 (http://pdfcrowd.com)')
|
549
549
|
|
550
550
|
@retry_count = 1
|
551
551
|
end
|
@@ -1788,6 +1788,15 @@ module Pdfcrowd
|
|
1788
1788
|
return @helper.getOutputSize()
|
1789
1789
|
end
|
1790
1790
|
|
1791
|
+
# Tag the conversion with a custom value. The tag is used in conversion statistics. A value longer than 32 characters is cut off.
|
1792
|
+
#
|
1793
|
+
# * +tag+ - A string with the custom tag.
|
1794
|
+
# * *Returns* - The converter object.
|
1795
|
+
def setTag(tag)
|
1796
|
+
@fields['tag'] = tag
|
1797
|
+
self
|
1798
|
+
end
|
1799
|
+
|
1791
1800
|
# Specifies if the client communicates over HTTP or HTTPS with Pdfcrowd API.
|
1792
1801
|
#
|
1793
1802
|
# * +use_http+ - Set to true to use HTTP.
|
@@ -2287,6 +2296,15 @@ module Pdfcrowd
|
|
2287
2296
|
return @helper.getOutputSize()
|
2288
2297
|
end
|
2289
2298
|
|
2299
|
+
# Tag the conversion with a custom value. The tag is used in conversion statistics. A value longer than 32 characters is cut off.
|
2300
|
+
#
|
2301
|
+
# * +tag+ - A string with the custom tag.
|
2302
|
+
# * *Returns* - The converter object.
|
2303
|
+
def setTag(tag)
|
2304
|
+
@fields['tag'] = tag
|
2305
|
+
self
|
2306
|
+
end
|
2307
|
+
|
2290
2308
|
# Specifies if the client communicates over HTTP or HTTPS with Pdfcrowd API.
|
2291
2309
|
#
|
2292
2310
|
# * +use_http+ - Set to true to use HTTP.
|
@@ -2547,6 +2565,15 @@ module Pdfcrowd
|
|
2547
2565
|
return @helper.getOutputSize()
|
2548
2566
|
end
|
2549
2567
|
|
2568
|
+
# Tag the conversion with a custom value. The tag is used in conversion statistics. A value longer than 32 characters is cut off.
|
2569
|
+
#
|
2570
|
+
# * +tag+ - A string with the custom tag.
|
2571
|
+
# * *Returns* - The converter object.
|
2572
|
+
def setTag(tag)
|
2573
|
+
@fields['tag'] = tag
|
2574
|
+
self
|
2575
|
+
end
|
2576
|
+
|
2550
2577
|
# Specifies if the client communicates over HTTP or HTTPS with Pdfcrowd API.
|
2551
2578
|
#
|
2552
2579
|
# * +use_http+ - Set to true to use HTTP.
|
@@ -2719,6 +2746,15 @@ module Pdfcrowd
|
|
2719
2746
|
return @helper.getOutputSize()
|
2720
2747
|
end
|
2721
2748
|
|
2749
|
+
# Tag the conversion with a custom value. The tag is used in conversion statistics. A value longer than 32 characters is cut off.
|
2750
|
+
#
|
2751
|
+
# * +tag+ - A string with the custom tag.
|
2752
|
+
# * *Returns* - The converter object.
|
2753
|
+
def setTag(tag)
|
2754
|
+
@fields['tag'] = tag
|
2755
|
+
self
|
2756
|
+
end
|
2757
|
+
|
2722
2758
|
# Specifies if the client communicates over HTTP or HTTPS with Pdfcrowd API.
|
2723
2759
|
#
|
2724
2760
|
# * +use_http+ - Set to true to use HTTP.
|
@@ -2966,6 +3002,15 @@ module Pdfcrowd
|
|
2966
3002
|
return @helper.getOutputSize()
|
2967
3003
|
end
|
2968
3004
|
|
3005
|
+
# Tag the conversion with a custom value. The tag is used in conversion statistics. A value longer than 32 characters is cut off.
|
3006
|
+
#
|
3007
|
+
# * +tag+ - A string with the custom tag.
|
3008
|
+
# * *Returns* - The converter object.
|
3009
|
+
def setTag(tag)
|
3010
|
+
@fields['tag'] = tag
|
3011
|
+
self
|
3012
|
+
end
|
3013
|
+
|
2969
3014
|
# Specifies if the client communicates over HTTP or HTTPS with Pdfcrowd API.
|
2970
3015
|
#
|
2971
3016
|
# * +use_http+ - Set to true to use HTTP.
|
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.5
|
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-
|
11
|
+
date: 2018-06-20 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.
|