pdfcrowd 5.17.0 → 5.18.0

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/pdfcrowd.rb +12 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 91530d57b96ac0926479354726f30ad4ad87c5b576054702a865d75db4f2c415
4
- data.tar.gz: 26444a8788d64bb417c85f9fd202f1effb389504b56b8f76141724225d99c92e
3
+ metadata.gz: 78d7f51b965ea1de3d9584bfd59eeef06af7456e87149bed5a0064793618173a
4
+ data.tar.gz: b140a99391c7de8ba5dc3c4cfd32ae2e2c4f92882e2af3b002e03c12842ee31f
5
5
  SHA512:
6
- metadata.gz: ac03e7f4fb66f2d414e08a7ff86acdde90b29f24bccbd1934fb0c2c51c5a60fa27c5e2f9bf0c43714bfcd868fa2c52b642b205d358c5fee908208d2e25aea092
7
- data.tar.gz: 501970632b100e0be4c50a91563d31d953e47f006b9a8f5863bb8a33141b77a09abd9a9e17ad24d4394bdf2115ba26abb8fa9925f00b7158d7aec50e17999ad5
6
+ metadata.gz: 4fe7ef61ed2cb5edf8fc3407fe99b54be5cac3d2bf2217a31da320bd4e651488f55ed17ffb356679209e8ea2786021c5484807846259adfa653faa75208529ad
7
+ data.tar.gz: b7bafa5bd326a76e47305c4428b64ae0a12e04defd727b831f6607b63d36ccc67e9ef5b0b866e0515059863b78f32e0a7ec99883404e52915a8737e87aaf95f5
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 = '5.17.0'
533
+ CLIENT_VERSION = '5.18.0'
534
534
 
535
535
  class ConnectionHelper
536
536
  def initialize(user_name, api_key)
@@ -541,7 +541,7 @@ module Pdfcrowd
541
541
 
542
542
  setProxy(nil, nil, nil, nil)
543
543
  setUseHttp(false)
544
- setUserAgent('pdfcrowd_ruby_client/5.17.0 (https://pdfcrowd.com)')
544
+ setUserAgent('pdfcrowd_ruby_client/5.18.0 (https://pdfcrowd.com)')
545
545
 
546
546
  @retry_count = 1
547
547
  @converter_version = '20.10'
@@ -5603,7 +5603,7 @@ module Pdfcrowd
5603
5603
  self
5604
5604
  end
5605
5605
 
5606
- # Specifies a format for the output images.
5606
+ # Specifies the format for the output images.
5607
5607
  #
5608
5608
  # * +image_format+ - The image format. Allowed values are png, jpg, svg.
5609
5609
  # * *Returns* - The converter object.
@@ -5642,6 +5642,15 @@ module Pdfcrowd
5642
5642
  self
5643
5643
  end
5644
5644
 
5645
+ # Converts ligatures — two or more letters combined into a single glyph—back into their individual ASCII characters.
5646
+ #
5647
+ # * +value+ - Set to true to split ligatures.
5648
+ # * *Returns* - The converter object.
5649
+ def setSplitLigatures(value)
5650
+ @fields['split_ligatures'] = value
5651
+ self
5652
+ end
5653
+
5645
5654
  # A helper method to determine if the output file is a zip archive. The output of the conversion may be either an HTML file or a zip file containing the HTML and its external assets.
5646
5655
  # * *Returns* - True if the conversion output is a zip file, otherwise False.
5647
5656
  def isZippedOutput()
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: 5.17.0
4
+ version: 5.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pdfcrowd Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-31 00:00:00.000000000 Z
11
+ date: 2024-03-11 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.