aspose_pdf_cloud 21.9.0 → 21.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ce381225d07f46431b45aadacebabf9b1b93065e40e570d0ea4a1622f1d7a915
4
- data.tar.gz: a7a48d51083ebe7743a9ddca15be0f1c053e538d485d8fbbbd5777f4b2148df9
3
+ metadata.gz: 1e77ef027c4e9680a148e811937478c9ccf253421c45a0768702f01680e6c077
4
+ data.tar.gz: 217129dcaa3340fe5dcec8a2b72ff17d87c21d88c54c270c49dc52b1bd129706
5
5
  SHA512:
6
- metadata.gz: 9e02c9062fc57421c4e365bc6eb9b9194630f021ea6517dce2ab40c7ca6e91dedcc9edd88b6d2bac148f33532770d6d704aa8ec01ba0074e146c44ec7a30e65b
7
- data.tar.gz: 71f857930d1c3ba41523c942b6ed19239b17a4b185038da45652a316fbcd258aee059ddfa44520f7157fc7ab8dac3a75ce496a466f05d3a3416da5ed35f1c015
6
+ metadata.gz: afeaf2bb197f6c5fa19aff7b3248b25421a5364fe89eeb492ff907db26c4f4ca8d0211ea318aa1127eb530c37fbeb59b50801e1410540a8e6f2dc8650f979c7f
7
+ data.tar.gz: 6f293a76a47ddcb88f0ac1a6e5f7587d2318c80a11c5948000897b9c94283dcbfe94228e766cb67bc856c0f185d8c092d86592ff2e6393c5c93860885b5d1957
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2020 Aspose.PDF Cloud
3
+ Copyright (c) 2021 Aspose.PDF Cloud
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -9,7 +9,6 @@ These SDKs are now fully supported. If you have any questions, see any bugs or h
9
9
  Extract Text & Images of a PDF document online https://products.aspose.app/pdf/parser.
10
10
 
11
11
  ## PDF Processing Features
12
-
13
12
  - Add PDF document's header & footer in text or image format.
14
13
  - Add tables & stamps (text or image) to PDF documents.
15
14
  - Append multiple PDF documents to an existing file.
@@ -22,21 +21,16 @@ Extract Text & Images of a PDF document online https://products.aspose.app/pdf/p
22
21
  - Extract various elements of PDF files & make PDF documents optimized.
23
22
 
24
23
  ## Read & Write PDF Formats
25
-
26
24
  PDF, EPUB, HTML, TeX, SVG, XML, XPS, FDF, XFDF
25
+
27
26
  ## Save PDF As
28
27
  XLS, XLSX, PPTX, DOC, DOCX, MobiXML, JPEG, EMF, PNG, BMP, GIF, TIFF, Text
28
+
29
29
  ## Read PDF Formats
30
30
  MHT, PCL, PS, XSLFO, MD
31
31
 
32
- ## Enhancements in Version 21.9
33
- - A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .Net.
34
-
35
- ## Enhancements in Version 20.12
36
- - A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .Net.
37
-
38
- ## Enhancements in Version 20.10
39
- - A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .Net.
32
+ ## Enhancements in Version 21.12
33
+ - A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .NET.
40
34
 
41
35
  ## Enhancements in Version 20.9
42
36
  * Implemented custom fonts for Text API.
@@ -58,15 +52,15 @@ gem build aspose_pdf_cloud.gemspec
58
52
  Then either install the gem locally:
59
53
 
60
54
  ```shell
61
- gem install ./aspose_pdf_cloud-21.9.0.gem
55
+ gem install ./aspose_pdf_cloud-21.12.0.gem
62
56
  ```
63
- (for development, run `gem install --dev ./aspose_pdf_cloud-21.9.0.gem` to install the development dependencies)
57
+ (for development, run `gem install --dev ./aspose_pdf_cloud-21.12.0.gem` to install the development dependencies)
64
58
 
65
59
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
66
60
 
67
61
  Finally add this to the Gemfile:
68
62
 
69
- gem 'aspose_pdf_cloud', '~> 21.9.0'
63
+ gem 'aspose_pdf_cloud', '~> 21.12.0'
70
64
 
71
65
  ### Install from Git
72
66
 
@@ -75,8 +69,6 @@ Add the following in the Gemfile:
75
69
 
76
70
  gem 'aspose_pdf_cloud', :git => 'https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-ruby.git'
77
71
 
78
-
79
-
80
72
  ## Get PDF Page Annotations in Ruby
81
73
 
