files.com 1.0.281 → 1.0.282
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/file.md +2 -0
- data/docs/folder.md +2 -0
- data/lib/files.com/models/file.rb +5 -0
- data/lib/files.com/models/folder.rb +5 -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: b6cd0be1af416ad775c6479753c16bce22ecd24b4a6e5f89b0ec0868f1e2a282
|
4
|
+
data.tar.gz: 073edaa553a3e9a9a9f1ca4cb235073873913712b7a9700a909065b8734a3fe3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ffb1c6f47d8ff7aad81d41c98f446306e15fac7ae48f77baed664ded604fc9869e1ccd7831a2d6b53b12851436feed7b6be453348a44f3469cbaa9c1b574454
|
7
|
+
data.tar.gz: 107989bb5c5d76a52d79b9a6041c1eee867e9008f4fa341c8541cd8b88dcfed1aee3b3697fcfdf52a8d22dc6a5c4e72c27c0505418f587e1f86bb89cedc48070
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.282
|
data/docs/file.md
CHANGED
@@ -11,6 +11,7 @@ may places where a Ruby File object can be used.
|
|
11
11
|
"display_name": "file.txt",
|
12
12
|
"type": "file",
|
13
13
|
"size": 1024,
|
14
|
+
"created_at": "2000-01-01T01:00:00Z",
|
14
15
|
"mtime": "2000-01-01T01:00:00Z",
|
15
16
|
"provided_mtime": "2000-01-01T01:00:00Z",
|
16
17
|
"crc32": "70976923",
|
@@ -36,6 +37,7 @@ may places where a Ruby File object can be used.
|
|
36
37
|
* `display_name` (string): File/Folder display name
|
37
38
|
* `type` (string): Type: `directory` or `file`.
|
38
39
|
* `size` (int64): File/Folder size
|
40
|
+
* `created_at` (date-time): File created date/time
|
39
41
|
* `mtime` (date-time): File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.
|
40
42
|
* `provided_mtime` (date-time): File last modified date/time, according to the client who set it. Files.com allows desktop, FTP, SFTP, and WebDAV clients to set modified at times. This allows Desktop<->Cloud syncing to preserve modified at times.
|
41
43
|
* `crc32` (string): File CRC32 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
|
data/docs/folder.md
CHANGED
@@ -13,6 +13,7 @@ Files::Dir is an alias of Files::Folder
|
|
13
13
|
"display_name": "file.txt",
|
14
14
|
"type": "file",
|
15
15
|
"size": 1024,
|
16
|
+
"created_at": "2000-01-01T01:00:00Z",
|
16
17
|
"mtime": "2000-01-01T01:00:00Z",
|
17
18
|
"provided_mtime": "2000-01-01T01:00:00Z",
|
18
19
|
"crc32": "70976923",
|
@@ -38,6 +39,7 @@ Files::Dir is an alias of Files::Folder
|
|
38
39
|
* `display_name` (string): File/Folder display name
|
39
40
|
* `type` (string): Type: `directory` or `file`.
|
40
41
|
* `size` (int64): File/Folder size
|
42
|
+
* `created_at` (date-time): File created date/time
|
41
43
|
* `mtime` (date-time): File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.
|
42
44
|
* `provided_mtime` (date-time): File last modified date/time, according to the client who set it. Files.com allows desktop, FTP, SFTP, and WebDAV clients to set modified at times. This allows Desktop<->Cloud syncing to preserve modified at times.
|
43
45
|
* `crc32` (string): File CRC32 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
|
@@ -628,6 +628,11 @@ module Files
|
|
628
628
|
@attributes[:size] = value
|
629
629
|
end
|
630
630
|
|
631
|
+
# date-time - File created date/time
|
632
|
+
def created_at
|
633
|
+
@attributes[:created_at]
|
634
|
+
end
|
635
|
+
|
631
636
|
# date-time - File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.
|
632
637
|
def mtime
|
633
638
|
@attributes[:mtime]
|
@@ -186,6 +186,11 @@ module Files
|
|
186
186
|
@attributes[:size] = value
|
187
187
|
end
|
188
188
|
|
189
|
+
# date-time - File created date/time
|
190
|
+
def created_at
|
191
|
+
@attributes[:created_at]
|
192
|
+
end
|
193
|
+
|
189
194
|
# date-time - File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.
|
190
195
|
def mtime
|
191
196
|
@attributes[:mtime]
|
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.282
|
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-
|
11
|
+
date: 2022-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|