adobe_pdfservices_ruby 0.1.1 → 0.1.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 897432d0fa7438d335b7ad8d890a55be8acde8246438b8f19d6cb777e99165e2
4
- data.tar.gz: 3243b85b5629490c72938ce5f9f16681a6ad337a1114498a1f3bac327a5ec422
3
+ metadata.gz: 7874ed45d46a4c10b5a44574d45b49946707cebb0c05447416bcedfbc777e090
4
+ data.tar.gz: 2a920b6f69c0abd16245d1f08486387993a5232c2e6bd5f005112dadec28b88d
5
5
  SHA512:
6
- metadata.gz: d180ada893c3c9204f098446594b2e4a48933941c2e1c0118ec3503d4968f2c712d4c3936c80c7ff79e22695292723640f39a19f723453f201f8182c411a62cb
7
- data.tar.gz: ed6ff19b9ccf5e44aefa4936e0d6ddae8107fd7901e9e62d4d7fd0b55c24ad06707143e054f269ff50fe7c82501a413dc5f0668d690d3464cd393ef3725a1abe
6
+ metadata.gz: 384c4c8555dd64925398fdd6d0c5e5b46d8333893c84684a100ab84c54793f58f754dd515c9e8d426f9a46450b178eea2f4d440c93dde3f5699de9f9d2ac0092
7
+ data.tar.gz: a7e0e3c4cf47c017abdb1fa6bc0d61daa83e438f2ce8eb68eeecc8bf87f7de0dca670983e24f97853158019917f4299c925953c64080dccb9a6d477b310224a5
data/CHANGELOG.md CHANGED
@@ -11,4 +11,14 @@
11
11
  - Change usage to use a single client object
12
12
  - EXPERIMENTAL: Add support for internal and external operations (OCR, htmltopdf, documentgeneration)
13
13
  - Update tests
14
- - Update README
14
+ - Update README
15
+
16
+ ## [0.1.2] - 2024-01-25
17
+
18
+ - Update URL's in gemspec
19
+ - Fix misnamed parameters in extract_pdf operation
20
+ - Remove multiple authorization headers for pre-signed URL's
21
+ - Remove push_host from gemspec
22
+ - Allow client to be initialized with no secret_key if there's an access_token provided (useful for development)
23
+ - Asset delete request is properly formed
24
+ - Use MimeMagic to determine content-type of files
@@ -10,13 +10,13 @@ Gem::Specification.new do |spec|
10
10
 
11
11
  spec.summary = 'Adobe PDF Services Ruby'
12
12
  spec.description = 'An Adobe PDF Services Ruby SDK provides APIs for creating, combining, exporting and manipulating PDFs.'
13
- spec.homepage = 'https://github.com/benterova/adobe_pdfservices_ruby/blob/main/README.md'
13
+ spec.homepage = 'https://github.com/benterova/adobe-pdfservices-ruby/blob/main/README.md'
14
14
  spec.license = 'MIT'
15
15
  spec.required_ruby_version = '>= 3.0.0'
16
16
 
17
17
  spec.metadata['homepage_uri'] = spec.homepage
18
- spec.metadata['source_code_uri'] = 'https://github.com/benterova/adobe_pdfservices_ruby'
19
- spec.metadata['changelog_uri'] = 'https://github.com/benterova/adobe_pdfservices_ruby/blob/main/CHANGELOG.md'
18
+ spec.metadata['source_code_uri'] = 'https://github.com/benterova/adobe-pdfservices-ruby'
19
+ spec.metadata['changelog_uri'] = 'https://github.com/benterova/adobe-pdfservices-ruby/blob/main/CHANGELOG.md'
20
20
 
21
21
  # Specify which files should be added to the gem when it is released.
22
22
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
@@ -37,7 +37,7 @@ module PdfServices
37
37
 
38
38
  def delete(url, headers: {})
39
39
  response = @connection.delete(url) do |req|
40
- build_headers(req, headers)
40
+ build_request(req, headers, nil)
41
41
  end
42
42
  handle_response(response)
43
43
  end
@@ -53,10 +53,6 @@ module PdfServices
53
53
  client_id: @client_id,
54
54
  client_secret: @client_secret
55
55
  }
56
- unless response.status == 200
57
- raise ClientError,
58
- "Something went wrong when trying to refresh the token: #{response.body}"
59
- end
60
56
  end
61
57
 
62
58
  raise "Token refresh error: #{response.status} - #{response.body}" unless response.status == 200
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PdfServices
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adobe_pdfservices_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jimmy Bosse
@@ -91,13 +91,13 @@ files:
91
91
  - lib/pdfservices/operations/ocr/external.rb
92
92
  - lib/pdfservices/operations/ocr/internal.rb
93
93
  - lib/pdfservices/version.rb
94
- homepage: https://github.com/benterova/adobe_pdfservices_ruby/blob/main/README.md
94
+ homepage: https://github.com/benterova/adobe-pdfservices-ruby/blob/main/README.md
95
95
  licenses:
96
96
  - MIT
97
97
  metadata:
98
- homepage_uri: https://github.com/benterova/adobe_pdfservices_ruby/blob/main/README.md
99
- source_code_uri: https://github.com/benterova/adobe_pdfservices_ruby
100
- changelog_uri: https://github.com/benterova/adobe_pdfservices_ruby/blob/main/CHANGELOG.md
98
+ homepage_uri: https://github.com/benterova/adobe-pdfservices-ruby/blob/main/README.md
99
+ source_code_uri: https://github.com/benterova/adobe-pdfservices-ruby
100
+ changelog_uri: https://github.com/benterova/adobe-pdfservices-ruby/blob/main/CHANGELOG.md
101
101
  post_install_message:
102
102
  rdoc_options: []
103
103
  require_paths: