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 +4 -4
- data/CHANGELOG.md +11 -1
- data/adobe_pdfservices_ruby.gemspec +3 -3
- data/lib/pdfservices/api.rb +1 -1
- data/lib/pdfservices/client.rb +0 -4
- data/lib/pdfservices/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7874ed45d46a4c10b5a44574d45b49946707cebb0c05447416bcedfbc777e090
|
4
|
+
data.tar.gz: 2a920b6f69c0abd16245d1f08486387993a5232c2e6bd5f005112dadec28b88d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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/
|
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/
|
19
|
-
spec.metadata['changelog_uri'] = 'https://github.com/benterova/
|
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.
|
data/lib/pdfservices/api.rb
CHANGED
data/lib/pdfservices/client.rb
CHANGED
@@ -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
|
data/lib/pdfservices/version.rb
CHANGED
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.
|
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/
|
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/
|
99
|
-
source_code_uri: https://github.com/benterova/
|
100
|
-
changelog_uri: https://github.com/benterova/
|
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:
|