files.com 1.1.326 → 1.1.327
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/remote_mount_backend.md +13 -0
- data/lib/files.com/models/remote_mount_backend.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: 32c9d80f75e54b62563d6c4f11da67285c4fcb4e4da8ab49507924a3ee2f2db4
|
4
|
+
data.tar.gz: 4535e5dc60792503b7be0d614a6d70134d955d5b14e116edd0beb0d8ef47462f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7e897a1b234f7cfaf87e23438e8f2c03426fa22bf1c3a855a478ab4fc6db636aa75cf2b7cb352306bfff2ac6ce4bda3f9c505a8fa5b4bf12b2ae175e7135600
|
7
|
+
data.tar.gz: 6ed94c5956021aa63cf8733e336b7d3266e7fb37d5f0c814be37251a25d5815965ebdc0a9c809ee64f66fd89a8331ae2ef5e1384aca5ab4d0704b8f36213dc93
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.327
|
@@ -8,6 +8,18 @@
|
|
8
8
|
"enabled": true,
|
9
9
|
"fall": 1,
|
10
10
|
"health_check_enabled": true,
|
11
|
+
"health_check_results": [
|
12
|
+
{
|
13
|
+
"timestamp": "2025-09-19T12:32:52+00:00",
|
14
|
+
"status": "healthy",
|
15
|
+
"canary_timestamp": "2025-09-19T12:32:52+00:00"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"status": "failed",
|
19
|
+
"reason": "Unable to connect",
|
20
|
+
"timestamp": "2025-09-19T12:32:52+00:00"
|
21
|
+
}
|
22
|
+
],
|
11
23
|
"health_check_type": "active",
|
12
24
|
"id": 1,
|
13
25
|
"interval": 60,
|
@@ -27,6 +39,7 @@
|
|
27
39
|
* `enabled` (boolean): True if this backend is enabled.
|
28
40
|
* `fall` (int64): Number of consecutive failures before considering the backend unhealthy.
|
29
41
|
* `health_check_enabled` (boolean): True if health checks are enabled for this backend.
|
42
|
+
* `health_check_results` (array(object)): Array of recent health check results.
|
30
43
|
* `health_check_type` (string): Type of health check to perform.
|
31
44
|
* `id` (int64): Unique identifier for this backend.
|
32
45
|
* `interval` (int64): Interval in seconds between health checks.
|
@@ -45,6 +45,15 @@ module Files
|
|
45
45
|
@attributes[:health_check_enabled] = value
|
46
46
|
end
|
47
47
|
|
48
|
+
# array(object) - Array of recent health check results.
|
49
|
+
def health_check_results
|
50
|
+
@attributes[:health_check_results]
|
51
|
+
end
|
52
|
+
|
53
|
+
def health_check_results=(value)
|
54
|
+
@attributes[:health_check_results] = value
|
55
|
+
end
|
56
|
+
|
48
57
|
# string - Type of health check to perform.
|
49
58
|
def health_check_type
|
50
59
|
@attributes[:health_check_type]
|
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.327
|
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-09-
|
11
|
+
date: 2025-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|