files.com 1.1.685 → 1.1.686
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/expectation.md +5 -5
- data/docs/expectation_evaluation.md +1 -1
- data/lib/files.com/models/expectation.rb +4 -4
- data/lib/files.com/models/expectation_evaluation.rb +1 -1
- data/lib/files.com/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 246a1416bc8ed79a900f35e5f1f56fb2e57476c97a7a376afdea3aa47bf956fa
|
|
4
|
+
data.tar.gz: 4b9091d98d255c125ac2e2ccc1fced2a79f8c65c5b16565b4c7ce08215ad38fd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8323da63b4714464a3f8c9b5b918198b1fca38acf84dfc081d97b59cd32ebcf9482699dceeedd834e438cc74828c9786b648922186ad32c87db40f083aa8cab1
|
|
7
|
+
data.tar.gz: 7a34805b9239c869437097634e2388df0fb280397c0f75ceaadf84652b0ecb0b980616af60a6ca17d14062eef81ea55fb81e3f408c4c1d3c80c4a93e1a8a6cb5
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.686
|
data/docs/expectation.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"source": "*.csv",
|
|
13
13
|
"exclude_pattern": "*.tmp",
|
|
14
14
|
"disabled": true,
|
|
15
|
-
"expectations_version":
|
|
15
|
+
"expectations_version": 2,
|
|
16
16
|
"trigger": "manual",
|
|
17
17
|
"interval": "day",
|
|
18
18
|
"recurring_day": 3,
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
* `late_acceptance_interval` (int64): How many seconds a schedule-driven window may remain eligible to close as late.
|
|
68
68
|
* `inactivity_interval` (int64): How many quiet seconds are required before final closure.
|
|
69
69
|
* `max_open_interval` (int64): Hard-stop duration in seconds for unscheduled expectations.
|
|
70
|
-
* `criteria` (object):
|
|
70
|
+
* `criteria` (object): Versioned success criteria definition for the expectation. Criteria v2 supports optional FTS content validation.
|
|
71
71
|
* `last_evaluated_at` (date-time): Last time this expectation was evaluated.
|
|
72
72
|
* `last_success_at` (date-time): Last time this expectation closed successfully.
|
|
73
73
|
* `last_failure_at` (date-time): Last time this expectation closed with a failure result.
|
|
@@ -152,7 +152,7 @@ Files::Expectation.create(
|
|
|
152
152
|
* `late_acceptance_interval` (int64): How many seconds a schedule-driven window may remain eligible to close as late.
|
|
153
153
|
* `inactivity_interval` (int64): How many quiet seconds are required before final closure.
|
|
154
154
|
* `max_open_interval` (int64): Hard-stop duration in seconds for unscheduled expectations.
|
|
155
|
-
* `criteria` (object):
|
|
155
|
+
* `criteria` (object): Versioned success criteria definition for the expectation, including optional Files Transform Script content validation in criteria v2.
|
|
156
156
|
* `workspace_id` (int64): Workspace ID. `0` means the default workspace.
|
|
157
157
|
|
|
158
158
|
|
|
@@ -217,7 +217,7 @@ Files::Expectation.update(id,
|
|
|
217
217
|
* `late_acceptance_interval` (int64): How many seconds a schedule-driven window may remain eligible to close as late.
|
|
218
218
|
* `inactivity_interval` (int64): How many quiet seconds are required before final closure.
|
|
219
219
|
* `max_open_interval` (int64): Hard-stop duration in seconds for unscheduled expectations.
|
|
220
|
-
* `criteria` (object):
|
|
220
|
+
* `criteria` (object): Versioned success criteria definition for the expectation, including optional Files Transform Script content validation in criteria v2.
|
|
221
221
|
* `workspace_id` (int64): Workspace ID. `0` means the default workspace.
|
|
222
222
|
|
|
223
223
|
|
|
@@ -299,7 +299,7 @@ expectation.update(
|
|
|
299
299
|
* `late_acceptance_interval` (int64): How many seconds a schedule-driven window may remain eligible to close as late.
|
|
300
300
|
* `inactivity_interval` (int64): How many quiet seconds are required before final closure.
|
|
301
301
|
* `max_open_interval` (int64): Hard-stop duration in seconds for unscheduled expectations.
|
|
302
|
-
* `criteria` (object):
|
|
302
|
+
* `criteria` (object): Versioned success criteria definition for the expectation, including optional Files Transform Script content validation in criteria v2.
|
|
303
303
|
* `workspace_id` (int64): Workspace ID. `0` means the default workspace.
|
|
304
304
|
|
|
305
305
|
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
* `closed_at` (date-time): When the evaluation row was finalized.
|
|
46
46
|
* `matched_files` (array(object)): Captured evidence for files that matched the window.
|
|
47
47
|
* `missing_files` (array(object)): Captured evidence for required files that were missing.
|
|
48
|
-
* `criteria_errors` (array(string)): Captured criteria failures for the window.
|
|
48
|
+
* `criteria_errors` (array(string)): Captured criteria failures for the window, including file-scoped FTS errors and returned validation details.
|
|
49
49
|
* `summary` (object): Compact evaluator summary payload.
|
|
50
50
|
* `created_at` (date-time): Creation time.
|
|
51
51
|
* `updated_at` (date-time): Last update time.
|
|
@@ -189,7 +189,7 @@ module Files
|
|
|
189
189
|
@attributes[:max_open_interval] = value
|
|
190
190
|
end
|
|
191
191
|
|
|
192
|
-
# object -
|
|
192
|
+
# object - Versioned success criteria definition for the expectation. Criteria v2 supports optional FTS content validation.
|
|
193
193
|
def criteria
|
|
194
194
|
@attributes[:criteria]
|
|
195
195
|
end
|
|
@@ -273,7 +273,7 @@ module Files
|
|
|
273
273
|
# late_acceptance_interval - int64 - How many seconds a schedule-driven window may remain eligible to close as late.
|
|
274
274
|
# inactivity_interval - int64 - How many quiet seconds are required before final closure.
|
|
275
275
|
# max_open_interval - int64 - Hard-stop duration in seconds for unscheduled expectations.
|
|
276
|
-
# criteria - object -
|
|
276
|
+
# criteria - object - Versioned success criteria definition for the expectation, including optional Files Transform Script content validation in criteria v2.
|
|
277
277
|
# workspace_id - int64 - Workspace ID. `0` means the default workspace.
|
|
278
278
|
def update(params = {})
|
|
279
279
|
params ||= {}
|
|
@@ -382,7 +382,7 @@ module Files
|
|
|
382
382
|
# late_acceptance_interval - int64 - How many seconds a schedule-driven window may remain eligible to close as late.
|
|
383
383
|
# inactivity_interval - int64 - How many quiet seconds are required before final closure.
|
|
384
384
|
# max_open_interval - int64 - Hard-stop duration in seconds for unscheduled expectations.
|
|
385
|
-
# criteria - object -
|
|
385
|
+
# criteria - object - Versioned success criteria definition for the expectation, including optional Files Transform Script content validation in criteria v2.
|
|
386
386
|
# workspace_id - int64 - Workspace ID. `0` means the default workspace.
|
|
387
387
|
def self.create(params = {}, options = {})
|
|
388
388
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
@@ -437,7 +437,7 @@ module Files
|
|
|
437
437
|
# late_acceptance_interval - int64 - How many seconds a schedule-driven window may remain eligible to close as late.
|
|
438
438
|
# inactivity_interval - int64 - How many quiet seconds are required before final closure.
|
|
439
439
|
# max_open_interval - int64 - Hard-stop duration in seconds for unscheduled expectations.
|
|
440
|
-
# criteria - object -
|
|
440
|
+
# criteria - object - Versioned success criteria definition for the expectation, including optional Files Transform Script content validation in criteria v2.
|
|
441
441
|
# workspace_id - int64 - Workspace ID. `0` means the default workspace.
|
|
442
442
|
def self.update(id, params = {}, options = {})
|
|
443
443
|
params ||= {}
|
|
@@ -79,7 +79,7 @@ module Files
|
|
|
79
79
|
@attributes[:missing_files]
|
|
80
80
|
end
|
|
81
81
|
|
|
82
|
-
# array(string) - Captured criteria failures for the window.
|
|
82
|
+
# array(string) - Captured criteria failures for the window, including file-scoped FTS errors and returned validation details.
|
|
83
83
|
def criteria_errors
|
|
84
84
|
@attributes[:criteria_errors]
|
|
85
85
|
end
|
data/lib/files.com/version.rb
CHANGED