files.com 1.1.338 → 1.1.339
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/sync.md +15 -14
- data/docs/sync_run.md +28 -26
- data/lib/files.com/models/sync_run.rb +54 -49
- 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: 3f5d27043a151fd01a2385a7172ed8c08ad711272976d1826a8509972db846cb
|
4
|
+
data.tar.gz: faba17cccffd2d00f248a676f283032e9781e717ce565c03fe031b55af6c24a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c497a363c96f4d7286a865325113cbe69e82d77da39332dcf8135ec7e38de07bfc896f1115abcb7743765da1ccc8dc0d53f5be680aa8c0c24da83db16a02c3ec
|
7
|
+
data.tar.gz: f2a61453326f9ebeeae9ed23795623c2a823260ee9dbc4ccd9ef57dfaeba2d6ac126fdd0ea7f1d32eb089352adfdae2b40f6559e5130a269a202c69b83617d1a
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.339
|
data/docs/sync.md
CHANGED
@@ -43,26 +43,27 @@
|
|
43
43
|
"holiday_region": "us_dc",
|
44
44
|
"latest_sync_run": {
|
45
45
|
"id": 1,
|
46
|
-
"sync_id": 1,
|
47
|
-
"site_id": 1,
|
48
|
-
"status": "example",
|
49
|
-
"src_remote_server_type": "example",
|
50
|
-
"dest_remote_server_type": "example",
|
51
46
|
"body": "example",
|
52
|
-
"
|
53
|
-
"example"
|
54
|
-
],
|
47
|
+
"bytes_synced": 1,
|
55
48
|
"compared_files": 1,
|
56
49
|
"compared_folders": 1,
|
57
|
-
"errored_files": 1,
|
58
|
-
"successful_files": 1,
|
59
|
-
"runtime": 1.0,
|
60
|
-
"log_url": "https://www.example.com/log_file.txt",
|
61
50
|
"completed_at": "2000-01-01T01:00:00Z",
|
51
|
+
"created_at": "2000-01-01T01:00:00Z",
|
52
|
+
"dest_remote_server_type": "example",
|
62
53
|
"dry_run": true,
|
63
|
-
"
|
54
|
+
"errored_files": 1,
|
64
55
|
"estimated_bytes_count": 1,
|
65
|
-
"
|
56
|
+
"event_errors": [
|
57
|
+
"example"
|
58
|
+
],
|
59
|
+
"log_url": "https://www.example.com/log_file.txt",
|
60
|
+
"runtime": 1.0,
|
61
|
+
"site_id": 1,
|
62
|
+
"src_remote_server_type": "example",
|
63
|
+
"status": "example",
|
64
|
+
"successful_files": 1,
|
65
|
+
"sync_id": 1,
|
66
|
+
"sync_name": "Azure to SharePoint Sync",
|
66
67
|
"updated_at": "2000-01-01T01:00:00Z"
|
67
68
|
}
|
68
69
|
}
|
data/docs/sync_run.md
CHANGED
@@ -5,49 +5,51 @@
|
|
5
5
|
```
|
6
6
|
{
|
7
7
|
"id": 1,
|
8
|
-
"sync_id": 1,
|
9
|
-
"site_id": 1,
|
10
|
-
"status": "example",
|
11
|
-
"src_remote_server_type": "example",
|
12
|
-
"dest_remote_server_type": "example",
|
13
8
|
"body": "example",
|
14
|
-
"
|
15
|
-
"example"
|
16
|
-
],
|
9
|
+
"bytes_synced": 1,
|
17
10
|
"compared_files": 1,
|
18
11
|
"compared_folders": 1,
|
19
|
-
"errored_files": 1,
|
20
|
-
"successful_files": 1,
|
21
|
-
"runtime": 1.0,
|
22
|
-
"log_url": "https://www.example.com/log_file.txt",
|
23
12
|
"completed_at": "2000-01-01T01:00:00Z",
|
13
|
+
"created_at": "2000-01-01T01:00:00Z",
|
14
|
+
"dest_remote_server_type": "example",
|
24
15
|
"dry_run": true,
|
25
|
-
"
|
16
|
+
"errored_files": 1,
|
26
17
|
"estimated_bytes_count": 1,
|
27
|
-
"
|
18
|
+
"event_errors": [
|
19
|
+
"example"
|
20
|
+
],
|
21
|
+
"log_url": "https://www.example.com/log_file.txt",
|
22
|
+
"runtime": 1.0,
|
23
|
+
"site_id": 1,
|
24
|
+
"src_remote_server_type": "example",
|
25
|
+
"status": "example",
|
26
|
+
"successful_files": 1,
|
27
|
+
"sync_id": 1,
|
28
|
+
"sync_name": "Azure to SharePoint Sync",
|
28
29
|
"updated_at": "2000-01-01T01:00:00Z"
|
29
30
|
}
|
30
31
|
```
|
31
32
|
|
32
33
|
* `id` (int64): SyncRun ID
|
33
|
-
* `sync_id` (int64): ID of the Sync this run belongs to
|
34
|
-
* `site_id` (int64): Site ID
|
35
|
-
* `status` (string): Status of the sync run (success, failure, partial_failure, in_progress, skipped)
|
36
|
-
* `src_remote_server_type` (string): Source remote server type, if any
|
37
|
-
* `dest_remote_server_type` (string): Destination remote server type, if any
|
38
34
|
* `body` (string): Log or summary body for this run
|
39
|
-
* `
|
35
|
+
* `bytes_synced` (int64): Total bytes synced in this run
|
40
36
|
* `compared_files` (int64): Number of files compared
|
41
37
|
* `compared_folders` (int64): Number of folders compared
|
42
|
-
* `errored_files` (int64): Number of files that errored
|
43
|
-
* `successful_files` (int64): Number of files successfully synced
|
44
|
-
* `runtime` (double): Total runtime in seconds
|
45
|
-
* `log_url` (string): Link to external log file.
|
46
38
|
* `completed_at` (date-time): When this run was completed
|
39
|
+
* `created_at` (date-time): When this run was created
|
40
|
+
* `dest_remote_server_type` (string): Destination remote server type, if any
|
47
41
|
* `dry_run` (boolean): Whether this run was a dry run (no actual changes made)
|
48
|
-
* `
|
42
|
+
* `errored_files` (int64): Number of files that errored
|
49
43
|
* `estimated_bytes_count` (int64): Estimated bytes count for this run
|
50
|
-
* `
|
44
|
+
* `event_errors` (array(string)): Array of errors encountered during the run
|
45
|
+
* `log_url` (string): Link to external log file.
|
46
|
+
* `runtime` (double): Total runtime in seconds
|
47
|
+
* `site_id` (int64): Site ID
|
48
|
+
* `src_remote_server_type` (string): Source remote server type, if any
|
49
|
+
* `status` (string): Status of the sync run (success, failure, partial_failure, in_progress, skipped)
|
50
|
+
* `successful_files` (int64): Number of files successfully synced
|
51
|
+
* `sync_id` (int64): ID of the Sync this run belongs to
|
52
|
+
* `sync_name` (string): Name of the Sync this run belongs to
|
51
53
|
* `updated_at` (date-time): When this run was last updated
|
52
54
|
|
53
55
|
|
@@ -14,39 +14,14 @@ module Files
|
|
14
14
|
@attributes[:id]
|
15
15
|
end
|
16
16
|
|
17
|
-
# int64 - ID of the Sync this run belongs to
|
18
|
-
def sync_id
|
19
|
-
@attributes[:sync_id]
|
20
|
-
end
|
21
|
-
|
22
|
-
# int64 - Site ID
|
23
|
-
def site_id
|
24
|
-
@attributes[:site_id]
|
25
|
-
end
|
26
|
-
|
27
|
-
# string - Status of the sync run (success, failure, partial_failure, in_progress, skipped)
|
28
|
-
def status
|
29
|
-
@attributes[:status]
|
30
|
-
end
|
31
|
-
|
32
|
-
# string - Source remote server type, if any
|
33
|
-
def src_remote_server_type
|
34
|
-
@attributes[:src_remote_server_type]
|
35
|
-
end
|
36
|
-
|
37
|
-
# string - Destination remote server type, if any
|
38
|
-
def dest_remote_server_type
|
39
|
-
@attributes[:dest_remote_server_type]
|
40
|
-
end
|
41
|
-
|
42
17
|
# string - Log or summary body for this run
|
43
18
|
def body
|
44
19
|
@attributes[:body]
|
45
20
|
end
|
46
21
|
|
47
|
-
#
|
48
|
-
def
|
49
|
-
@attributes[:
|
22
|
+
# int64 - Total bytes synced in this run
|
23
|
+
def bytes_synced
|
24
|
+
@attributes[:bytes_synced]
|
50
25
|
end
|
51
26
|
|
52
27
|
# int64 - Number of files compared
|
@@ -59,19 +34,39 @@ module Files
|
|
59
34
|
@attributes[:compared_folders]
|
60
35
|
end
|
61
36
|
|
37
|
+
# date-time - When this run was completed
|
38
|
+
def completed_at
|
39
|
+
@attributes[:completed_at]
|
40
|
+
end
|
41
|
+
|
42
|
+
# date-time - When this run was created
|
43
|
+
def created_at
|
44
|
+
@attributes[:created_at]
|
45
|
+
end
|
46
|
+
|
47
|
+
# string - Destination remote server type, if any
|
48
|
+
def dest_remote_server_type
|
49
|
+
@attributes[:dest_remote_server_type]
|
50
|
+
end
|
51
|
+
|
52
|
+
# boolean - Whether this run was a dry run (no actual changes made)
|
53
|
+
def dry_run
|
54
|
+
@attributes[:dry_run]
|
55
|
+
end
|
56
|
+
|
62
57
|
# int64 - Number of files that errored
|
63
58
|
def errored_files
|
64
59
|
@attributes[:errored_files]
|
65
60
|
end
|
66
61
|
|
67
|
-
# int64 -
|
68
|
-
def
|
69
|
-
@attributes[:
|
62
|
+
# int64 - Estimated bytes count for this run
|
63
|
+
def estimated_bytes_count
|
64
|
+
@attributes[:estimated_bytes_count]
|
70
65
|
end
|
71
66
|
|
72
|
-
#
|
73
|
-
def
|
74
|
-
@attributes[:
|
67
|
+
# array(string) - Array of errors encountered during the run
|
68
|
+
def event_errors
|
69
|
+
@attributes[:event_errors]
|
75
70
|
end
|
76
71
|
|
77
72
|
# string - Link to external log file.
|
@@ -79,29 +74,39 @@ module Files
|
|
79
74
|
@attributes[:log_url]
|
80
75
|
end
|
81
76
|
|
82
|
-
#
|
83
|
-
def
|
84
|
-
@attributes[:
|
77
|
+
# double - Total runtime in seconds
|
78
|
+
def runtime
|
79
|
+
@attributes[:runtime]
|
85
80
|
end
|
86
81
|
|
87
|
-
#
|
88
|
-
def
|
89
|
-
@attributes[:
|
82
|
+
# int64 - Site ID
|
83
|
+
def site_id
|
84
|
+
@attributes[:site_id]
|
90
85
|
end
|
91
86
|
|
92
|
-
#
|
93
|
-
def
|
94
|
-
@attributes[:
|
87
|
+
# string - Source remote server type, if any
|
88
|
+
def src_remote_server_type
|
89
|
+
@attributes[:src_remote_server_type]
|
95
90
|
end
|
96
91
|
|
97
|
-
#
|
98
|
-
def
|
99
|
-
@attributes[:
|
92
|
+
# string - Status of the sync run (success, failure, partial_failure, in_progress, skipped)
|
93
|
+
def status
|
94
|
+
@attributes[:status]
|
100
95
|
end
|
101
96
|
|
102
|
-
#
|
103
|
-
def
|
104
|
-
@attributes[:
|
97
|
+
# int64 - Number of files successfully synced
|
98
|
+
def successful_files
|
99
|
+
@attributes[:successful_files]
|
100
|
+
end
|
101
|
+
|
102
|
+
# int64 - ID of the Sync this run belongs to
|
103
|
+
def sync_id
|
104
|
+
@attributes[:sync_id]
|
105
|
+
end
|
106
|
+
|
107
|
+
# string - Name of the Sync this run belongs to
|
108
|
+
def sync_name
|
109
|
+
@attributes[:sync_name]
|
105
110
|
end
|
106
111
|
|
107
112
|
# date-time - When this run was last updated
|
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.339
|
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-10-
|
11
|
+
date: 2025-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|