files.com 1.0.120 → 1.0.121
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/_VERSION +1 -1
- data/docs/remote_server.md +4 -0
- data/lib/files.com/models/remote_server.rb +15 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: afbaa52d35acc90caddf03f3591030a31497eafabc834d7a7e80a118b75b275c
|
4
|
+
data.tar.gz: 0d09ba83f3191475ad3b6f4f3e4832a99cecf378e7a8290b9ae86462f858dde5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c8b2f614e56ec6d051a88ae44cf77fb7e62ccdee5f326364b9994ee2d8c3bb85d85a8ec0765cca2df3498eaea286874bfed4594289e628f1d891c09c7174e9a
|
7
|
+
data.tar.gz: c81352b474842a5b48e0e30ea708c67b506b42bfc4b9c26923728927459256fec710867588788f04431a1e60f6c5c5cec80f329fab1f78cec846876365800ba8
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.121
|
data/docs/remote_server.md
CHANGED
@@ -67,6 +67,7 @@
|
|
67
67
|
* `aws_secret_key` (string): AWS secret key.
|
68
68
|
* `password` (string): Password if needed.
|
69
69
|
* `private_key` (string): Private key if needed.
|
70
|
+
* `ssl_certificate` (string): SSL client certificate.
|
70
71
|
* `google_cloud_storage_credentials_json` (string): A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
|
71
72
|
* `wasabi_access_key` (string): Wasabi access key.
|
72
73
|
* `wasabi_secret_key` (string): Wasabi secret key.
|
@@ -148,6 +149,7 @@ Files::RemoteServer.create(
|
|
148
149
|
* `aws_secret_key` (string): AWS secret key.
|
149
150
|
* `password` (string): Password if needed.
|
150
151
|
* `private_key` (string): Private key if needed.
|
152
|
+
* `ssl_certificate` (string): SSL client certificate.
|
151
153
|
* `google_cloud_storage_credentials_json` (string): A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
|
152
154
|
* `wasabi_access_key` (string): Wasabi access key.
|
153
155
|
* `wasabi_secret_key` (string): Wasabi secret key.
|
@@ -221,6 +223,7 @@ Files::RemoteServer.update(id,
|
|
221
223
|
* `aws_secret_key` (string): AWS secret key.
|
222
224
|
* `password` (string): Password if needed.
|
223
225
|
* `private_key` (string): Private key if needed.
|
226
|
+
* `ssl_certificate` (string): SSL client certificate.
|
224
227
|
* `google_cloud_storage_credentials_json` (string): A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
|
225
228
|
* `wasabi_access_key` (string): Wasabi access key.
|
226
229
|
* `wasabi_secret_key` (string): Wasabi secret key.
|
@@ -309,6 +312,7 @@ remote_server.update(
|
|
309
312
|
* `aws_secret_key` (string): AWS secret key.
|
310
313
|
* `password` (string): Password if needed.
|
311
314
|
* `private_key` (string): Private key if needed.
|
315
|
+
* `ssl_certificate` (string): SSL client certificate.
|
312
316
|
* `google_cloud_storage_credentials_json` (string): A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
|
313
317
|
* `wasabi_access_key` (string): Wasabi access key.
|
314
318
|
* `wasabi_secret_key` (string): Wasabi secret key.
|
@@ -297,6 +297,15 @@ module Files
|
|
297
297
|
@attributes[:private_key] = value
|
298
298
|
end
|
299
299
|
|
300
|
+
# string - SSL client certificate.
|
301
|
+
def ssl_certificate
|
302
|
+
@attributes[:ssl_certificate]
|
303
|
+
end
|
304
|
+
|
305
|
+
def ssl_certificate=(value)
|
306
|
+
@attributes[:ssl_certificate] = value
|
307
|
+
end
|
308
|
+
|
300
309
|
# string - A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
|
301
310
|
def google_cloud_storage_credentials_json
|
302
311
|
@attributes[:google_cloud_storage_credentials_json]
|
@@ -374,6 +383,7 @@ module Files
|
|
374
383
|
# aws_secret_key - string - AWS secret key.
|
375
384
|
# password - string - Password if needed.
|
376
385
|
# private_key - string - Private key if needed.
|
386
|
+
# ssl_certificate - string - SSL client certificate.
|
377
387
|
# google_cloud_storage_credentials_json - string - A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
|
378
388
|
# wasabi_access_key - string - Wasabi access key.
|
379
389
|
# wasabi_secret_key - string - Wasabi secret key.
|
@@ -414,6 +424,7 @@ module Files
|
|
414
424
|
raise InvalidParameterError.new("Bad parameter: aws_secret_key must be an String") if params.dig(:aws_secret_key) and !params.dig(:aws_secret_key).is_a?(String)
|
415
425
|
raise InvalidParameterError.new("Bad parameter: password must be an String") if params.dig(:password) and !params.dig(:password).is_a?(String)
|
416
426
|
raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params.dig(:private_key) and !params.dig(:private_key).is_a?(String)
|
427
|
+
raise InvalidParameterError.new("Bad parameter: ssl_certificate must be an String") if params.dig(:ssl_certificate) and !params.dig(:ssl_certificate).is_a?(String)
|
417
428
|
raise InvalidParameterError.new("Bad parameter: google_cloud_storage_credentials_json must be an String") if params.dig(:google_cloud_storage_credentials_json) and !params.dig(:google_cloud_storage_credentials_json).is_a?(String)
|
418
429
|
raise InvalidParameterError.new("Bad parameter: wasabi_access_key must be an String") if params.dig(:wasabi_access_key) and !params.dig(:wasabi_access_key).is_a?(String)
|
419
430
|
raise InvalidParameterError.new("Bad parameter: wasabi_secret_key must be an String") if params.dig(:wasabi_secret_key) and !params.dig(:wasabi_secret_key).is_a?(String)
|
@@ -513,6 +524,7 @@ module Files
|
|
513
524
|
# aws_secret_key - string - AWS secret key.
|
514
525
|
# password - string - Password if needed.
|
515
526
|
# private_key - string - Private key if needed.
|
527
|
+
# ssl_certificate - string - SSL client certificate.
|
516
528
|
# google_cloud_storage_credentials_json - string - A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
|
517
529
|
# wasabi_access_key - string - Wasabi access key.
|
518
530
|
# wasabi_secret_key - string - Wasabi secret key.
|
@@ -549,6 +561,7 @@ module Files
|
|
549
561
|
raise InvalidParameterError.new("Bad parameter: aws_secret_key must be an String") if params.dig(:aws_secret_key) and !params.dig(:aws_secret_key).is_a?(String)
|
550
562
|
raise InvalidParameterError.new("Bad parameter: password must be an String") if params.dig(:password) and !params.dig(:password).is_a?(String)
|
551
563
|
raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params.dig(:private_key) and !params.dig(:private_key).is_a?(String)
|
564
|
+
raise InvalidParameterError.new("Bad parameter: ssl_certificate must be an String") if params.dig(:ssl_certificate) and !params.dig(:ssl_certificate).is_a?(String)
|
552
565
|
raise InvalidParameterError.new("Bad parameter: google_cloud_storage_credentials_json must be an String") if params.dig(:google_cloud_storage_credentials_json) and !params.dig(:google_cloud_storage_credentials_json).is_a?(String)
|
553
566
|
raise InvalidParameterError.new("Bad parameter: wasabi_access_key must be an String") if params.dig(:wasabi_access_key) and !params.dig(:wasabi_access_key).is_a?(String)
|
554
567
|
raise InvalidParameterError.new("Bad parameter: wasabi_secret_key must be an String") if params.dig(:wasabi_secret_key) and !params.dig(:wasabi_secret_key).is_a?(String)
|
@@ -589,6 +602,7 @@ module Files
|
|
589
602
|
# aws_secret_key - string - AWS secret key.
|
590
603
|
# password - string - Password if needed.
|
591
604
|
# private_key - string - Private key if needed.
|
605
|
+
# ssl_certificate - string - SSL client certificate.
|
592
606
|
# google_cloud_storage_credentials_json - string - A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
|
593
607
|
# wasabi_access_key - string - Wasabi access key.
|
594
608
|
# wasabi_secret_key - string - Wasabi secret key.
|
@@ -628,6 +642,7 @@ module Files
|
|
628
642
|
raise InvalidParameterError.new("Bad parameter: aws_secret_key must be an String") if params.dig(:aws_secret_key) and !params.dig(:aws_secret_key).is_a?(String)
|
629
643
|
raise InvalidParameterError.new("Bad parameter: password must be an String") if params.dig(:password) and !params.dig(:password).is_a?(String)
|
630
644
|
raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params.dig(:private_key) and !params.dig(:private_key).is_a?(String)
|
645
|
+
raise InvalidParameterError.new("Bad parameter: ssl_certificate must be an String") if params.dig(:ssl_certificate) and !params.dig(:ssl_certificate).is_a?(String)
|
631
646
|
raise InvalidParameterError.new("Bad parameter: google_cloud_storage_credentials_json must be an String") if params.dig(:google_cloud_storage_credentials_json) and !params.dig(:google_cloud_storage_credentials_json).is_a?(String)
|
632
647
|
raise InvalidParameterError.new("Bad parameter: wasabi_access_key must be an String") if params.dig(:wasabi_access_key) and !params.dig(:wasabi_access_key).is_a?(String)
|
633
648
|
raise InvalidParameterError.new("Bad parameter: wasabi_secret_key must be an String") if params.dig(:wasabi_secret_key) and !params.dig(:wasabi_secret_key).is_a?(String)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: files.com
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.121
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10-
|
11
|
+
date: 2020-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|