82
74
  ```ruby
@@ -36,12 +36,12 @@ Gem::Specification.new do |s|
36
36
  s.email = [""]
37
37
  s.homepage = "https://products.aspose.cloud/pdf/cloud"
38
38
  s.summary = %q{Aspose.PDF Cloud}
39
- s.description = %q{Aspose.PDF Cloud is a REST API for creating and editing PDF files. It can also be used to convert PDF files to different formats like DOC, HTML, XPS, TIFF and many more. Aspose.PDF Cloud gives you control: create PDFs from scratch or from HTML, XML, template, database, XPS or an image. Render PDFs to image formats such as JPEG, PNG, GIF, BMP, TIFF and many others. Aspose.PDF Cloud helps you manipulate elements of a PDF file like text, annotations, watermarks, signatures, bookmarks, stamps and so on. Its REST API also allows you to manage PDF pages by using features like merging, splitting, and inserting. Add images to a PDF file or convert PDF pages to images.}
39
+ s.description = "Aspose.PDF Cloud is a REST API for creating and editing PDF files. Most popular features proposed by Aspose.PDF Cloud: PDF to Word, Convert PDF to Image, Merge PDF, Split PDF, Add Images to PDF, Rotate PDF. It can also be used to convert PDF files to different formats like DOC, HTML, XPS, TIFF and many more. Aspose.PDF Cloud gives you control: create PDFs from scratch or from HTML, XML, template, database, XPS or an image. Render PDFs to image formats such as JPEG, PNG, GIF, BMP, TIFF and many others. Aspose.PDF Cloud helps you manipulate elements of a PDF file like text, annotations, watermarks, signatures, bookmarks, stamps and so on. Its REST API also allows you to manage PDF pages by using features like merging, splitting, and inserting. Add images to a PDF file or convert PDF pages to images."
40
40
  s.license = "MIT"
41
41
 
42
42
  s.required_ruby_version = ">= 1.9"
43
43
 
44
- s.add_runtime_dependency 'json', '~> 1.7'
44
+ s.add_runtime_dependency 'json', '>= 2.3.0'
45
45
  s.add_runtime_dependency 'faraday', '~> 0.14.0'
46
46
 
47
47
  s.add_development_dependency 'minitest', '~> 5.8'
@@ -20,5 +20,5 @@ SOFTWARE.
20
20
  =end
21
21
 
22
22
  module AsposePdfCloud
23
- VERSION = "21.9.0"
23
+ VERSION = "21.12.0"
24
24
  end
data/test/pdf_tests.rb CHANGED
@@ -31,8 +31,9 @@ class PdfTests < Minitest::Test
31
31
 
32
32
 
33
33
  def setup
34
- # Get App key and App SID from https://aspose.cloud
35
- @pdf_api = PdfApi.new('app_key', 'app_sid')
34
+ servercreds_json = File.read('../../../Settings/servercreds.json')
35
+ creds = JSON.parse(servercreds_json)
36
+ @pdf_api = PdfApi.new(creds["AppKey"], creds["AppSID"])
36
37
  @temp_folder = 'TempPdfCloud'
37
38
  @test_data_folder = '../test_data/'
38
39
 
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aspose_pdf_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 21.9.0
4
+ version: 21.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aspose PDF Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-07 00:00:00.000000000 Z
11
+ date: 2021-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.7'
19
+ version: 2.3.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.7'
26
+ version: 2.3.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: faraday
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -52,15 +52,16 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '5.8'
55
- description: 'Aspose.PDF Cloud is a REST API for creating and editing PDF files. It
56
- can also be used to convert PDF files to different formats like DOC, HTML, XPS,
57
- TIFF and many more. Aspose.PDF Cloud gives you control: create PDFs from scratch
58
- or from HTML, XML, template, database, XPS or an image. Render PDFs to image formats
59
- such as JPEG, PNG, GIF, BMP, TIFF and many others. Aspose.PDF Cloud helps you manipulate
60
- elements of a PDF file like text, annotations, watermarks, signatures, bookmarks,
61
- stamps and so on. Its REST API also allows you to manage PDF pages by using features
62
- like merging, splitting, and inserting. Add images to a PDF file or convert PDF
63
- pages to images.'
55
+ description: 'Aspose.PDF Cloud is a REST API for creating and editing PDF files. Most
56
+ popular features proposed by Aspose.PDF Cloud: PDF to Word, Convert PDF to Image,
57
+ Merge PDF, Split PDF, Add Images to PDF, Rotate PDF. It can also be used to convert
58
+ PDF files to different formats like DOC, HTML, XPS, TIFF and many more. Aspose.PDF
59
+ Cloud gives you control: create PDFs from scratch or from HTML, XML, template, database,
60
+ XPS or an image. Render PDFs to image formats such as JPEG, PNG, GIF, BMP, TIFF
61
+ and many others. Aspose.PDF Cloud helps you manipulate elements of a PDF file like
62
+ text, annotations, watermarks, signatures, bookmarks, stamps and so on. Its REST
63
+ API also allows you to manage PDF pages by using features like merging, splitting,
64
+ and inserting. Add images to a PDF file or convert PDF pages to images.'
64
65
  email:
65
66
  - ''
66
67
  executables: []