files.com 1.0.242 → 1.0.243
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 +9 -6
- data/lib/files.com/models/remote_server.rb +30 -30
- 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: 2699e5d29d8fbc8f8e36ffb1925aea9e40c6c3acc6ba164d1463f84410854337
|
4
|
+
data.tar.gz: bfd8ad8a40ecdf81a272651ff963f966e02d5dc84c1bb6cb81e1f7a364e25d8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14c7b50256f82fa726b4c5aee0c7f33daf079a6fefc4b2408c76c8dc4d171cd43b344d37b6cbdabdaafebb0b0730e5304629eb9218075686068c3042e20e155c
|
7
|
+
data.tar.gz: d55aeb41bc9c650f895a5a8a165b9b0facf1c9fe9872a24e8028d8ec714a5b903651a1aceddface8cc7e5922c76bfaf5430e06c2b8179f02a7767fd1576510c0
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.243
|
data/docs/remote_server.md
CHANGED
@@ -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,7 @@
|
|
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_access_key": "",
|
39
42
|
"enable_dedicated_ips": true
|
40
43
|
}
|
41
44
|
```
|
@@ -50,6 +53,7 @@
|
|
50
53
|
* `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
|
51
54
|
* `s3_bucket` (string): S3 bucket name
|
52
55
|
* `s3_region` (string): S3 region
|
56
|
+
* `aws_access_key` (string): AWS Access Key.
|
53
57
|
* `server_certificate` (string): Remote server certificate
|
54
58
|
* `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
59
|
* `server_type` (string): Remote server type.
|
@@ -61,6 +65,7 @@
|
|
61
65
|
* `backblaze_b2_bucket` (string): Backblaze B2 Cloud Storage Bucket name
|
62
66
|
* `wasabi_bucket` (string): Wasabi Bucket name
|
63
67
|
* `wasabi_region` (string): Wasabi region
|
68
|
+
* `wasabi_access_key` (string): Wasabi access key.
|
64
69
|
* `rackspace_username` (string): Rackspace username used to login to the Rackspace Cloud Control Panel.
|
65
70
|
* `rackspace_region` (string): Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
66
71
|
* `rackspace_container` (string): The name of the container (top level directory) where files will sync.
|
@@ -72,21 +77,19 @@
|
|
72
77
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
73
78
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
74
79
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
80
|
+
* `s3_compatible_access_key` (string): S3-compatible Access Key.
|
75
81
|
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
76
|
-
* `aws_access_key` (string): AWS Access Key.
|
77
82
|
* `aws_secret_key` (string): AWS secret key.
|
78
83
|
* `password` (string): Password if needed.
|
79
84
|
* `private_key` (string): Private key if needed.
|
80
85
|
* `ssl_certificate` (string): SSL client certificate.
|
81
86
|
* `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
87
|
* `wasabi_secret_key` (string): Wasabi secret key.
|
84
88
|
* `backblaze_b2_key_id` (string): Backblaze B2 Cloud Storage keyID.
|
85
89
|
* `backblaze_b2_application_key` (string): Backblaze B2 Cloud Storage applicationKey.
|
86
90
|
* `rackspace_api_key` (string): Rackspace API key from the Rackspace Cloud Control Panel.
|
87
91
|
* `reset_authentication` (boolean): Reset authenticated account
|
88
92
|
* `azure_blob_storage_access_key` (string): Azure Blob Storage secret key.
|
89
|
-
* `s3_compatible_access_key` (string): S3-compatible access key
|
90
93
|
* `s3_compatible_secret_key` (string): S3-compatible secret key
|
91
94
|
|
92
95
|
|
@@ -196,7 +199,7 @@ Files::RemoteServer.create(
|
|
196
199
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
197
200
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
198
201
|
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
199
|
-
* `s3_compatible_access_key` (string): S3-compatible
|
202
|
+
* `s3_compatible_access_key` (string): S3-compatible Access Key.
|
200
203
|
* `s3_compatible_secret_key` (string): S3-compatible secret key
|
201
204
|
|
202
205
|
|
@@ -278,7 +281,7 @@ Files::RemoteServer.update(id,
|
|
278
281
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
279
282
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
280
283
|
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
281
|
-
* `s3_compatible_access_key` (string): S3-compatible
|
284
|
+
* `s3_compatible_access_key` (string): S3-compatible Access Key.
|
282
285
|
* `s3_compatible_secret_key` (string): S3-compatible secret key
|
283
286
|
|
284
287
|
|
@@ -375,7 +378,7 @@ remote_server.update(
|
|
375
378
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
376
379
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
377
380
|
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
378
|
-
* `s3_compatible_access_key` (string): S3-compatible
|
381
|
+
* `s3_compatible_access_key` (string): S3-compatible Access Key.
|
379
382
|
* `s3_compatible_secret_key` (string): S3-compatible secret key
|
380
383
|
|
381
384
|
|
@@ -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,15 @@ module Files
|
|
297
315
|
@attributes[:s3_compatible_endpoint] = value
|
298
316
|
end
|
299
317
|
|
318
|
+
# string - S3-compatible Access Key.
|
319
|
+
def s3_compatible_access_key
|
320
|
+
@attributes[:s3_compatible_access_key]
|
321
|
+
end
|
322
|
+
|
323
|
+
def s3_compatible_access_key=(value)
|
324
|
+
@attributes[:s3_compatible_access_key] = value
|
325
|
+
end
|
326
|
+
|
300
327
|
# boolean - `true` if remote server only accepts connections from dedicated IPs
|
301
328
|
def enable_dedicated_ips
|
302
329
|
@attributes[:enable_dedicated_ips]
|
@@ -306,15 +333,6 @@ module Files
|
|
306
333
|
@attributes[:enable_dedicated_ips] = value
|
307
334
|
end
|
308
335
|
|
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
336
|
# string - AWS secret key.
|
319
337
|
def aws_secret_key
|
320
338
|
@attributes[:aws_secret_key]
|
@@ -360,15 +378,6 @@ module Files
|
|
360
378
|
@attributes[:google_cloud_storage_credentials_json] = value
|
361
379
|
end
|
362
380
|
|
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
381
|
# string - Wasabi secret key.
|
373
382
|
def wasabi_secret_key
|
374
383
|
@attributes[:wasabi_secret_key]
|
@@ -423,15 +432,6 @@ module Files
|
|
423
432
|
@attributes[:azure_blob_storage_access_key] = value
|
424
433
|
end
|
425
434
|
|
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
435
|
# string - S3-compatible secret key
|
436
436
|
def s3_compatible_secret_key
|
437
437
|
@attributes[:s3_compatible_secret_key]
|
@@ -481,7 +481,7 @@ module Files
|
|
481
481
|
# s3_compatible_bucket - string - S3-compatible Bucket name
|
482
482
|
# s3_compatible_endpoint - string - S3-compatible endpoint
|
483
483
|
# enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
|
484
|
-
# s3_compatible_access_key - string - S3-compatible
|
484
|
+
# s3_compatible_access_key - string - S3-compatible Access Key.
|
485
485
|
# s3_compatible_secret_key - string - S3-compatible secret key
|
486
486
|
def update(params = {})
|
487
487
|
params ||= {}
|
@@ -627,7 +627,7 @@ module Files
|
|
627
627
|
# s3_compatible_bucket - string - S3-compatible Bucket name
|
628
628
|
# s3_compatible_endpoint - string - S3-compatible endpoint
|
629
629
|
# enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
|
630
|
-
# s3_compatible_access_key - string - S3-compatible
|
630
|
+
# s3_compatible_access_key - string - S3-compatible Access Key.
|
631
631
|
# s3_compatible_secret_key - string - S3-compatible secret key
|
632
632
|
def self.create(params = {}, options = {})
|
633
633
|
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)
|
@@ -714,7 +714,7 @@ module Files
|
|
714
714
|
# s3_compatible_bucket - string - S3-compatible Bucket name
|
715
715
|
# s3_compatible_endpoint - string - S3-compatible endpoint
|
716
716
|
# enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
|
717
|
-
# s3_compatible_access_key - string - S3-compatible
|
717
|
+
# s3_compatible_access_key - string - S3-compatible Access Key.
|
718
718
|
# s3_compatible_secret_key - string - S3-compatible secret key
|
719
719
|
def self.update(id, params = {}, options = {})
|
720
720
|
params ||= {}
|
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.243
|
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-
|
11
|
+
date: 2022-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|