files.com 1.0.242 → 1.0.245

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f81993b4991a882495c913dfd5c0796baf56c7ce76d096eecb419019b63f3355
4
- data.tar.gz: 69ee9f77623b066290da7637d8808a8073fd25355d373c111b9e18e4d78efd89
3
+ metadata.gz: 4e51ac49211c7ec86182f0dfa3feefcc1de4063ded9d7a419f70b284c5120bed
4
+ data.tar.gz: d0121f52bddbcbda81319f0f9318b7fe93d7ab76d3b59c732ebd0cc2307aac8f
5
5
  SHA512:
6
- metadata.gz: d60b367ca44d880798f8a1e66fc61dd587a1b23a8a2b9a5136875e1fd35744b6d3d8984b7c7ff14542711b6ae33613e9af5b90c2cd83537fda9758a1994fd839
7
- data.tar.gz: baecae6c0025df413e990a3a7b97550fdaf1f9cb67f01bb9f5926ac14c3c4083ed7bc70c29b15b376d0116967e70f4de6a1ca09d7db0ade5f3b0092b2896ee8d
6
+ metadata.gz: 46313c75ba8fa5cadab91119344d1aee3a1e8c9a7fc6b9e4160227a54cf0a58d1ed5a0cdf287874b1a15d2dd04a1a1595fff585e9be253e55de0d72369d69a51
7
+ data.tar.gz: a39420c7ac1802edfdc07e7d4d9a92e5b91f36bedb92800f5cbff1418111a3d97c23631c8803bb8385bfde87ed4589f900622f1df62878c1cadc0e710aca33b8
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.242
1
+ 1.0.245
@@ -14,6 +14,7 @@
14
14
  "max_connections": 1,
15
15
  "s3_bucket": "my-bucket",
16
16
  "s3_region": "us-east-1",
17
+ "aws_access_key": "",
17
18
  "server_certificate": "require_match",
18
19
  "server_host_key": "[public key]",
19
20
  "server_type": "s3",
@@ -25,6 +26,7 @@
25
26
  "backblaze_b2_bucket": "my-bucket",
26
27
  "wasabi_bucket": "my-bucket",
27
28
  "wasabi_region": "us-west-1",
29
+ "wasabi_access_key": "",
28
30
  "rackspace_username": "rackspaceuser",
29
31
  "rackspace_region": "dfw",
30
32
  "rackspace_container": "my-container",
@@ -36,6 +38,8 @@
36
38
  "azure_blob_storage_container": "container-name",
37
39
  "s3_compatible_bucket": "my-bucket",
38
40
  "s3_compatible_endpoint": "mys3platform.com",
41
+ "s3_compatible_region": "us-east-1",
42
+ "s3_compatible_access_key": "",
39
43
  "enable_dedicated_ips": true
40
44
  }
41
45
  ```
@@ -50,6 +54,7 @@
50
54
  * `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
51
55
  * `s3_bucket` (string): S3 bucket name
52
56
  * `s3_region` (string): S3 region
57
+ * `aws_access_key` (string): AWS Access Key.
53
58
  * `server_certificate` (string): Remote server certificate
54
59
  * `server_host_key` (string): Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
55
60
  * `server_type` (string): Remote server type.
@@ -61,6 +66,7 @@
61
66
  * `backblaze_b2_bucket` (string): Backblaze B2 Cloud Storage Bucket name
62
67
  * `wasabi_bucket` (string): Wasabi Bucket name
63
68
  * `wasabi_region` (string): Wasabi region
69
+ * `wasabi_access_key` (string): Wasabi access key.
64
70
  * `rackspace_username` (string): Rackspace username used to login to the Rackspace Cloud Control Panel.
65
71
  * `rackspace_region` (string): Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
66
72
  * `rackspace_container` (string): The name of the container (top level directory) where files will sync.
@@ -72,21 +78,20 @@
72
78
  * `azure_blob_storage_container` (string): Azure Blob Storage Container name
73
79
  * `s3_compatible_bucket` (string): S3-compatible Bucket name
74
80
  * `s3_compatible_endpoint` (string): S3-compatible endpoint
