files.com 1.1.11 → 1.1.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 392495ae69d5290076e2b4649f74210d6903e07d1ccad94c4ba611298db371c1
4
- data.tar.gz: 46f063cd2a0fe71f996d35cad85414b820a68dedc49a708a303e85953f2dad44
3
+ metadata.gz: 9ddfbf63696b85ce8662ae8ad29a4696feab35e54015c7f611678ccfd0930731
4
+ data.tar.gz: 568f34737be454a282544b05d8d0cf9ea692a3a73b8a0fe62adb621ce7ad59bb
5
5
  SHA512:
6
- metadata.gz: 8f10089dbc2b2370e0cb550085d59329dc822ba9a0f48ec2515b324ab882a364c275e134210507456f8566e7174622b2268e4bf162a4e0a8f02f8c4c4efca9e7
7
- data.tar.gz: 86093c1451e65a8f9d31ecefd33d2055dbc859fe3e23ebabbb8bbf9e4bb8749f147f688bfbfc973b4b446ea9e5d347c7166203792fdc5cbc71e17b7b60923495
6
+ metadata.gz: 7af0061e10b3076ce71bd101c52c95ee852115a587b4730fae45bafad863a225233e38cc90b3ca5345653f9b8fa5f758806d0e966abf9ef60516d3c242c675c6
7
+ data.tar.gz: 027732430dcfc0b927ca78fcad726eea680b2a3c0774caa85049a71cec46ee9985dbf11007b08e4122eaff6c972968b3ca89b9c28944c291bb4cd6352afd23dc
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.11
1
+ 1.1.13
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.
@@ -61,6 +61,7 @@ module Files
61
61
  class InvalidFilterCombinationError < BadRequestError; end
62
62
  class InvalidFilterFieldError < BadRequestError; end
63
63
  class InvalidFilterParamError < BadRequestError; end
64
+ class InvalidFilterParamValueError < BadRequestError; end
64
65
  class InvalidInputEncodingError < BadRequestError; end
65
66
  class InvalidInterfaceError < BadRequestError; end
66
67
  class InvalidOauthProviderError < BadRequestError; end
@@ -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]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.11"
4
+ VERSION = "1.1.13"
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.11
4
+ version: 1.1.13
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-27 00:00:00.000000000 Z
11
+ date: 2024-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable