files.com 1.0.269 → 1.0.272
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/remote_server.md +16 -16
- data/lib/files.com/errors.rb +2 -0
- data/lib/files.com/models/remote_server.rb +20 -20
- 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: 3c5c18b24419dd3e23b18a419cb386aca97bc5e5faa113a0926945704c1868c2
|
4
|
+
data.tar.gz: cfbf609b263c4deecd62bc185f8d7959a0e5a8b92805012f7a04591d093b2d18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0c5397194a276682561be92de240c91ecd67ebe9582d4162f3d4937fb27d08f3139a57d3fa3d432a838321117e40cc77cac527baf3623d65a52dda7ef1f91f1
|
7
|
+
data.tar.gz: 4824680b6b6d236043d70fa0d2bf40087d4b43078a7588dba580fedf45b296d78b1882fcd94fbdde7ca8bac37ed5e7baaad0b2f2a820293dfc5c3795ca83ea26
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.272
|
data/docs/remote_server.md
CHANGED
@@ -38,8 +38,8 @@
|
|
38
38
|
"azure_blob_storage_sas_token": "storage-sas-token",
|
39
39
|
"azure_blob_storage_container": "container-name",
|
40
40
|
"azure_files_storage_account": "storage-account-name",
|
41
|
-
"
|
42
|
-
"
|
41
|
+
"azure_files_storage_sas_token": "storage-sas-token",
|
42
|
+
"azure_files_storage_share_name": "share-name",
|
43
43
|
"s3_compatible_bucket": "my-bucket",
|
44
44
|
"s3_compatible_endpoint": "mys3platform.com",
|
45
45
|
"s3_compatible_region": "us-east-1",
|
@@ -82,8 +82,8 @@
|
|
82
82
|
* `azure_blob_storage_sas_token` (string): Shared Access Signature (SAS) token
|
83
83
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
84
84
|
* `azure_files_storage_account` (string): Azure File Storage Account name
|
85
|
-
* `
|
86
|
-
* `
|
85
|
+
* `azure_files_storage_sas_token` (string): Shared Access Signature (SAS) token
|
86
|
+
* `azure_files_storage_share_name` (string): Azure File Storage Share name
|
87
87
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
88
88
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
89
89
|
* `s3_compatible_region` (string): S3-compatible endpoint
|
@@ -165,8 +165,8 @@ Files::RemoteServer.create(
|
|
165
165
|
azure_blob_storage_container: "container-name",
|
166
166
|
azure_blob_storage_sas_token: "storage-sas-token",
|
167
167
|
azure_files_storage_account: "storage-account-name",
|
168
|
-
|
169
|
-
|
168
|
+
azure_files_storage_share_name: "share-name",
|
169
|
+
azure_files_storage_sas_token: "storage-sas-token",
|
170
170
|
s3_compatible_bucket: "my-bucket",
|
171
171
|
s3_compatible_endpoint: "mys3platform.com",
|
172
172
|
s3_compatible_region: "us-east-1",
|
@@ -215,8 +215,8 @@ Files::RemoteServer.create(
|
|
215
215
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
216
216
|
* `azure_blob_storage_sas_token` (string): Shared Access Signature (SAS) token
|
217
217
|
* `azure_files_storage_account` (string): Azure File Storage Account name
|
218
|
-
* `
|
219
|
-
* `
|
218
|
+
* `azure_files_storage_share_name` (string): Azure File Storage Share name
|
219
|
+
* `azure_files_storage_sas_token` (string): Shared Access Signature (SAS) token
|
220
220
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
221
221
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
222
222
|
* `s3_compatible_region` (string): S3-compatible endpoint
|
@@ -257,8 +257,8 @@ Files::RemoteServer.update(id,
|
|
257
257
|
azure_blob_storage_container: "container-name",
|
258
258
|
azure_blob_storage_sas_token: "storage-sas-token",
|
259
259
|
azure_files_storage_account: "storage-account-name",
|
260
|
-
|
261
|
-
|
260
|
+
azure_files_storage_share_name: "share-name",
|
261
|
+
azure_files_storage_sas_token: "storage-sas-token",
|
262
262
|
s3_compatible_bucket: "my-bucket",
|
263
263
|
s3_compatible_endpoint: "mys3platform.com",
|
264
264
|
s3_compatible_region: "us-east-1",
|
@@ -308,8 +308,8 @@ Files::RemoteServer.update(id,
|
|
308
308
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
309
309
|
* `azure_blob_storage_sas_token` (string): Shared Access Signature (SAS) token
|
310
310
|
* `azure_files_storage_account` (string): Azure File Storage Account name
|
311
|
-
* `
|
312
|
-
* `
|
311
|
+
* `azure_files_storage_share_name` (string): Azure File Storage Share name
|
312
|
+
* `azure_files_storage_sas_token` (string): Shared Access Signature (SAS) token
|
313
313
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
314
314
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
315
315
|
* `s3_compatible_region` (string): S3-compatible endpoint
|
@@ -365,8 +365,8 @@ remote_server.update(
|
|
365
365
|
azure_blob_storage_container: "container-name",
|
366
366
|
azure_blob_storage_sas_token: "storage-sas-token",
|
367
367
|
azure_files_storage_account: "storage-account-name",
|
368
|
-
|
369
|
-
|
368
|
+
azure_files_storage_share_name: "share-name",
|
369
|
+
azure_files_storage_sas_token: "storage-sas-token",
|
370
370
|
s3_compatible_bucket: "my-bucket",
|
371
371
|
s3_compatible_endpoint: "mys3platform.com",
|
372
372
|
s3_compatible_region: "us-east-1",
|
@@ -416,8 +416,8 @@ remote_server.update(
|
|
416
416
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
417
417
|
* `azure_blob_storage_sas_token` (string): Shared Access Signature (SAS) token
|
418
418
|
* `azure_files_storage_account` (string): Azure File Storage Account name
|
419
|
-
* `
|
420
|
-
* `
|
419
|
+
* `azure_files_storage_share_name` (string): Azure File Storage Share name
|
420
|
+
* `azure_files_storage_sas_token` (string): Shared Access Signature (SAS) token
|
421
421
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
422
422
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
423
423
|
* `s3_compatible_region` (string): S3-compatible endpoint
|
data/lib/files.com/errors.rb
CHANGED
@@ -85,6 +85,7 @@ module Files
|
|
85
85
|
class RequestParamsContainInvalidCharacterError < BadRequestError; end
|
86
86
|
class RequestParamsInvalidError < BadRequestError; end
|
87
87
|
class RequestParamsRequiredError < BadRequestError; end
|
88
|
+
class SearchAllOnChildPathError < BadRequestError; end
|
88
89
|
class UnsupportedCurrencyError < BadRequestError; end
|
89
90
|
class UnsupportedHttpResponseFormatError < BadRequestError; end
|
90
91
|
class UnsupportedMediaTypeError < BadRequestError; end
|
@@ -192,6 +193,7 @@ module Files
|
|
192
193
|
|
193
194
|
class RateLimitedError < APIError; end
|
194
195
|
class ReauthenticationRateLimitedError < RateLimitedError; end
|
196
|
+
class TooManyConcurrentRequestsError < RateLimitedError; end
|
195
197
|
class TooManyLoginAttemptsError < RateLimitedError; end
|
196
198
|
class TooManyRequestsError < RateLimitedError; end
|
197
199
|
|
@@ -316,21 +316,21 @@ module Files
|
|
316
316
|
end
|
317
317
|
|
318
318
|
# string - Shared Access Signature (SAS) token
|
319
|
-
def
|
320
|
-
@attributes[:
|
319
|
+
def azure_files_storage_sas_token
|
320
|
+
@attributes[:azure_files_storage_sas_token]
|
321
321
|
end
|
322
322
|
|
323
|
-
def
|
324
|
-
@attributes[:
|
323
|
+
def azure_files_storage_sas_token=(value)
|
324
|
+
@attributes[:azure_files_storage_sas_token] = value
|
325
325
|
end
|
326
326
|
|
327
327
|
# string - Azure File Storage Share name
|
328
|
-
def
|
329
|
-
@attributes[:
|
328
|
+
def azure_files_storage_share_name
|
329
|
+
@attributes[:azure_files_storage_share_name]
|
330
330
|
end
|
331
331
|
|
332
|
-
def
|
333
|
-
@attributes[:
|
332
|
+
def azure_files_storage_share_name=(value)
|
333
|
+
@attributes[:azure_files_storage_share_name] = value
|
334
334
|
end
|
335
335
|
|
336
336
|
# string - S3-compatible Bucket name
|
@@ -535,8 +535,8 @@ module Files
|
|
535
535
|
# azure_blob_storage_container - string - Azure Blob Storage Container name
|
536
536
|
# azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
|
537
537
|
# azure_files_storage_account - string - Azure File Storage Account name
|
538
|
-
#
|
539
|
-
#
|
538
|
+
# azure_files_storage_share_name - string - Azure File Storage Share name
|
539
|
+
# azure_files_storage_sas_token - string - Shared Access Signature (SAS) token
|
540
540
|
# s3_compatible_bucket - string - S3-compatible Bucket name
|
541
541
|
# s3_compatible_endpoint - string - S3-compatible endpoint
|
542
542
|
# s3_compatible_region - string - S3-compatible endpoint
|
@@ -586,8 +586,8 @@ module Files
|
|
586
586
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params.dig(:azure_blob_storage_container) and !params.dig(:azure_blob_storage_container).is_a?(String)
|
587
587
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_sas_token must be an String") if params.dig(:azure_blob_storage_sas_token) and !params.dig(:azure_blob_storage_sas_token).is_a?(String)
|
588
588
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_account must be an String") if params.dig(:azure_files_storage_account) and !params.dig(:azure_files_storage_account).is_a?(String)
|
589
|
-
raise InvalidParameterError.new("Bad parameter:
|
590
|
-
raise InvalidParameterError.new("Bad parameter:
|
589
|
+
raise InvalidParameterError.new("Bad parameter: azure_files_storage_share_name must be an String") if params.dig(:azure_files_storage_share_name) and !params.dig(:azure_files_storage_share_name).is_a?(String)
|
590
|
+
raise InvalidParameterError.new("Bad parameter: azure_files_storage_sas_token must be an String") if params.dig(:azure_files_storage_sas_token) and !params.dig(:azure_files_storage_sas_token).is_a?(String)
|
591
591
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params.dig(:s3_compatible_bucket) and !params.dig(:s3_compatible_bucket).is_a?(String)
|
592
592
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params.dig(:s3_compatible_endpoint) and !params.dig(:s3_compatible_endpoint).is_a?(String)
|
593
593
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_region must be an String") if params.dig(:s3_compatible_region) and !params.dig(:s3_compatible_region).is_a?(String)
|
@@ -693,8 +693,8 @@ module Files
|
|
693
693
|
# azure_blob_storage_container - string - Azure Blob Storage Container name
|
694
694
|
# azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
|
695
695
|
# azure_files_storage_account - string - Azure File Storage Account name
|
696
|
-
#
|
697
|
-
#
|
696
|
+
# azure_files_storage_share_name - string - Azure File Storage Share name
|
697
|
+
# azure_files_storage_sas_token - string - Shared Access Signature (SAS) token
|
698
698
|
# s3_compatible_bucket - string - S3-compatible Bucket name
|
699
699
|
# s3_compatible_endpoint - string - S3-compatible endpoint
|
700
700
|
# s3_compatible_region - string - S3-compatible endpoint
|
@@ -740,8 +740,8 @@ module Files
|
|
740
740
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params.dig(:azure_blob_storage_container) and !params.dig(:azure_blob_storage_container).is_a?(String)
|
741
741
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_sas_token must be an String") if params.dig(:azure_blob_storage_sas_token) and !params.dig(:azure_blob_storage_sas_token).is_a?(String)
|
742
742
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_account must be an String") if params.dig(:azure_files_storage_account) and !params.dig(:azure_files_storage_account).is_a?(String)
|
743
|
-
raise InvalidParameterError.new("Bad parameter:
|
744
|
-
raise InvalidParameterError.new("Bad parameter:
|
743
|
+
raise InvalidParameterError.new("Bad parameter: azure_files_storage_share_name must be an String") if params.dig(:azure_files_storage_share_name) and !params.dig(:azure_files_storage_share_name).is_a?(String)
|
744
|
+
raise InvalidParameterError.new("Bad parameter: azure_files_storage_sas_token must be an String") if params.dig(:azure_files_storage_sas_token) and !params.dig(:azure_files_storage_sas_token).is_a?(String)
|
745
745
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params.dig(:s3_compatible_bucket) and !params.dig(:s3_compatible_bucket).is_a?(String)
|
746
746
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params.dig(:s3_compatible_endpoint) and !params.dig(:s3_compatible_endpoint).is_a?(String)
|
747
747
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_region must be an String") if params.dig(:s3_compatible_region) and !params.dig(:s3_compatible_region).is_a?(String)
|
@@ -792,8 +792,8 @@ module Files
|
|
792
792
|
# azure_blob_storage_container - string - Azure Blob Storage Container name
|
793
793
|
# azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
|
794
794
|
# azure_files_storage_account - string - Azure File Storage Account name
|
795
|
-
#
|
796
|
-
#
|
795
|
+
# azure_files_storage_share_name - string - Azure File Storage Share name
|
796
|
+
# azure_files_storage_sas_token - string - Shared Access Signature (SAS) token
|
797
797
|
# s3_compatible_bucket - string - S3-compatible Bucket name
|
798
798
|
# s3_compatible_endpoint - string - S3-compatible endpoint
|
799
799
|
# s3_compatible_region - string - S3-compatible endpoint
|
@@ -842,8 +842,8 @@ module Files
|
|
842
842
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params.dig(:azure_blob_storage_container) and !params.dig(:azure_blob_storage_container).is_a?(String)
|
843
843
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_sas_token must be an String") if params.dig(:azure_blob_storage_sas_token) and !params.dig(:azure_blob_storage_sas_token).is_a?(String)
|
844
844
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_account must be an String") if params.dig(:azure_files_storage_account) and !params.dig(:azure_files_storage_account).is_a?(String)
|
845
|
-
raise InvalidParameterError.new("Bad parameter:
|
846
|
-
raise InvalidParameterError.new("Bad parameter:
|
845
|
+
raise InvalidParameterError.new("Bad parameter: azure_files_storage_share_name must be an String") if params.dig(:azure_files_storage_share_name) and !params.dig(:azure_files_storage_share_name).is_a?(String)
|
846
|
+
raise InvalidParameterError.new("Bad parameter: azure_files_storage_sas_token must be an String") if params.dig(:azure_files_storage_sas_token) and !params.dig(:azure_files_storage_sas_token).is_a?(String)
|
847
847
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params.dig(:s3_compatible_bucket) and !params.dig(:s3_compatible_bucket).is_a?(String)
|
848
848
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params.dig(:s3_compatible_endpoint) and !params.dig(:s3_compatible_endpoint).is_a?(String)
|
849
849
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_region must be an String") if params.dig(:s3_compatible_region) and !params.dig(:s3_compatible_region).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.272
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06-
|
11
|
+
date: 2022-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|