81
+ * `s3_compatible_region` (string): S3-compatible endpoint
82
+ * `s3_compatible_access_key` (string): S3-compatible Access Key.
75
83
  * `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
76
- * `aws_access_key` (string): AWS Access Key.
77
84
  * `aws_secret_key` (string): AWS secret key.
78
85
  * `password` (string): Password if needed.
79
86
  * `private_key` (string): Private key if needed.
80
87
  * `ssl_certificate` (string): SSL client certificate.
81
88
  * `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
82
- * `wasabi_access_key` (string): Wasabi access key.
83
89
  * `wasabi_secret_key` (string): Wasabi secret key.
84
90
  * `backblaze_b2_key_id` (string): Backblaze B2 Cloud Storage keyID.
85
91
  * `backblaze_b2_application_key` (string): Backblaze B2 Cloud Storage applicationKey.
86
92
  * `rackspace_api_key` (string): Rackspace API key from the Rackspace Cloud Control Panel.
87
93
  * `reset_authentication` (boolean): Reset authenticated account
88
94
  * `azure_blob_storage_access_key` (string): Azure Blob Storage secret key.
89
- * `s3_compatible_access_key` (string): S3-compatible access key
90
95
  * `s3_compatible_secret_key` (string): S3-compatible secret key
91
96
 
92
97
 
@@ -151,6 +156,7 @@ Files::RemoteServer.create(
151
156
  azure_blob_storage_container: "container-name",
152
157
  s3_compatible_bucket: "my-bucket",
153
158
  s3_compatible_endpoint: "mys3platform.com",
159
+ s3_compatible_region: "us-east-1",
154
160
  enable_dedicated_ips: true
155
161
  )
156
162
  ```
@@ -195,8 +201,9 @@ Files::RemoteServer.create(
195
201
  * `azure_blob_storage_container` (string): Azure Blob Storage Container name
196
202
  * `s3_compatible_bucket` (string): S3-compatible Bucket name
197
203
  * `s3_compatible_endpoint` (string): S3-compatible endpoint
204
+ * `s3_compatible_region` (string): S3-compatible endpoint
198
205
  * `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
199
- * `s3_compatible_access_key` (string): S3-compatible access key
206
+ * `s3_compatible_access_key` (string): S3-compatible Access Key.
200
207
  * `s3_compatible_secret_key` (string): S3-compatible secret key
201
208
 
202
209
 
@@ -232,6 +239,7 @@ Files::RemoteServer.update(id,
232
239
  azure_blob_storage_container: "container-name",
233
240
  s3_compatible_bucket: "my-bucket",
234
241
  s3_compatible_endpoint: "mys3platform.com",
242
+ s3_compatible_region: "us-east-1",
235
243
  enable_dedicated_ips: true
236
244
  )
237
245
  ```
@@ -277,8 +285,9 @@ Files::RemoteServer.update(id,
277
285
  * `azure_blob_storage_container` (string): Azure Blob Storage Container name
278
286
  * `s3_compatible_bucket` (string): S3-compatible Bucket name
279
287
  * `s3_compatible_endpoint` (string): S3-compatible endpoint
288
+ * `s3_compatible_region` (string): S3-compatible endpoint
280
289
  * `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
281
- * `s3_compatible_access_key` (string): S3-compatible access key
290
+ * `s3_compatible_access_key` (string): S3-compatible Access Key.
282
291
  * `s3_compatible_secret_key` (string): S3-compatible secret key
283
292
 
284
293
 
@@ -329,6 +338,7 @@ remote_server.update(
329
338
  azure_blob_storage_container: "container-name",
330
339
  s3_compatible_bucket: "my-bucket",
331
340
  s3_compatible_endpoint: "mys3platform.com",
341
+ s3_compatible_region: "us-east-1",
332
342
  enable_dedicated_ips: true
333
343
  )
334
344
  ```
@@ -374,8 +384,9 @@ remote_server.update(
374
384
  * `azure_blob_storage_container` (string): Azure Blob Storage Container name
375
385
  * `s3_compatible_bucket` (string): S3-compatible Bucket name
376
386
  * `s3_compatible_endpoint` (string): S3-compatible endpoint
387
+ * `s3_compatible_region` (string): S3-compatible endpoint
377
388
  * `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
