files.com 1.0.187 → 1.0.188

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: 4d5bb31875a4586b91754ab369dcc86a3c2fa37eeddca9dda476087512aed6a1
4
- data.tar.gz: ad6d4e2eca2914934aa18edeca1eeee889e0166b3cc8dd1086aa3a320f070bad
3
+ metadata.gz: db47b741cfc50e2aea2d205d26cc5f21afb704f6bf29afe07493c42f3fbea45e
4
+ data.tar.gz: 776ac82b9f071ff5ac4b488765296fa983fa7adf9fa17fed46c71a39b1473757
5
5
  SHA512:
6
- metadata.gz: 9b514f80a52e9294e7c83ffd9b54ead85793adfb0d6072b1891893c1380beea2c02043208a099f87969fe890a93c4fc90f324d4fbdc27e3927eaa53eeaa7f660
7
- data.tar.gz: 54ef9dde013fa812864094a5aeed693792e719c1fc3288b8ea134504af316bcd5bc737f3a6ef764ffcdee313d3024975bb9a941d5ff1112e7b74d05f423181b1
6
+ metadata.gz: 12ed314df7386470fe521f1c32cd336ca22a14e0def1ca386d620caedec96e57510560b1a483bf05a32e061ecba09c954a65b83a1962a37701bb23f6097747ca
7
+ data.tar.gz: e2964abda930ebde1c594b1e0286309f682147ef410f59524bf12915c67ab72f3e5e32e6fc3c10c4710f8eebb5ff1a47e951e517b3530d6122bd37621ad420bb
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.187
1
+ 1.0.188
@@ -35,7 +35,8 @@
35
35
  "azure_blob_storage_container": "container-name",
36
36
  "s3_compatible_bucket": "my-bucket",
37
37
  "s3_compatible_region": "us-east-1",
38
- "s3_compatible_endpoint": "mys3platform.com"
38
+ "s3_compatible_endpoint": "mys3platform.com",
39
+ "enable_dedicated_ips": true
39
40
  }
40
41
  ```
41
42
 
@@ -71,6 +72,7 @@
71
72
  * `s3_compatible_bucket` (string): S3-compatible Bucket name
72
73
  * `s3_compatible_region` (string): S3-compatible Bucket name
73
74
  * `s3_compatible_endpoint` (string): S3-compatible endpoint
75
+ * `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
74
76
  * `aws_access_key` (string): AWS Access Key.
75
77
  * `aws_secret_key` (string): AWS secret key.
76
78
  * `password` (string): Password if needed.
@@ -149,7 +151,8 @@ Files::RemoteServer.create(
149
151
  azure_blob_storage_container: "container-name",
150
152
  s3_compatible_bucket: "my-bucket",
151
153
  s3_compatible_region: "us-east-1",
152
- s3_compatible_endpoint: "mys3platform.com"
154
+ s3_compatible_endpoint: "mys3platform.com",
155
+ enable_dedicated_ips: true
153
156
  )
154
157
  ```
155
158
 
@@ -194,6 +197,7 @@ Files::RemoteServer.create(
194
197
  * `s3_compatible_bucket` (string): S3-compatible Bucket name
195
198
  * `s3_compatible_region` (string): S3-compatible Bucket name
196
199
  * `s3_compatible_endpoint` (string): S3-compatible endpoint
200
+ * `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
197
201
  * `s3_compatible_access_key` (string): S3-compatible access key
198
202
  * `s3_compatible_secret_key` (string): S3-compatible secret key
199
203
 
@@ -230,7 +234,8 @@ Files::RemoteServer.update(id,
230
234
  azure_blob_storage_container: "container-name",
231
235
  s3_compatible_bucket: "my-bucket",
232
236
  s3_compatible_region: "us-east-1",
233
- s3_compatible_endpoint: "mys3platform.com"
237
+ s3_compatible_endpoint: "mys3platform.com",
238
+ enable_dedicated_ips: true
234
239
  )
235
240
  ```
236
241
 
@@ -276,6 +281,7 @@ Files::RemoteServer.update(id,
276
281
  * `s3_compatible_bucket` (string): S3-compatible Bucket name
277
282
  * `s3_compatible_region` (string): S3-compatible Bucket name
278
283
  * `s3_compatible_endpoint` (string): S3-compatible endpoint
284
+ * `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
279
285
  * `s3_compatible_access_key` (string): S3-compatible access key
280
286
  * `s3_compatible_secret_key` (string): S3-compatible secret key
281
287
 
@@ -327,7 +333,8 @@ remote_server.update(
327
333
  azure_blob_storage_container: "container-name",
328
334
  s3_compatible_bucket: "my-bucket",
329
335
  s3_compatible_region: "us-east-1",
330
- s3_compatible_endpoint: "mys3platform.com"
336
+ s3_compatible_endpoint: "mys3platform.com",
337
+ enable_dedicated_ips: true
331
338
  )
332
339
  ```
333
340
 
@@ -373,6 +380,7 @@ remote_server.update(
373
380
  * `s3_compatible_bucket` (string): S3-compatible Bucket name
374
381
  * `s3_compatible_region` (string): S3-compatible Bucket name
375
382
  * `s3_compatible_endpoint` (string): S3-compatible endpoint
383
+ * `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
376
384
  * `s3_compatible_access_key` (string): S3-compatible access key
377
385
  * `s3_compatible_secret_key` (string): S3-compatible secret key
378
386
 
@@ -297,6 +297,15 @@ module Files
297
297
  @attributes[:s3_compatible_endpoint] = value
298
298
  end
299
299
 
300
+ # boolean - `true` if remote server only accepts connections from dedicated IPs
301
+ def enable_dedicated_ips
302
+ @attributes[:enable_dedicated_ips]
303
+ end
304
+
305
+ def enable_dedicated_ips=(value)
306
+ @attributes[:enable_dedicated_ips] = value
307
+ end
308
+
300
309
  # string - AWS Access Key.
301
310
  def aws_access_key
302
311
  @attributes[:aws_access_key]
@@ -472,6 +481,7 @@ module Files
472
481
  # s3_compatible_bucket - string - S3-compatible Bucket name
473
482
  # s3_compatible_region - string - S3-compatible Bucket name
474
483
  # s3_compatible_endpoint - string - S3-compatible endpoint
484
+ # enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
475
485
  # s3_compatible_access_key - string - S3-compatible access key
476
486
  # s3_compatible_secret_key - string - S3-compatible secret key
477
487
  def update(params = {})
@@ -619,6 +629,7 @@ module Files
619
629
  # s3_compatible_bucket - string - S3-compatible Bucket name
620
630
  # s3_compatible_region - string - S3-compatible Bucket name
621
631
  # s3_compatible_endpoint - string - S3-compatible endpoint
632
+ # enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
622
633
  # s3_compatible_access_key - string - S3-compatible access key
623
634
  # s3_compatible_secret_key - string - S3-compatible secret key
624
635
  def self.create(params = {}, options = {})
@@ -707,6 +718,7 @@ module Files
707
718
  # s3_compatible_bucket - string - S3-compatible Bucket name
708
719
  # s3_compatible_region - string - S3-compatible Bucket name
709
720
  # s3_compatible_endpoint - string - S3-compatible endpoint
721
+ # enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
710
722
  # s3_compatible_access_key - string - S3-compatible access key
711
723
  # s3_compatible_secret_key - string - S3-compatible secret key
712
724
  def self.update(id, params = {}, options = {})
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.187
4
+ version: 1.0.188
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-22 00:00:00.000000000 Z
11
+ date: 2021-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable