Skip to content

Commit 88b408a

Browse files
Merge remote-tracking branch 'origin/master' into release
2 parents b36f176 + 6da3384 commit 88b408a

File tree

409 files changed

+3664
-3468
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

409 files changed

+3664
-3468
lines changed

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ def runtests(dockerImageVersion)
2626
sh 'git clean -fdx'
2727

2828
if (needToBuild) {
29-
withCredentials([usernamePassword(credentialsId: '6839cbe8-39fa-40c0-86ce-90706f0bae5d', passwordVariable: 'AppKey', usernameVariable: 'AppSid')]) {
29+
withCredentials([usernamePassword(credentialsId: '6839cbe8-39fa-40c0-86ce-90706f0bae5d', passwordVariable: 'ClientSecret', usernameVariable: 'ClientId')]) {
3030
sh 'mkdir -p Settings'
31-
sh 'echo "{\\"AppSid\\": \\"$AppSid\\",\\"AppKey\\": \\"$AppKey\\", \\"BaseUrl\\": \\"$apiUrl\\", \\"Debug\\" : $debugMode}" > Settings/servercreds.json'
31+
sh 'echo "{\\"ClientId\\": \\"$ClientId\\",\\"ClientSecret\\": \\"$ClientSecret\\", \\"BaseUrl\\": \\"$apiUrl\\", \\"Debug\\" : $debugMode}" > Settings/servercreds.json'
3232
}
3333
}
3434
}

JenkinsfileRelease

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ def testGemLocally()
3838
try {
3939
stage('2:checkout again'){
4040
checkout([$class: 'GitSCM', branches: [[name: '*/testPackage']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'LocalBranch', localBranch: "**"]], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '361885ba-9425-4230-950e-0af201d90547', url: 'https://git.auckland.dynabic.com/words-cloud/words-cloud-ruby.git']]])
41-
withCredentials([usernamePassword(credentialsId: '6839cbe8-39fa-40c0-86ce-90706f0bae5d', passwordVariable: 'AppKey', usernameVariable: 'AppSid')]) {
42-
sh 'mkdir -p Settings'
43-
sh 'echo "{\\"AppSid\\": \\"$AppSid\\",\\"AppKey\\": \\"$AppKey\\", \\"BaseUrl\\": \\"${testServerUrl}\\"}" > Settings/servercreds.json'
44-
}
41+
withCredentials([usernamePassword(credentialsId: '6839cbe8-39fa-40c0-86ce-90706f0bae5d', passwordVariable: 'ClientSecret', usernameVariable: 'ClientId')]) {
42+
sh 'mkdir -p Settings'
43+
sh 'echo "{\\"ClientId\\": \\"$ClientId\\",\\"ClientSecret\\": \\"$ClientSecret\\", \\"BaseUrl\\": \\"$apiUrl\\", \\"Debug\\" : $debugMode}" > Settings/servercreds.json'
44+
}
4545
}
4646

4747
stage('3:build gem and test'){

README.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,17 @@ This repository contains Aspose.Words Cloud SDK for Ruby source code. This SDK a
1313
* Watermarks and protection
1414
* Full read & write access to Document Object Model, including sections, paragraphs, text, images, tables, headers/footers and many others
1515

16+
## Enhancements in Version 20.11
17+
18+
- In configuration json file appSid / appKey has been replaced to clientId / clientSecret.
19+
- In Words API initialization methods clientId parameter precedes clientSecret parameter.
20+
21+
22+
## Enhancements in Version 20.10
23+
24+
- Internal API changes.
25+
26+
1627
## Enhancements in Version 20.9
1728

1829
- Added Batch API feature
@@ -89,7 +100,7 @@ To use Aspose Words for Cloud Ruby SDK you need to register an account with [Asp
89100
To install this package do the following:
90101
update your Gemfile
91102
```ruby
92-
gem 'aspose_words_cloud', '~> 20.10'
103+
gem 'aspose_words_cloud', '~> 20.11'
93104
```
94105
or install directly
95106
```bash
@@ -100,8 +111,8 @@ gem install aspose_words_cloud
100111
```ruby
101112
# Start README example
102113
AsposeWordsCloud.configure do |config|
103-
config.api_key['api_key'] = AppKey
104-
config.api_key['app_sid'] = AppSid
114+
config.client_data['ClientId'] = clientId
115+
config.client_data['ClientSecret'] = clientSecret
105116
config.host = host
106117
request = DeleteWatermarkRequest.new remote_name, remote_test_folder + test_folder
107118
result = @words_api.delete_watermark request

0 commit comments

Comments
 (0)