378
- * `s3_compatible_access_key` (string): S3-compatible access key
389
+ * `s3_compatible_access_key` (string): S3-compatible Access Key.
379
390
  * `s3_compatible_secret_key` (string): S3-compatible secret key
380
391
 
381
392
 
@@ -169,6 +169,8 @@ module Files
169
169
  class FileLockedError < ProcessingFailureError; end
170
170
  class FileNotUploadedError < ProcessingFailureError; end
171
171
  class FilePendingProcessingError < ProcessingFailureError; end
172
+ class FileTooBigToDecryptError < ProcessingFailureError; end
173
+ class FileTooBigToEncryptError < ProcessingFailureError; end
172
174
  class FileUploadedToWrongRegionError < ProcessingFailureError; end
173
175
  class FolderLockedError < ProcessingFailureError; end
174
176
  class FolderNotEmptyError < ProcessingFailureError; end
@@ -99,6 +99,15 @@ module Files
99
99
  @attributes[:s3_region] = value
100
100
  end
101
101
 
102
+ # string - AWS Access Key.
103
+ def aws_access_key
104
+ @attributes[:aws_access_key]
105
+ end
106
+
107
+ def aws_access_key=(value)
108
+ @attributes[:aws_access_key] = value
109
+ end
110
+
102
111
  # string - Remote server certificate
103
112
  def server_certificate
104
113
  @attributes[:server_certificate]
@@ -198,6 +207,15 @@ module Files
198
207
  @attributes[:wasabi_region] = value
199
208
  end
200
209
 
210
+ # string - Wasabi access key.
211
+ def wasabi_access_key
212
+ @attributes[:wasabi_access_key]
213
+ end
214
+
215
+ def wasabi_access_key=(value)
216
+ @attributes[:wasabi_access_key] = value
217
+ end
218
+
201
219
  # string - Rackspace username used to login to the Rackspace Cloud Control Panel.
202
220
  def rackspace_username
203
221
  @attributes[:rackspace_username]
@@ -297,6 +315,24 @@ module Files
297
315
  @attributes[:s3_compatible_endpoint] = value
298
316
  end
299
317
 
318
+ # string - S3-compatible endpoint
319
+ def s3_compatible_region
320
+ @attributes[:s3_compatible_region]
321
+ end
322
+
323
+ def s3_compatible_region=(value)
324
+ @attributes[:s3_compatible_region] = value
325
+ end
326
+
327
+ # string - S3-compatible Access Key.
328
+ def s3_compatible_access_key
329
+ @attributes[:s3_compatible_access_key]
330
+ end
331
+
332
+ def s3_compatible_access_key=(value)
333
+ @attributes[:s3_compatible_access_key] = value
334
+ end
335
+
300
336
  # boolean - `true` if remote server only accepts connections from dedicated IPs
301
337
  def enable_dedicated_ips
302
338
  @attributes[:enable_dedicated_ips]
@@ -306,15 +342,6 @@ module Files
306
342
  @attributes[:enable_dedicated_ips] = value
307
343
  end
308
344
 
309
- # string - AWS Access Key.
310
- def aws_access_key
311
- @attributes[:aws_access_key]
312
- end
313
-
314
- def aws_access_key=(value)
315
- @attributes[:aws_access_key] = value
316
- end
317
-
318
345
  # string - AWS secret key.
319
346
  def aws_secret_key
320
347
  @attributes[:aws_secret_key]
@@ -360,15 +387,6 @@ module Files
360
387
  @attributes[:google_cloud_storage_credentials_json] = value
361
388
  end
362
389
 
363
- # string - Wasabi access key.
364
- def wasabi_access_key
365
- @attributes[:wasabi_access_key]
366
- end
367
-
368
- def wasabi_access_key=(value)
369
- @attributes[:wasabi_access_key] = value
370
- end
371
-
372
390
  # string - Wasabi secret key.
373
391
  def wasabi_secret_key
374
392
  @attributes[:wasabi_secret_key]
