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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 189aa1584a1d82f12b3708952ee731f198fa5638df70c9d771cea9858ef3f7e1
4
- data.tar.gz: d679c9eb2d984507ef8bcdbc6c6172a509e515d18a5b37b7966ef297d48d473d
3
+ metadata.gz: 8b301177338c3e3292c292d41b56d99e70dfdbe0ef8e372c16e196609c676df2
4
+ data.tar.gz: a123a4e626419cb2d1762e9741822ef222cf68a58590a379d4b08950698d1a83
5
5
  SHA512:
6
- metadata.gz: 0110e7e03165c409bddc12a9fb69c7a500fceb37fa6a78526bd45e3d45048e5186686e4c6cd3a2c883e7d9e0a66c5a7e858d903e200cd2f8f20159325d5f2c6a
7
- data.tar.gz: 7df0f8e4330964053c330f327b5eb7934b91777e2aecc51ad8212d9433ef8e3fa2a9d83cf03305d9c6d068599be811019e210b2370661b73d0c91d5d2e423f37
6
+ metadata.gz: 2413c2f830445c8dac17717507dc4157851cc8a72cae8a8cb0921c93e7bc1f2525e85dc38cc4743d7312c233de4dcd107ea6a05e20b88a2923375509520146a2
7
+ data.tar.gz: d37eed160658dcf35e06441fc1838c8bbb424c24c91eb9186b51515d2d25db3bea03db877a64de1260ab13a3dfd35266d37c42a9956ff8edae5720e9eecce325
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.264
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]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.264"
4
+ VERSION = "1.1.265"
5
5
  end
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.264
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-06 00:00:00.000000000 Z
11
+ date: 2025-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable