files.com 1.1.380 → 1.1.381

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9f081a92a14a19060e6a3a7d9840a604a645cf1d3651ae0cae4e3b5a6665fb54
4
- data.tar.gz: e9f2c9dc04dfaeb2adb81447e1c581146d8951de429f1dd94ba49fcb6eaa22aa
3
+ metadata.gz: 6c5c2dd0a669caa9c7c78174032877689e9032857e02970efbc70790d341ca12
4
+ data.tar.gz: 7b27b949a680e3651fc7a4a5b820365452b50ab62d469c3863029c0db2be7701
5
5
  SHA512:
6
- metadata.gz: 74f8990970129ce33a573cf15ddf718326faa393222bac64e9013428e546447655c5e5b3ddef5a980021d3c10f44e84bda6bb3bd132179d2f4536a58d463dbe5
7
- data.tar.gz: eee77db51b1ca73fd40e21dde7c2da45d1c63111aed968d3dd7603a80ce16835c94e96291230aca895bc29136183dea26991ae70614a61a48c3e8fbd4e77fe32
6
+ metadata.gz: b1d12e1f6b0cbd493933205902967cf6d72598da8dd20f182952f9c335818404cdd751a6a6ff1b202d917a2d42b1aa1e1eeef7108cf176cdb0e639019f7e2511
7
+ data.tar.gz: d678c737381facb26e37a11a4555d9c380e99b1a5a6747a4634e1acf4ebf07b3ec56b3ed108f6215f8b7e760219bb5756e8ec6b82680c77dd85e33dffe208f94
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.380
1
+ 1.1.381
@@ -11,7 +11,7 @@
11
11
  "remote_home_path": "/home/user1",
12
12
  "name": "My Remote server",
13
13
  "port": 1,
14
- "buffer_uploads_always": true,
14
+ "buffer_uploads": "example",
15
15
  "max_connections": 1,
16
16
  "pin_to_site_region": true,
17
17
  "pinned_region": "us-east-1",
@@ -70,7 +70,7 @@
70
70
  * `remote_home_path` (string): Initial home folder on remote server
71
71
  * `name` (string): Internal name for your reference
72
72
  * `port` (int64): Port for remote server. Not needed for S3.
73
- * `buffer_uploads_always` (boolean): If true, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com.
73
+ * `buffer_uploads` (string): If set to always, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com. If set to auto, we will perform this optimization if we believe it to be a benefit in a given situation.
74
74
  * `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
75
75
  * `pin_to_site_region` (boolean): If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a site-wide setting which will force it to true.
76
76
  * `pinned_region` (string): If set, all communications with this remote server are made through the provided region.
@@ -200,7 +200,7 @@ Files::RemoteServer.create(
200
200
  azure_files_storage_share_name: "share-name",
201
201
  backblaze_b2_bucket: "my-bucket",
202
202
  backblaze_b2_s3_endpoint: "s3.us-west-001.backblazeb2.com",
203
- buffer_uploads_always: true,
203
+ buffer_uploads: "example",
204
204
  cloudflare_access_key: "example",
205
205
  cloudflare_bucket: "my-bucket",
206
206
  cloudflare_endpoint: "https://<ACCOUNT_ID>.r2.cloudflarestorage.com",
@@ -271,7 +271,7 @@ Files::RemoteServer.create(
271
271
  * `azure_files_storage_share_name` (string): Azure Files: Storage Share name
272
272
  * `backblaze_b2_bucket` (string): Backblaze B2 Cloud Storage: Bucket name
273
273
  * `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage: S3 Endpoint
274
- * `buffer_uploads_always` (boolean): If true, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com.
274
+ * `buffer_uploads` (string): If set to always, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com. If set to auto, we will perform this optimization if we believe it to be a benefit in a given situation.
275
275
  * `cloudflare_access_key` (string): Cloudflare: Access Key.
276
276
  * `cloudflare_bucket` (string): Cloudflare: Bucket name
277
277
  * `cloudflare_endpoint` (string): Cloudflare: endpoint