@@ -423,15 +441,6 @@ module Files
423
441
  @attributes[:azure_blob_storage_access_key] = value
424
442
  end
425
443
 
426
- # string - S3-compatible access key
427
- def s3_compatible_access_key
428
- @attributes[:s3_compatible_access_key]
429
- end
430
-
431
- def s3_compatible_access_key=(value)
432
- @attributes[:s3_compatible_access_key] = value
433
- end
434
-
435
444
  # string - S3-compatible secret key
436
445
  def s3_compatible_secret_key
437
446
  @attributes[:s3_compatible_secret_key]
@@ -480,8 +489,9 @@ module Files
480
489
  # azure_blob_storage_container - string - Azure Blob Storage Container name
481
490
  # s3_compatible_bucket - string - S3-compatible Bucket name
482
491
  # s3_compatible_endpoint - string - S3-compatible endpoint
492
+ # s3_compatible_region - string - S3-compatible endpoint
483
493
  # enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
484
- # s3_compatible_access_key - string - S3-compatible access key
494
+ # s3_compatible_access_key - string - S3-compatible Access Key.
485
495
  # s3_compatible_secret_key - string - S3-compatible secret key
486
496
  def update(params = {})
487
497
  params ||= {}
@@ -525,6 +535,7 @@ module Files
525
535
  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)
526
536
  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)
527
537
  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)
538
+ 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)
528
539
  raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params.dig(:s3_compatible_access_key) and !params.dig(:s3_compatible_access_key).is_a?(String)
529
540
  raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params.dig(:s3_compatible_secret_key) and !params.dig(:s3_compatible_secret_key).is_a?(String)
530
541
  raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
@@ -626,8 +637,9 @@ module Files
626
637
  # azure_blob_storage_container - string - Azure Blob Storage Container name
627
638
  # s3_compatible_bucket - string - S3-compatible Bucket name
628
639
  # s3_compatible_endpoint - string - S3-compatible endpoint
640
+ # s3_compatible_region - string - S3-compatible endpoint
629
641
  # enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
630
- # s3_compatible_access_key - string - S3-compatible access key
642
+ # s3_compatible_access_key - string - S3-compatible Access Key.
631
643
  # s3_compatible_secret_key - string - S3-compatible secret key
632
644
  def self.create(params = {}, options = {})
633
645
  raise InvalidParameterError.new("Bad parameter: aws_access_key must be an String") if params.dig(:aws_access_key) and !params.dig(:aws_access_key).is_a?(String)
@@ -667,6 +679,7 @@ module Files
667
679
  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)
668
680
  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)
669
681
  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)
682
+ 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)
670
683
  raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params.dig(:s3_compatible_access_key) and !params.dig(:s3_compatible_access_key).is_a?(String)
671
684
  raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params.dig(:s3_compatible_secret_key) and !params.dig(:s3_compatible_secret_key).is_a?(String)
672
685
 
@@ -713,8 +726,9 @@ module Files
713
726
  # azure_blob_storage_container - string - Azure Blob Storage Container name
714
727
  # s3_compatible_bucket - string - S3-compatible Bucket name
715
728
  # s3_compatible_endpoint - string - S3-compatible endpoint
729
+ # s3_compatible_region - string - S3-compatible endpoint
716
730
  # enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
717
- # s3_compatible_access_key - string - S3-compatible access key
731
+ # s3_compatible_access_key - string - S3-compatible Access Key.
718
732
  # s3_compatible_secret_key - string - S3-compatible secret key
719
733
  def self.update(id, params = {}, options = {})
720
734
  params ||= {}
@@ -757,6 +771,7 @@ module Files
757
771
  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)
758
772
  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)
759
773
  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)
774
+ 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)
760
775
  raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params.dig(:s3_compatible_access_key) and !params.dig(:s3_compatible_access_key).is_a?(String)
761
776
  raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params.dig(:s3_compatible_secret_key) and !params.dig(:s3_compatible_secret_key).is_a?(String)
762
777
  raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
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.242
4
+ version: 1.0.245
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-02-08 00:00:00.000000000 Z
11
+ date: 2022-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable