files.com 1.1.100 → 1.1.102
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 +3 -1
- data/lib/files.com/list.rb +1 -0
- data/lib/files.com/models/remote_server.rb +9 -0
- data/lib/files.com/version.rb +1 -1
- 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: 236d82a7483161cc5e6a939f5917b2052e16419c8e5fefdbb4d9f573541cf5ae
|
4
|
+
data.tar.gz: f00f742d97fd40717543e7eb8bc0bb30380d80a3f037d08cb75b286f2dbba3c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ee08e83fd78fbdadb235c420d12f1d100df229bfbeb88e780bc8e248070269c42778ef6803f40cb7bba12b0abec53ec109d40f69066df7297fa439763a16d00
|
7
|
+
data.tar.gz: a16861952216ed034056254c266854577095384e48803e62e3021b7ead023d5323dffa4802cb8f8a1436b2e5367edf75efddbde97a45bf149917877ad535e30d
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.102
|
data/docs/remote_server.md
CHANGED
@@ -58,7 +58,8 @@
|
|
58
58
|
"dropbox_teams": true,
|
59
59
|
"linode_bucket": "my-bucket",
|
60
60
|
"linode_access_key": "example",
|
61
|
-
"linode_region": "us-east-1"
|
61
|
+
"linode_region": "us-east-1",
|
62
|
+
"supports_versioning": true
|
62
63
|
}
|
63
64
|
```
|
64
65
|
|
@@ -117,6 +118,7 @@
|
|
117
118
|
* `linode_bucket` (string): Linode Bucket name
|
118
119
|
* `linode_access_key` (string): Linode Access Key.
|
119
120
|
* `linode_region` (string): Linode region
|
121
|
+
* `supports_versioning` (boolean): If true, this remote server supports file versioning. This value is determined automatically by Files.com.
|
120
122
|
* `aws_secret_key` (string): AWS secret key.
|
121
123
|
* `password` (string): Password if needed.
|
122
124
|
* `private_key` (string): Private key if needed.
|
data/lib/files.com/list.rb
CHANGED
@@ -504,6 +504,15 @@ module Files
|
|
504
504
|
@attributes[:linode_region] = value
|
505
505
|
end
|
506
506
|
|
507
|
+
# boolean - If true, this remote server supports file versioning. This value is determined automatically by Files.com.
|
508
|
+
def supports_versioning
|
509
|
+
@attributes[:supports_versioning]
|
510
|
+
end
|
511
|
+
|
512
|
+
def supports_versioning=(value)
|
513
|
+
@attributes[:supports_versioning] = value
|
514
|
+
end
|
515
|
+
|
507
516
|
# string - AWS secret key.
|
508
517
|
def aws_secret_key
|
509
518
|
@attributes[:aws_secret_key]
|
data/lib/files.com/version.rb
CHANGED
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.1.
|
4
|
+
version: 1.1.102
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|