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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a1c779ef2280c7391800bb0bc757e7add1959ac72f876f5be1a7de272a3710f
4
- data.tar.gz: 832f2c325448db3d0394c8237a14b3df803ac53ff99e685f92b62b0a0b0a1b45
3
+ metadata.gz: 246a1416bc8ed79a900f35e5f1f56fb2e57476c97a7a376afdea3aa47bf956fa
4
+ data.tar.gz: 4b9091d98d255c125ac2e2ccc1fced2a79f8c65c5b16565b4c7ce08215ad38fd
5
5
  SHA512:
6
- metadata.gz: dfc0415086f5dabe2ab8eadc5860b3e8a7a65b517835dce83ab0e370238a1737a213d25d43830e57d885c48e646aa26b2c591256e5795b5d4186c225a1544180
7
- data.tar.gz: d457913929cff346442c151dff3c9129a7e2da39112c9b674e209fc706f081f3011ca1c6fbcd26aa5d3de3e19446ff1c68ba16151d8a986d0de662bcd09c40c8
6
+ metadata.gz: 8323da63b4714464a3f8c9b5b918198b1fca38acf84dfc081d97b59cd32ebcf9482699dceeedd834e438cc74828c9786b648922186ad32c87db40f083aa8cab1
7
+ data.tar.gz: 7a34805b9239c869437097634e2388df0fb280397c0f75ceaadf84652b0ecb0b980616af60a6ca17d14062eef81ea55fb81e3f408c4c1d3c80c4a93e1a8a6cb5
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.685
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": 1,
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): Structured criteria v1 definition for the expectation.
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): Structured criteria v1 definition for the expectation.
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): Structured criteria v1 definition for the expectation.
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): Structured criteria v1 definition for the expectation.
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 - Structured criteria v1 definition for the expectation.
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 - Structured criteria v1 definition for the expectation.
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 - Structured criteria v1 definition for the expectation.
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 - Structured criteria v1 definition for the expectation.
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.685"
4
+ VERSION = "1.1.686"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.685
4
+ version: 1.1.686
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com