files.com 1.1.95 → 1.1.97
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/_VERSION +1 -1
- data/docs/remote_server.md +4 -0
- 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: a3d2b2bf0fc8eff8601d26bf1da9bc7c51dd92ddc8f44dddc216cf0ac8f193b3
|
4
|
+
data.tar.gz: 216ff0a6bae3e636c71d89eab5505c3c735ecfc8c8796f31c947950c195cf920
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c318e6595e70845d735c92fc344d117b5b2938db0290a338379357aabc147eb0610df82c40f909103863d5053b07bc5a04634e2dfd17b67f693bc364a50bdb9
|
7
|
+
data.tar.gz: 1e9d5ba33ef2096d2e1d5694ccdde649033e6c9cbfd427c0f8fc71689d415fe3ff6db647ba50e0ceadf53f9b8269258cdd0c4939177607563b544392bd053a91
|
data/README.md
CHANGED
@@ -71,8 +71,8 @@ You can set the following global options directly on the `Files` module:
|
|
71
71
|
* `Files.initial_network_retry_delay` - initial retry delay in seconds (default: 0.5)
|
72
72
|
* `Files.max_network_retries` - max retries (default: 3)
|
73
73
|
* `Files.max_network_retry_delay` - max retry delay in seconds (default: 2)
|
74
|
-
* `Files.base_url` - to
|
75
|
-
|
74
|
+
* `Files.base_url` - Set client to use your site subdomain if your site is configured to disable global acceleration.
|
75
|
+
Otherwise, don't change this setting for production. For dev/CI, you can point this to the mock server.
|
76
76
|
* `Files.proxy` - proxy configuration (uses Faraday format)
|
77
77
|
|
78
78
|
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.97
|
data/docs/remote_server.md
CHANGED
@@ -131,6 +131,7 @@
|
|
131
131
|
* `azure_blob_storage_access_key` (string): Azure Blob Storage secret key.
|
132
132
|
* `azure_files_storage_access_key` (string): Azure File Storage access key.
|
133
133
|
* `azure_blob_storage_sas_token` (string): Shared Access Signature (SAS) token
|
134
|
+
* `azure_files_storage_sas_token` (string): Shared Access Signature (SAS) token
|
134
135
|
* `s3_compatible_secret_key` (string): S3-compatible secret key
|
135
136
|
* `filebase_secret_key` (string): Filebase secret key
|
136
137
|
* `cloudflare_secret_key` (string): Cloudflare secret key
|
@@ -283,6 +284,7 @@ Files::RemoteServer.create(
|
|
283
284
|
* `azure_blob_storage_sas_token` (string): Shared Access Signature (SAS) token
|
284
285
|
* `azure_files_storage_account` (string): Azure File Storage Account name
|
285
286
|
* `azure_files_storage_share_name` (string): Azure File Storage Share name
|
287
|
+
* `azure_files_storage_sas_token` (string): Shared Access Signature (SAS) token
|
286
288
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
287
289
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
288
290
|
* `s3_compatible_region` (string): S3-compatible endpoint
|
@@ -444,6 +446,7 @@ Files::RemoteServer.update(id,
|
|
444
446
|
* `azure_blob_storage_sas_token` (string): Shared Access Signature (SAS) token
|
445
447
|
* `azure_files_storage_account` (string): Azure File Storage Account name
|
446
448
|
* `azure_files_storage_share_name` (string): Azure File Storage Share name
|
449
|
+
* `azure_files_storage_sas_token` (string): Shared Access Signature (SAS) token
|
447
450
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
448
451
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
449
452
|
* `s3_compatible_region` (string): S3-compatible endpoint
|
@@ -622,6 +625,7 @@ remote_server.update(
|
|
622
625
|
* `azure_blob_storage_sas_token` (string): Shared Access Signature (SAS) token
|
623
626
|
* `azure_files_storage_account` (string): Azure File Storage Account name
|
624
627
|
* `azure_files_storage_share_name` (string): Azure File Storage Share name
|
628
|
+
* `azure_files_storage_sas_token` (string): Shared Access Signature (SAS) token
|
625
629
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
626
630
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
627
631
|
* `s3_compatible_region` (string): S3-compatible endpoint
|
@@ -630,6 +630,15 @@ module Files
|
|
630
630
|
@attributes[:azure_blob_storage_sas_token] = value
|
631
631
|
end
|
632
632
|
|
633
|
+
# string - Shared Access Signature (SAS) token
|
634
|
+
def azure_files_storage_sas_token
|
635
|
+
@attributes[:azure_files_storage_sas_token]
|
636
|
+
end
|
637
|
+
|
638
|
+
def azure_files_storage_sas_token=(value)
|
639
|
+
@attributes[:azure_files_storage_sas_token] = value
|
640
|
+
end
|
641
|
+
|
633
642
|
# string - S3-compatible secret key
|
634
643
|
def s3_compatible_secret_key
|
635
644
|
@attributes[:s3_compatible_secret_key]
|
@@ -745,6 +754,7 @@ module Files
|
|
745
754
|
# azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
|
746
755
|
# azure_files_storage_account - string - Azure File Storage Account name
|
747
756
|
# azure_files_storage_share_name - string - Azure File Storage Share name
|
757
|
+
# azure_files_storage_sas_token - string - Shared Access Signature (SAS) token
|
748
758
|
# s3_compatible_bucket - string - S3-compatible Bucket name
|
749
759
|
# s3_compatible_endpoint - string - S3-compatible endpoint
|
750
760
|
# s3_compatible_region - string - S3-compatible endpoint
|
@@ -811,6 +821,7 @@ module Files
|
|
811
821
|
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)
|
812
822
|
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)
|
813
823
|
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)
|
824
|
+
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)
|
814
825
|
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)
|
815
826
|
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)
|
816
827
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_region must be an String") if params[:s3_compatible_region] and !params[:s3_compatible_region].is_a?(String)
|
@@ -953,6 +964,7 @@ module Files
|
|
953
964
|
# azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
|
954
965
|
# azure_files_storage_account - string - Azure File Storage Account name
|
955
966
|
# azure_files_storage_share_name - string - Azure File Storage Share name
|
967
|
+
# azure_files_storage_sas_token - string - Shared Access Signature (SAS) token
|
956
968
|
# s3_compatible_bucket - string - S3-compatible Bucket name
|
957
969
|
# s3_compatible_endpoint - string - S3-compatible endpoint
|
958
970
|
# s3_compatible_region - string - S3-compatible endpoint
|
@@ -1015,6 +1027,7 @@ module Files
|
|
1015
1027
|
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)
|
1016
1028
|
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)
|
1017
1029
|
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)
|
1030
|
+
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)
|
1018
1031
|
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)
|
1019
1032
|
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)
|
1020
1033
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_region must be an String") if params[:s3_compatible_region] and !params[:s3_compatible_region].is_a?(String)
|
@@ -1118,6 +1131,7 @@ module Files
|
|
1118
1131
|
# azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
|
1119
1132
|
# azure_files_storage_account - string - Azure File Storage Account name
|
1120
1133
|
# azure_files_storage_share_name - string - Azure File Storage Share name
|
1134
|
+
# azure_files_storage_sas_token - string - Shared Access Signature (SAS) token
|
1121
1135
|
# s3_compatible_bucket - string - S3-compatible Bucket name
|
1122
1136
|
# s3_compatible_endpoint - string - S3-compatible endpoint
|
1123
1137
|
# s3_compatible_region - string - S3-compatible endpoint
|
@@ -1183,6 +1197,7 @@ module Files
|
|
1183
1197
|
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)
|
1184
1198
|
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)
|
1185
1199
|
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)
|
1200
|
+
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)
|
1186
1201
|
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)
|
1187
1202
|
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)
|
1188
1203
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_region must be an String") if params[:s3_compatible_region] and !params[:s3_compatible_region].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.97
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|