pdfcrowd 5.17.0 → 5.18.1

Sign up to get free protection for your applications and to get access to all the features.
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: c68f0aa0ecfdd6d82409454d49e2e921599153fb4812702823467adec87e05e0
4
+ data.tar.gz: 4eca6b438238acf32c3053ca98b1bd1075799e63b39d51c98b0da111c47369f0
5
5
  SHA512:
6
- metadata.gz: ac03e7f4fb66f2d414e08a7ff86acdde90b29f24bccbd1934fb0c2c51c5a60fa27c5e2f9bf0c43714bfcd868fa2c52b642b205d358c5fee908208d2e25aea092
7
- data.tar.gz: 501970632b100e0be4c50a91563d31d953e47f006b9a8f5863bb8a33141b77a09abd9a9e17ad24d4394bdf2115ba26abb8fa9925f00b7158d7aec50e17999ad5
6
+ metadata.gz: 324b4434a7674ef7df9e565572ce413ae4ebdcc33277aa0c268c9a65197a74ab850b7f76959d73602d2b2c4fa5a816bd0f76a0f6b746b42dd3220edac904ea54
7
+ data.tar.gz: e4cc61b5520c04e10e7cd4bb892d41dbe1e06caef6d2a496456ab3c4d2997a92ebef212995eacd87b5ddd7a18a6ffe03f175dfc78102269283d7a84378eb5399
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.1'
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.1 (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.1
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-19 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.