files.com 1.1.301 → 1.1.303
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/README.md +0 -1
- data/_VERSION +1 -1
- data/docs/user_cipher_use.md +5 -3
- data/lib/files.com/errors.rb +0 -1
- data/lib/files.com/models/user_cipher_use.rb +10 -5
- 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: a67f6d507a8c6ea394440f20719ecf569b0e73b79b0f098820c5f67b3b4a0297
|
4
|
+
data.tar.gz: b0ead26fb0fe94c7f91e51f105e571ca96ac2209a9466edd7d0b2bba9c366e65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42a9d4af688f8748be31878291b09d1fe319c77f0274bdb7ed41deb161bb7948c5eebda369ef5fbad79d3a9e63e6d6474aa74e4bffe98d5eb5834b2fabac5d5a
|
7
|
+
data.tar.gz: 977d5a00330449e66ac68e0efd08ad0350acefdb8a550f316987b6cdb7fdd9660d8e70b1b06899e418a5ed6975556580589ed20c19268e027f2f6d775d08cc7f
|
data/README.md
CHANGED
@@ -514,7 +514,6 @@ Files::FolderAdminPermissionRequiredError -> Files::NotAuthorizedError -> Files:
|
|
514
514
|
|`CodeNotFoundError`| `NotFoundError` |
|
515
515
|
|`FileNotFoundError`| `NotFoundError` |
|
516
516
|
|`FileUploadNotFoundError`| `NotFoundError` |
|
517
|
-
|`FolderNotFoundError`| `NotFoundError` |
|
518
517
|
|`GroupNotFoundError`| `NotFoundError` |
|
519
518
|
|`InboxNotFoundError`| `NotFoundError` |
|
520
519
|
|`NestedNotFoundError`| `NotFoundError` |
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.303
|
data/docs/user_cipher_use.md
CHANGED
@@ -5,22 +5,24 @@
|
|
5
5
|
```
|
6
6
|
{
|
7
7
|
"id": 1,
|
8
|
+
"user_id": 1,
|
9
|
+
"username": "example",
|
8
10
|
"protocol_cipher": "TLSv1.2; ECDHE-RSA-AES256-GCM-SHA384",
|
9
11
|
"created_at": "2000-01-01T01:00:00Z",
|
10
12
|
"insecure": true,
|
11
13
|
"interface": "restapi",
|
12
|
-
"updated_at": "2000-01-01T01:00:00Z"
|
13
|
-
"user_id": 1
|
14
|
+
"updated_at": "2000-01-01T01:00:00Z"
|
14
15
|
}
|
15
16
|
```
|
16
17
|
|
17
18
|
* `id` (int64): UserCipherUse ID
|
19
|
+
* `user_id` (int64): ID of the user who performed this access
|
20
|
+
* `username` (string): Username of the user who performed this access
|
18
21
|
* `protocol_cipher` (string): The protocol and cipher employed
|
19
22
|
* `created_at` (date-time): The earliest recorded use of this combination of interface and protocol and cipher (for this user)
|
20
23
|
* `insecure` (boolean): Is this cipher considered insecure?
|
21
24
|
* `interface` (string): The interface accessed
|
22
25
|
* `updated_at` (date-time): The most recent use of this combination of interface and protocol and cipher (for this user)
|
23
|
-
* `user_id` (int64): ID of the user who performed this access
|
24
26
|
|
25
27
|
|
26
28
|
---
|
data/lib/files.com/errors.rb
CHANGED
@@ -157,7 +157,6 @@ module Files
|
|
157
157
|
class CodeNotFoundError < NotFoundError; end
|
158
158
|
class FileNotFoundError < NotFoundError; end
|
159
159
|
class FileUploadNotFoundError < NotFoundError; end
|
160
|
-
class FolderNotFoundError < NotFoundError; end
|
161
160
|
class GroupNotFoundError < NotFoundError; end
|
162
161
|
class InboxNotFoundError < NotFoundError; end
|
163
162
|
class NestedNotFoundError < NotFoundError; end
|
@@ -14,6 +14,16 @@ module Files
|
|
14
14
|
@attributes[:id]
|
15
15
|
end
|
16
16
|
|
17
|
+
# int64 - ID of the user who performed this access
|
18
|
+
def user_id
|
19
|
+
@attributes[:user_id]
|
20
|
+
end
|
21
|
+
|
22
|
+
# string - Username of the user who performed this access
|
23
|
+
def username
|
24
|
+
@attributes[:username]
|
25
|
+
end
|
26
|
+
|
17
27
|
# string - The protocol and cipher employed
|
18
28
|
def protocol_cipher
|
19
29
|
@attributes[:protocol_cipher]
|
@@ -39,11 +49,6 @@ module Files
|
|
39
49
|
@attributes[:updated_at]
|
40
50
|
end
|
41
51
|
|
42
|
-
# int64 - ID of the user who performed this access
|
43
|
-
def user_id
|
44
|
-
@attributes[:user_id]
|
45
|
-
end
|
46
|
-
|
47
52
|
# Parameters:
|
48
53
|
# user_id - int64 - User ID. If provided, will return uses for this user.
|
49
54
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
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.303
|
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-07-
|
11
|
+
date: 2025-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|