files.com 1.1.208 → 1.1.210
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/folder.md +1 -1
- data/docs/remote_server.md +8 -0
- data/lib/files.com/models/folder.rb +1 -1
- data/lib/files.com/models/remote_server.rb +15 -0
- data/lib/files.com/version.rb +1 -1
- 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: b29873fd496847868103feea857a3d1ed71d2b13d940b0d4d5e3218f295043b7
|
4
|
+
data.tar.gz: 956ded49e04ea3173a4022a0caa952145a7378894eb2b8eec21c0fb79b90e674
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3719eaedb630d31bc4b366c132cb9e30b67dfd2deb1dc769f42bb4daa7bcf99fe05ec71768294e5cb2f83dc6fe45db3a3768f18a5fdc886b80d4297cf05c724
|
7
|
+
data.tar.gz: 72214644683fb41b9efb6728cba63f3d4f45319a4c1da43210b30de2cafaf9ef7865b7fe92c46e66d4847c6c98c94e2bcddfd5cc418d7986f0dddaefd01f42fa
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.210
|
data/docs/folder.md
CHANGED
@@ -113,7 +113,7 @@ Files::Folder.list_for(path,
|
|
113
113
|
* `path` (string): Required - Path to operate on.
|
114
114
|
* `preview_size` (string): Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
|
115
115
|
* `sort_by` (object): Search by field and direction. Valid fields are `path`, `size`, `modified_at_datetime`, `provided_modified_at`. Valid directions are `asc` and `desc`. Defaults to `{"path":"asc"}`.
|
116
|
-
* `search` (string): If specified, will search the folders/files list by name. Ignores text before last `/`. This is the same API used by the search bar in the web UI when running 'Search This Folder'. Search results are a best effort, not real time, and not guaranteed to perfectly match the latest folder listing. Results may be
|
116
|
+
* `search` (string): If specified, will search the folders/files list by name. Ignores text before last `/`. This is the same API used by the search bar in the web UI when running 'Search This Folder'. Search results are a best effort, not real time, and not guaranteed to perfectly match the latest folder listing. Results may be truncated if more than 1,000 possible matches exist. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
|
117
117
|
* `search_all` (boolean): Search entire site? If set, we will ignore the folder path provided and search the entire site. This is the same API used by the search bar in the web UI when running 'Search All Files'. Search results are a best effort, not real time, and not guaranteed to match every file. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
|
118
118
|
* `with_previews` (boolean): Include file previews?
|
119
119
|
* `with_priority_color` (boolean): Include file priority color information?
|
data/docs/remote_server.md
CHANGED
@@ -41,6 +41,7 @@
|
|
41
41
|
"azure_blob_storage_hierarchical_namespace": true,
|
42
42
|
"azure_files_storage_account": "storage-account-name",
|
43
43
|
"azure_files_storage_share_name": "share-name",
|
44
|
+
"azure_files_storage_dns_suffix": "file.core.windows.net",
|
44
45
|
"s3_compatible_bucket": "my-bucket",
|
45
46
|
"s3_compatible_endpoint": "mys3platform.com",
|
46
47
|
"s3_compatible_region": "us-east-1",
|
@@ -100,6 +101,7 @@
|
|
100
101
|
* `azure_blob_storage_hierarchical_namespace` (boolean): Enable when storage account has hierarchical namespace feature enabled
|
101
102
|
* `azure_files_storage_account` (string): Azure File Storage Account name
|
102
103
|
* `azure_files_storage_share_name` (string): Azure File Storage Share name
|
104
|
+
* `azure_files_storage_dns_suffix` (string): Custom DNS suffix
|
103
105
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
104
106
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
105
107
|
* `s3_compatible_region` (string): S3-compatible endpoint
|
@@ -219,6 +221,7 @@ Files::RemoteServer.create(
|
|
219
221
|
azure_blob_storage_hierarchical_namespace: true,
|
220
222
|
azure_files_storage_account: "storage-account-name",
|
221
223
|
azure_files_storage_share_name: "share-name",
|
224
|
+
azure_files_storage_dns_suffix: "file.core.windows.net",
|
222
225
|
s3_compatible_bucket: "my-bucket",
|
223
226
|
s3_compatible_endpoint: "mys3platform.com",
|
224
227
|
s3_compatible_region: "us-east-1",
|
@@ -284,6 +287,7 @@ Files::RemoteServer.create(
|
|
284
287
|
* `azure_blob_storage_sas_token` (string): Shared Access Signature (SAS) token
|
285
288
|
* `azure_files_storage_account` (string): Azure File Storage Account name
|
286
289
|
* `azure_files_storage_share_name` (string): Azure File Storage Share name
|
290
|
+
* `azure_files_storage_dns_suffix` (string): Custom DNS suffix
|
287
291
|
* `azure_files_storage_sas_token` (string): Shared Access Signature (SAS) token
|
288
292
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
289
293
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
@@ -380,6 +384,7 @@ Files::RemoteServer.update(id,
|
|
380
384
|
azure_blob_storage_hierarchical_namespace: true,
|
381
385
|
azure_files_storage_account: "storage-account-name",
|
382
386
|
azure_files_storage_share_name: "share-name",
|
387
|
+
azure_files_storage_dns_suffix: "file.core.windows.net",
|
383
388
|
s3_compatible_bucket: "my-bucket",
|
384
389
|
s3_compatible_endpoint: "mys3platform.com",
|
385
390
|
s3_compatible_region: "us-east-1",
|
@@ -446,6 +451,7 @@ Files::RemoteServer.update(id,
|
|
446
451
|
* `azure_blob_storage_sas_token` (string): Shared Access Signature (SAS) token
|
447
452
|
* `azure_files_storage_account` (string): Azure File Storage Account name
|
448
453
|
* `azure_files_storage_share_name` (string): Azure File Storage Share name
|
454
|
+
* `azure_files_storage_dns_suffix` (string): Custom DNS suffix
|
449
455
|
* `azure_files_storage_sas_token` (string): Shared Access Signature (SAS) token
|
450
456
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
451
457
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
@@ -559,6 +565,7 @@ remote_server.update(
|
|
559
565
|
azure_blob_storage_hierarchical_namespace: true,
|
560
566
|
azure_files_storage_account: "storage-account-name",
|
561
567
|
azure_files_storage_share_name: "share-name",
|
568
|
+
azure_files_storage_dns_suffix: "file.core.windows.net",
|
562
569
|
s3_compatible_bucket: "my-bucket",
|
563
570
|
s3_compatible_endpoint: "mys3platform.com",
|
564
571
|
s3_compatible_region: "us-east-1",
|
@@ -625,6 +632,7 @@ remote_server.update(
|
|
625
632
|
* `azure_blob_storage_sas_token` (string): Shared Access Signature (SAS) token
|
626
633
|
* `azure_files_storage_account` (string): Azure File Storage Account name
|
627
634
|
* `azure_files_storage_share_name` (string): Azure File Storage Share name
|
635
|
+
* `azure_files_storage_dns_suffix` (string): Custom DNS suffix
|
628
636
|
* `azure_files_storage_sas_token` (string): Shared Access Signature (SAS) token
|
629
637
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
630
638
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
@@ -482,7 +482,7 @@ module Files
|
|
482
482
|
# path (required) - string - Path to operate on.
|
483
483
|
# preview_size - string - Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
|
484
484
|
# sort_by - object - Search by field and direction. Valid fields are `path`, `size`, `modified_at_datetime`, `provided_modified_at`. Valid directions are `asc` and `desc`. Defaults to `{"path":"asc"}`.
|
485
|
-
# search - string - If specified, will search the folders/files list by name. Ignores text before last `/`. This is the same API used by the search bar in the web UI when running 'Search This Folder'. Search results are a best effort, not real time, and not guaranteed to perfectly match the latest folder listing. Results may be
|
485
|
+
# search - string - If specified, will search the folders/files list by name. Ignores text before last `/`. This is the same API used by the search bar in the web UI when running 'Search This Folder'. Search results are a best effort, not real time, and not guaranteed to perfectly match the latest folder listing. Results may be truncated if more than 1,000 possible matches exist. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
|
486
486
|
# search_all - boolean - Search entire site? If set, we will ignore the folder path provided and search the entire site. This is the same API used by the search bar in the web UI when running 'Search All Files'. Search results are a best effort, not real time, and not guaranteed to match every file. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
|
487
487
|
# with_previews - boolean - Include file previews?
|
488
488
|
# with_priority_color - boolean - Include file priority color information?
|
@@ -342,6 +342,15 @@ module Files
|
|
342
342
|
@attributes[:azure_files_storage_share_name] = value
|
343
343
|
end
|
344
344
|
|
345
|
+
# string - Custom DNS suffix
|
346
|
+
def azure_files_storage_dns_suffix
|
347
|
+
@attributes[:azure_files_storage_dns_suffix]
|
348
|
+
end
|
349
|
+
|
350
|
+
def azure_files_storage_dns_suffix=(value)
|
351
|
+
@attributes[:azure_files_storage_dns_suffix] = value
|
352
|
+
end
|
353
|
+
|
345
354
|
# string - S3-compatible Bucket name
|
346
355
|
def s3_compatible_bucket
|
347
356
|
@attributes[:s3_compatible_bucket]
|
@@ -763,6 +772,7 @@ module Files
|
|
763
772
|
# azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
|
764
773
|
# azure_files_storage_account - string - Azure File Storage Account name
|
765
774
|
# azure_files_storage_share_name - string - Azure File Storage Share name
|
775
|
+
# azure_files_storage_dns_suffix - string - Custom DNS suffix
|
766
776
|
# azure_files_storage_sas_token - string - Shared Access Signature (SAS) token
|
767
777
|
# s3_compatible_bucket - string - S3-compatible Bucket name
|
768
778
|
# s3_compatible_endpoint - string - S3-compatible endpoint
|
@@ -830,6 +840,7 @@ module Files
|
|
830
840
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_sas_token must be an String") if params[:azure_blob_storage_sas_token] and !params[:azure_blob_storage_sas_token].is_a?(String)
|
831
841
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_account must be an String") if params[:azure_files_storage_account] and !params[:azure_files_storage_account].is_a?(String)
|
832
842
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_share_name must be an String") if params[:azure_files_storage_share_name] and !params[:azure_files_storage_share_name].is_a?(String)
|
843
|
+
raise InvalidParameterError.new("Bad parameter: azure_files_storage_dns_suffix must be an String") if params[:azure_files_storage_dns_suffix] and !params[:azure_files_storage_dns_suffix].is_a?(String)
|
833
844
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_sas_token must be an String") if params[:azure_files_storage_sas_token] and !params[:azure_files_storage_sas_token].is_a?(String)
|
834
845
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params[:s3_compatible_bucket] and !params[:s3_compatible_bucket].is_a?(String)
|
835
846
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params[:s3_compatible_endpoint] and !params[:s3_compatible_endpoint].is_a?(String)
|
@@ -975,6 +986,7 @@ module Files
|
|
975
986
|
# azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
|
976
987
|
# azure_files_storage_account - string - Azure File Storage Account name
|
977
988
|
# azure_files_storage_share_name - string - Azure File Storage Share name
|
989
|
+
# azure_files_storage_dns_suffix - string - Custom DNS suffix
|
978
990
|
# azure_files_storage_sas_token - string - Shared Access Signature (SAS) token
|
979
991
|
# s3_compatible_bucket - string - S3-compatible Bucket name
|
980
992
|
# s3_compatible_endpoint - string - S3-compatible endpoint
|
@@ -1038,6 +1050,7 @@ module Files
|
|
1038
1050
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_sas_token must be an String") if params[:azure_blob_storage_sas_token] and !params[:azure_blob_storage_sas_token].is_a?(String)
|
1039
1051
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_account must be an String") if params[:azure_files_storage_account] and !params[:azure_files_storage_account].is_a?(String)
|
1040
1052
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_share_name must be an String") if params[:azure_files_storage_share_name] and !params[:azure_files_storage_share_name].is_a?(String)
|
1053
|
+
raise InvalidParameterError.new("Bad parameter: azure_files_storage_dns_suffix must be an String") if params[:azure_files_storage_dns_suffix] and !params[:azure_files_storage_dns_suffix].is_a?(String)
|
1041
1054
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_sas_token must be an String") if params[:azure_files_storage_sas_token] and !params[:azure_files_storage_sas_token].is_a?(String)
|
1042
1055
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params[:s3_compatible_bucket] and !params[:s3_compatible_bucket].is_a?(String)
|
1043
1056
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params[:s3_compatible_endpoint] and !params[:s3_compatible_endpoint].is_a?(String)
|
@@ -1142,6 +1155,7 @@ module Files
|
|
1142
1155
|
# azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
|
1143
1156
|
# azure_files_storage_account - string - Azure File Storage Account name
|
1144
1157
|
# azure_files_storage_share_name - string - Azure File Storage Share name
|
1158
|
+
# azure_files_storage_dns_suffix - string - Custom DNS suffix
|
1145
1159
|
# azure_files_storage_sas_token - string - Shared Access Signature (SAS) token
|
1146
1160
|
# s3_compatible_bucket - string - S3-compatible Bucket name
|
1147
1161
|
# s3_compatible_endpoint - string - S3-compatible endpoint
|
@@ -1208,6 +1222,7 @@ module Files
|
|
1208
1222
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_sas_token must be an String") if params[:azure_blob_storage_sas_token] and !params[:azure_blob_storage_sas_token].is_a?(String)
|
1209
1223
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_account must be an String") if params[:azure_files_storage_account] and !params[:azure_files_storage_account].is_a?(String)
|
1210
1224
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_share_name must be an String") if params[:azure_files_storage_share_name] and !params[:azure_files_storage_share_name].is_a?(String)
|
1225
|
+
raise InvalidParameterError.new("Bad parameter: azure_files_storage_dns_suffix must be an String") if params[:azure_files_storage_dns_suffix] and !params[:azure_files_storage_dns_suffix].is_a?(String)
|
1211
1226
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_sas_token must be an String") if params[:azure_files_storage_sas_token] and !params[:azure_files_storage_sas_token].is_a?(String)
|
1212
1227
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params[:s3_compatible_bucket] and !params[:s3_compatible_bucket].is_a?(String)
|
1213
1228
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params[:s3_compatible_endpoint] and !params[:s3_compatible_endpoint].is_a?(String)
|
data/lib/files.com/version.rb
CHANGED
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.1.
|
4
|
+
version: 1.1.210
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|