Skip to content

Commit ea5bcd7

Browse files
authored
Merge pull request #45 from aspose-pdf-cloud/develop
update to 21.12
2 parents 193f73e + 8a39a64 commit ea5bcd7

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ XLS, XLSX, PPTX, DOC, DOCX, MobiXML, JPEG, EMF, PNG, BMP, GIF, TIFF, Text
2929
## Read PDF Formats
3030
MHT, PCL, PS, XSLFO, MD
3131

32-
## Enhancements in Version 21.11
32+
## Enhancements in Version 21.12
3333
- A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .NET.
3434

3535
## Enhancements in Version 20.9
@@ -52,15 +52,15 @@ gem build aspose_pdf_cloud.gemspec
5252
Then either install the gem locally:
5353

5454
```shell
55-
gem install ./aspose_pdf_cloud-21.11.0.gem
55+
gem install ./aspose_pdf_cloud-21.12.0.gem
5656
```
57-
(for development, run `gem install --dev ./aspose_pdf_cloud-21.11.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)
5858

5959
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
6060

6161
Finally add this to the Gemfile:
6262

63-
gem 'aspose_pdf_cloud', '~> 21.11.0'
63+
gem 'aspose_pdf_cloud', '~> 21.12.0'
6464

6565
### Install from Git
6666

lib/aspose_pdf_cloud/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@
2020
=end
2121

2222
module AsposePdfCloud
23-
VERSION = "21.11.0"
23+
VERSION = "21.12.0"
2424
end

test/pdf_tests.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ class PdfTests < Minitest::Test
3131

3232

3333
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"])
3637
@temp_folder = 'TempPdfCloud'
3738
@test_data_folder = '../test_data/'
3839

0 commit comments

Comments
 (0)