@@ -363,7 +363,7 @@ Files::RemoteServer.update(id,
363
363
  azure_files_storage_share_name: "share-name",
364
364
  backblaze_b2_bucket: "my-bucket",
365
365
  backblaze_b2_s3_endpoint: "s3.us-west-001.backblazeb2.com",
366
- buffer_uploads_always: true,
366
+ buffer_uploads: "example",
367
367
  cloudflare_access_key: "example",
368
368
  cloudflare_bucket: "my-bucket",
369
369
  cloudflare_endpoint: "https://<ACCOUNT_ID>.r2.cloudflarestorage.com",
@@ -435,7 +435,7 @@ Files::RemoteServer.update(id,
435
435
  * `azure_files_storage_share_name` (string): Azure Files: Storage Share name
436
436
  * `backblaze_b2_bucket` (string): Backblaze B2 Cloud Storage: Bucket name
437
437
  * `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage: S3 Endpoint
438
- * `buffer_uploads_always` (boolean): If true, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com.
438
+ * `buffer_uploads` (string): If set to always, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com. If set to auto, we will perform this optimization if we believe it to be a benefit in a given situation.
439
439
  * `cloudflare_access_key` (string): Cloudflare: Access Key.
440
440
  * `cloudflare_bucket` (string): Cloudflare: Bucket name
441
441
  * `cloudflare_endpoint` (string): Cloudflare: endpoint
@@ -544,7 +544,7 @@ remote_server.update(
544
544
  azure_files_storage_share_name: "share-name",
545
545
  backblaze_b2_bucket: "my-bucket",
546
546
  backblaze_b2_s3_endpoint: "s3.us-west-001.backblazeb2.com",
547
- buffer_uploads_always: true,
547
+ buffer_uploads: "example",
548
548
  cloudflare_access_key: "example",
549
549
  cloudflare_bucket: "my-bucket",
550
550
  cloudflare_endpoint: "https://<ACCOUNT_ID>.r2.cloudflarestorage.com",
@@ -616,7 +616,7 @@ remote_server.update(
616
616
  * `azure_files_storage_share_name` (string): Azure Files: Storage Share name
617
617
  * `backblaze_b2_bucket` (string): Backblaze B2 Cloud Storage: Bucket name
618
618
  * `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage: S3 Endpoint
619
- * `buffer_uploads_always` (boolean): If true, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com.
619
+ * `buffer_uploads` (string): If set to always, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com. If set to auto, we will perform this optimization if we believe it to be a benefit in a given situation.
620
620
  * `cloudflare_access_key` (string): Cloudflare: Access Key.
621
621
  * `cloudflare_bucket` (string): Cloudflare: Bucket name
622
622
  * `cloudflare_endpoint` (string): Cloudflare: endpoint
@@ -72,13 +72,13 @@ module Files
72
72
  @attributes[:port] = value
73
73
  end
74
74
 
75
- # boolean - If true, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com.
76
- def buffer_uploads_always
77
- @attributes[:buffer_uploads_always]
75
+ # string - If set to always, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com. If set to auto, we will perform this optimization if we believe it to be a benefit in a given situation.
76
+ def buffer_uploads
77
+ @attributes[:buffer_uploads]
78
78
  end
79
79
 
80
- def buffer_uploads_always=(value)
81
- @attributes[:buffer_uploads_always] = value
80
+ def buffer_uploads=(value)
81
+ @attributes[:buffer_uploads] = value
82
82
  end
83
83
 
84
84
  # int64 - Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
@@ -749,7 +749,7 @@ module Files
749
749
  # azure_files_storage_share_name - string - Azure Files: Storage Share name
750
750
  # backblaze_b2_bucket - string - Backblaze B2 Cloud Storage: Bucket name
751
751
  # backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage: S3 Endpoint
752
- # buffer_uploads_always - boolean - If true, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com.
752
+ # buffer_uploads - string - If set to always, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com. If set to auto, we will perform this optimization if we believe it to be a benefit in a given situation.
753
753
  # cloudflare_access_key - string - Cloudflare: Access Key.
754
754
  # cloudflare_bucket - string - Cloudflare: Bucket name
755
755
  # cloudflare_endpoint - string - Cloudflare: endpoint
@@ -818,6 +818,7 @@ module Files
818
818
  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)
819
819
  raise InvalidParameterError.new("Bad parameter: backblaze_b2_bucket must be an String") if params[:backblaze_b2_bucket] and !params[:backblaze_b2_bucket].is_a?(String)
820
820
  raise InvalidParameterError.new("Bad parameter: backblaze_b2_s3_endpoint must be an String") if params[:backblaze_b2_s3_endpoint] and !params[:backblaze_b2_s3_endpoint].is_a?(String)
821
+ raise InvalidParameterError.new("Bad parameter: buffer_uploads must be an String") if params[:buffer_uploads] and !params[:buffer_uploads].is_a?(String)
821
822
  raise InvalidParameterError.new("Bad parameter: cloudflare_access_key must be an String") if params[:cloudflare_access_key] and !params[:cloudflare_access_key].is_a?(String)
822
823
  raise InvalidParameterError.new("Bad parameter: cloudflare_bucket must be an String") if params[:cloudflare_bucket] and !params[:cloudflare_bucket].is_a?(String)
823
824
  raise InvalidParameterError.new("Bad parameter: cloudflare_endpoint must be an String") if params[:cloudflare_endpoint] and !params[:cloudflare_endpoint].is_a?(String)
@@ -962,7 +963,7 @@ module Files
962
963
  # azure_files_storage_share_name - string - Azure Files: Storage Share name
963
964
  # backblaze_b2_bucket - string - Backblaze B2 Cloud Storage: Bucket name
964
965
  # backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage: S3 Endpoint
965
- # buffer_uploads_always - boolean - If true, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com.
966
+ # buffer_uploads - string - If set to always, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com. If set to auto, we will perform this optimization if we believe it to be a benefit in a given situation.
966
967
  # cloudflare_access_key - string - Cloudflare: Access Key.
967
968
  # cloudflare_bucket - string - Cloudflare: Bucket name
968
969
  # cloudflare_endpoint - string - Cloudflare: endpoint
@@ -1027,6 +1028,7 @@ module Files
1027
1028
  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)
