files.com 1.1.11 → 1.1.12
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/public_key.md +3 -1
- data/lib/files.com/models/public_key.rb +10 -1
- 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: 6e58205f761dab6b4406ec5443dcf9a083468fcdad6efa1ac5b8e70dd4ac33be
|
4
|
+
data.tar.gz: 66ba4118d483f8ec40b44fa4ac7ac17e84d32c26e93c986c8612fb8a788cd662
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8c7ce196bf11845d9c29141db1de25c08bc88bd3234da56b31dbec2c130da613ad1d3804824a9d2ece236dd497c9ed69f64187f724280d5a3f249a0d2ce5aca
|
7
|
+
data.tar.gz: b71d435577c9bf5b72b9cc3ac7d457e7295c549007bb755e205d761373ee35c0df9bc946c096bcf1ed30b8f18bb8a2f90b49e7a11f14abfa8c7c36da38e60935
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.12
|
data/docs/public_key.md
CHANGED
@@ -8,6 +8,7 @@
|
|
8
8
|
"title": "My public key",
|
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
|
+
"fingerprint_sha256": "V5Q5t/ghT3R8Tol5GX9385bzmpygWVRnLuI9EXNrjCX",
|
11
12
|
"username": "User",
|
12
13
|
"user_id": 1
|
13
14
|
}
|
@@ -16,7 +17,8 @@
|
|
16
17
|
* `id` (int64): Public key ID
|
17
18
|
* `title` (string): Public key title
|
18
19
|
* `created_at` (date-time): Public key created at date/time
|
19
|
-
* `fingerprint` (string): Public key fingerprint
|
20
|
+
* `fingerprint` (string): Public key fingerprint (MD5)
|
21
|
+
* `fingerprint_sha256` (string): Public key fingerprint (SHA256)
|
20
22
|
* `username` (string): Username of the user this public key is associated with
|
21
23
|
* `user_id` (int64): User ID this public key is associated with
|
22
24
|
* `public_key` (string): Actual contents of SSH key.
|
@@ -32,7 +32,7 @@ module Files
|
|
32
32
|
@attributes[:created_at]
|
33
33
|
end
|
34
34
|
|
35
|
-
# string - Public key fingerprint
|
35
|
+
# string - Public key fingerprint (MD5)
|
36
36
|
def fingerprint
|
37
37
|
@attributes[:fingerprint]
|
38
38
|
end
|
@@ -41,6 +41,15 @@ module Files
|
|
41
41
|
@attributes[:fingerprint] = value
|
42
42
|
end
|
43
43
|
|
44
|
+
# string - Public key fingerprint (SHA256)
|
45
|
+
def fingerprint_sha256
|
46
|
+
@attributes[:fingerprint_sha256]
|
47
|
+
end
|
48
|
+
|
49
|
+
def fingerprint_sha256=(value)
|
50
|
+
@attributes[:fingerprint_sha256] = value
|
51
|
+
end
|
52
|
+
|
44
53
|
# string - Username of the user this public key is associated with
|
45
54
|
def username
|
46
55
|
@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.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|