files.com 1.1.264 → 1.1.265
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 +4 -4
- data/_VERSION +1 -1
- data/docs/public_key.md +2 -0
- data/lib/files.com/models/public_key.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: 8b301177338c3e3292c292d41b56d99e70dfdbe0ef8e372c16e196609c676df2
|
4
|
+
data.tar.gz: a123a4e626419cb2d1762e9741822ef222cf68a58590a379d4b08950698d1a83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2413c2f830445c8dac17717507dc4157851cc8a72cae8a8cb0921c93e7bc1f2525e85dc38cc4743d7312c233de4dcd107ea6a05e20b88a2923375509520146a2
|
7
|
+
data.tar.gz: d37eed160658dcf35e06441fc1838c8bbb424c24c91eb9186b51515d2d25db3bea03db877a64de1260ab13a3dfd35266d37c42a9956ff8edae5720e9eecce325
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.265
|
data/docs/public_key.md
CHANGED
@@ -9,6 +9,7 @@
|
|
9
9
|
"created_at": "2000-01-01T01:00:00Z",
|
10
10
|
"fingerprint": "43:51:43:a1:b5:fc:8b:b7:0a:3a:a9:b1:0f:66:73:a8",
|
11
11
|
"fingerprint_sha256": "V5Q5t/ghT3R8Tol5GX9385bzmpygWVRnLuI9EXNrjCX",
|
12
|
+
"last_login_at": "2000-01-01T01:00:00Z",
|
12
13
|
"username": "User",
|
13
14
|
"user_id": 1
|
14
15
|
}
|
@@ -19,6 +20,7 @@
|
|
19
20
|
* `created_at` (date-time): Public key created at date/time
|
20
21
|
* `fingerprint` (string): Public key fingerprint (MD5)
|
21
22
|
* `fingerprint_sha256` (string): Public key fingerprint (SHA256)
|
23
|
+
* `last_login_at` (date-time): Key's most recent login time via SFTP
|
22
24
|
* `username` (string): Username of the user this public key is associated with
|
23
25
|
* `user_id` (int64): User ID this public key is associated with
|
24
26
|
* `public_key` (string): Actual contents of SSH key.
|
@@ -50,6 +50,15 @@ module Files
|
|
50
50
|
@attributes[:fingerprint_sha256] = value
|
51
51
|
end
|
52
52
|
|
53
|
+
# date-time - Key's most recent login time via SFTP
|
54
|
+
def last_login_at
|
55
|
+
@attributes[:last_login_at]
|
56
|
+
end
|
57
|
+
|
58
|
+
def last_login_at=(value)
|
59
|
+
@attributes[:last_login_at] = value
|
60
|
+
end
|
61
|
+
|
53
62
|
# string - Username of the user this public key is associated with
|
54
63
|
def username
|
55
64
|
@attributes[:username]
|
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.265
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-06-
|
11
|
+
date: 2025-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|