1028
1029
  raise InvalidParameterError.new("Bad parameter: backblaze_b2_bucket must be an String") if params[:backblaze_b2_bucket] and !params[:backblaze_b2_bucket].is_a?(String)
1029
1030
  raise InvalidParameterError.new("Bad parameter: backblaze_b2_s3_endpoint must be an String") if params[:backblaze_b2_s3_endpoint] and !params[:backblaze_b2_s3_endpoint].is_a?(String)
1031
+ raise InvalidParameterError.new("Bad parameter: buffer_uploads must be an String") if params[:buffer_uploads] and !params[:buffer_uploads].is_a?(String)
1030
1032
  raise InvalidParameterError.new("Bad parameter: cloudflare_access_key must be an String") if params[:cloudflare_access_key] and !params[:cloudflare_access_key].is_a?(String)
1031
1033
  raise InvalidParameterError.new("Bad parameter: cloudflare_bucket must be an String") if params[:cloudflare_bucket] and !params[:cloudflare_bucket].is_a?(String)
1032
1034
  raise InvalidParameterError.new("Bad parameter: cloudflare_endpoint must be an String") if params[:cloudflare_endpoint] and !params[:cloudflare_endpoint].is_a?(String)
@@ -1130,7 +1132,7 @@ module Files
1130
1132
  # azure_files_storage_share_name - string - Azure Files: Storage Share name
1131
1133
  # backblaze_b2_bucket - string - Backblaze B2 Cloud Storage: Bucket name
1132
1134
  # backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage: S3 Endpoint
1133
- # buffer_uploads_always - boolean - If true, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com.
1135
+ # buffer_uploads - string - If set to always, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com. If set to auto, we will perform this optimization if we believe it to be a benefit in a given situation.
1134
1136
  # cloudflare_access_key - string - Cloudflare: Access Key.
1135
1137
  # cloudflare_bucket - string - Cloudflare: Bucket name
1136
1138
  # cloudflare_endpoint - string - Cloudflare: endpoint
@@ -1198,6 +1200,7 @@ module Files
1198
1200
  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)
1199
1201
  raise InvalidParameterError.new("Bad parameter: backblaze_b2_bucket must be an String") if params[:backblaze_b2_bucket] and !params[:backblaze_b2_bucket].is_a?(String)
1200
1202
  raise InvalidParameterError.new("Bad parameter: backblaze_b2_s3_endpoint must be an String") if params[:backblaze_b2_s3_endpoint] and !params[:backblaze_b2_s3_endpoint].is_a?(String)
1203
+ raise InvalidParameterError.new("Bad parameter: buffer_uploads must be an String") if params[:buffer_uploads] and !params[:buffer_uploads].is_a?(String)
1201
1204
  raise InvalidParameterError.new("Bad parameter: cloudflare_access_key must be an String") if params[:cloudflare_access_key] and !params[:cloudflare_access_key].is_a?(String)
1202
1205
  raise InvalidParameterError.new("Bad parameter: cloudflare_bucket must be an String") if params[:cloudflare_bucket] and !params[:cloudflare_bucket].is_a?(String)
1203
1206
  raise InvalidParameterError.new("Bad parameter: cloudflare_endpoint must be an String") if params[:cloudflare_endpoint] and !params[:cloudflare_endpoint].is_a?(String)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.380"
4
+ VERSION = "1.1.381"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.380
4
+ version: 1.1.381
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com