files.com 1.0.17 → 1.0.18
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 +2 -0
- data/lib/files.com/models/remote_server.rb +9 -0
- 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: 7a7c6d343dff817b2aff83cf4880273792e3ef69f5dd408279e5c903af3cccef
|
4
|
+
data.tar.gz: 15f626faf8002b26a2b654849c37b2d468b537ecbf5a3b9dc6e7b369192c85d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 823798f23120828e1fc65240d3e6590d2d4bd30388e3345169bfe39a4fc4106d9110dcbd1c7a660b2cfb9702ae6dc2a944cb711911a1b8db853d342aa294fab4
|
7
|
+
data.tar.gz: ed7c4035702f85e9b51c8a79a708c3121cb292f3512a5ac46fb583caf6587cb3a792fbe0ad99f812d1123e222c1adb7b6c488fbb56f561744ff394e36dc601c5
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.18
|
data/docs/remote_server.md
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
```
|
6
6
|
{
|
7
7
|
"id": 1,
|
8
|
+
"authentication_method": "password",
|
8
9
|
"hostname": "remote-server.com",
|
9
10
|
"name": "My Remote server",
|
10
11
|
"port": 1,
|
@@ -18,6 +19,7 @@
|
|
18
19
|
```
|
19
20
|
|
20
21
|
* `id` (int64): Remote server ID
|
22
|
+
* `authentication_method` (string): Type of authentication method
|
21
23
|
* `hostname` (string): Hostname or IP address
|
22
24
|
* `name` (string): Internal name for your reference
|
23
25
|
* `port` (int64): Port for remote server. Not needed for S3.
|
@@ -18,6 +18,15 @@ module Files
|
|
18
18
|
@attributes[:id] = value
|
19
19
|
end
|
20
20
|
|
21
|
+
# string - Type of authentication method
|
22
|
+
def authentication_method
|
23
|
+
@attributes[:authentication_method]
|
24
|
+
end
|
25
|
+
|
26
|
+
def authentication_method=(value)
|
27
|
+
@attributes[:authentication_method] = value
|
28
|
+
end
|
29
|
+
|
21
30
|
# string - Hostname or IP address
|
22
31
|
def hostname
|
23
32
|
@attributes[:hostname]
|
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.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01
|
11
|
+
date: 2020-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|