files.com 1.1.261 → 1.1.263
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/automation.md +8 -0
- data/docs/public_key.md +5 -0
- data/lib/files.com/models/automation.rb +12 -0
- data/lib/files.com/models/public_key.rb +10 -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: 0416cd0725dba961d87cf768a8f6b8b02cd9f22306ada8fd3d75d974cb7a7fe6
|
4
|
+
data.tar.gz: 277e28290dfe76989a8d383b1570bbe2730000c54a942df0706fc44b43140c40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9172af039851340bfd16af71300ef45f79cb4b0788c24e4d48aa8a243d537da75cdd520b01a037282bf7e1a58c9a2681a2531ecfffc3d18549c749bb7983c1b
|
7
|
+
data.tar.gz: 35fa3b8c7c83f4b80c0cc0086c9f49f9614059023ecfcb36f863770f1c144514dea5a79d2f312992eab89dcd202fb15e9ce02a0428a7f039dc78e90229a98109
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.263
|
data/docs/automation.md
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
```
|
6
6
|
{
|
7
7
|
"id": 1,
|
8
|
+
"always_serialize_jobs": true,
|
8
9
|
"always_overwrite_size_matching_files": true,
|
9
10
|
"automation": "create_folder",
|
10
11
|
"deleted": true,
|
@@ -90,6 +91,7 @@
|
|
90
91
|
```
|
91
92
|
|
92
93
|
* `id` (int64): Automation ID
|
94
|
+
* `always_serialize_jobs` (boolean): Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
|
93
95
|
* `always_overwrite_size_matching_files` (boolean): Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
|
94
96
|
* `automation` (string): Automation type
|
95
97
|
* `deleted` (boolean): Indicates if the automation has been deleted.
|
@@ -180,6 +182,7 @@ Files::Automation.create(
|
|
180
182
|
schedule_times_of_day: ["7:30","11:30"],
|
181
183
|
schedule_time_zone: "Eastern Time (US & Canada)",
|
182
184
|
always_overwrite_size_matching_files: true,
|
185
|
+
always_serialize_jobs: true,
|
183
186
|
description: "example",
|
184
187
|
disabled: true,
|
185
188
|
exclude_pattern: "path/to/exclude/*",
|
@@ -215,6 +218,7 @@ Files::Automation.create(
|
|
215
218
|
* `schedule_times_of_day` (array(string)): If trigger is `custom_schedule`. A list of times of day to run this automation. 24-hour time format.
|
216
219
|
* `schedule_time_zone` (string): If trigger is `custom_schedule`. Time zone for the schedule.
|
217
220
|
* `always_overwrite_size_matching_files` (boolean): Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
|
221
|
+
* `always_serialize_jobs` (boolean): Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
|
218
222
|
* `description` (string): Description for the this Automation.
|
219
223
|
* `disabled` (boolean): If true, this automation will not run.
|
220
224
|
* `exclude_pattern` (string): If set, this glob pattern will exclude files from the automation. Supports globs, except on remote mounts.
|
@@ -266,6 +270,7 @@ Files::Automation.update(id,
|
|
266
270
|
schedule_times_of_day: ["7:30","11:30"],
|
267
271
|
schedule_time_zone: "Eastern Time (US & Canada)",
|
268
272
|
always_overwrite_size_matching_files: true,
|
273
|
+
always_serialize_jobs: true,
|
269
274
|
description: "example",
|
270
275
|
disabled: true,
|
271
276
|
exclude_pattern: "path/to/exclude/*",
|
@@ -302,6 +307,7 @@ Files::Automation.update(id,
|
|
302
307
|
* `schedule_times_of_day` (array(string)): If trigger is `custom_schedule`. A list of times of day to run this automation. 24-hour time format.
|
303
308
|
* `schedule_time_zone` (string): If trigger is `custom_schedule`. Time zone for the schedule.
|
304
309
|
* `always_overwrite_size_matching_files` (boolean): Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
|
310
|
+
* `always_serialize_jobs` (boolean): Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
|
305
311
|
* `description` (string): Description for the this Automation.
|
306
312
|
* `disabled` (boolean): If true, this automation will not run.
|
307
313
|
* `exclude_pattern` (string): If set, this glob pattern will exclude files from the automation. Supports globs, except on remote mounts.
|
@@ -370,6 +376,7 @@ automation.update(
|
|
370
376
|
schedule_times_of_day: ["7:30","11:30"],
|
371
377
|
schedule_time_zone: "Eastern Time (US & Canada)",
|
372
378
|
always_overwrite_size_matching_files: true,
|
379
|
+
always_serialize_jobs: true,
|
373
380
|
description: "example",
|
374
381
|
disabled: true,
|
375
382
|
exclude_pattern: "path/to/exclude/*",
|
@@ -406,6 +413,7 @@ automation.update(
|
|
406
413
|
* `schedule_times_of_day` (array(string)): If trigger is `custom_schedule`. A list of times of day to run this automation. 24-hour time format.
|
407
414
|
* `schedule_time_zone` (string): If trigger is `custom_schedule`. Time zone for the schedule.
|
408
415
|
* `always_overwrite_size_matching_files` (boolean): Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
|
416
|
+
* `always_serialize_jobs` (boolean): Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
|
409
417
|
* `description` (string): Description for the this Automation.
|
410
418
|
* `disabled` (boolean): If true, this automation will not run.
|
411
419
|
* `exclude_pattern` (string): If set, this glob pattern will exclude files from the automation. Supports globs, except on remote mounts.
|
data/docs/public_key.md
CHANGED
@@ -39,6 +39,11 @@ Files::PublicKey.list(
|
|
39
39
|
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
40
40
|
* `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.
|
41
41
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
42
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
43
|
+
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
44
|
+
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
45
|
+
* `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
46
|
+
* `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
42
47
|
|
43
48
|
|
44
49
|
---
|
@@ -18,6 +18,15 @@ module Files
|
|
18
18
|
@attributes[:id] = value
|
19
19
|
end
|
20
20
|
|
21
|
+
# boolean - Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
|
22
|
+
def always_serialize_jobs
|
23
|
+
@attributes[:always_serialize_jobs]
|
24
|
+
end
|
25
|
+
|
26
|
+
def always_serialize_jobs=(value)
|
27
|
+
@attributes[:always_serialize_jobs] = value
|
28
|
+
end
|
29
|
+
|
21
30
|
# boolean - Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
|
22
31
|
def always_overwrite_size_matching_files
|
23
32
|
@attributes[:always_overwrite_size_matching_files]
|
@@ -367,6 +376,7 @@ module Files
|
|
367
376
|
# schedule_times_of_day - array(string) - If trigger is `custom_schedule`. A list of times of day to run this automation. 24-hour time format.
|
368
377
|
# schedule_time_zone - string - If trigger is `custom_schedule`. Time zone for the schedule.
|
369
378
|
# always_overwrite_size_matching_files - boolean - Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
|
379
|
+
# always_serialize_jobs - boolean - Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
|
370
380
|
# description - string - Description for the this Automation.
|
371
381
|
# disabled - boolean - If true, this automation will not run.
|
372
382
|
# exclude_pattern - string - If set, this glob pattern will exclude files from the automation. Supports globs, except on remote mounts.
|
@@ -501,6 +511,7 @@ module Files
|
|
501
511
|
# schedule_times_of_day - array(string) - If trigger is `custom_schedule`. A list of times of day to run this automation. 24-hour time format.
|
502
512
|
# schedule_time_zone - string - If trigger is `custom_schedule`. Time zone for the schedule.
|
503
513
|
# always_overwrite_size_matching_files - boolean - Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
|
514
|
+
# always_serialize_jobs - boolean - Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
|
504
515
|
# description - string - Description for the this Automation.
|
505
516
|
# disabled - boolean - If true, this automation will not run.
|
506
517
|
# exclude_pattern - string - If set, this glob pattern will exclude files from the automation. Supports globs, except on remote mounts.
|
@@ -574,6 +585,7 @@ module Files
|
|
574
585
|
# schedule_times_of_day - array(string) - If trigger is `custom_schedule`. A list of times of day to run this automation. 24-hour time format.
|
575
586
|
# schedule_time_zone - string - If trigger is `custom_schedule`. Time zone for the schedule.
|
576
587
|
# always_overwrite_size_matching_files - boolean - Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
|
588
|
+
# always_serialize_jobs - boolean - Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
|
577
589
|
# description - string - Description for the this Automation.
|
578
590
|
# disabled - boolean - If true, this automation will not run.
|
579
591
|
# exclude_pattern - string - If set, this glob pattern will exclude files from the automation. Supports globs, except on remote mounts.
|
@@ -121,10 +121,20 @@ module Files
|
|
121
121
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
122
122
|
# 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.
|
123
123
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
124
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
125
|
+
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
126
|
+
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
127
|
+
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
128
|
+
# filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
124
129
|
def self.list(params = {}, options = {})
|
125
130
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
126
131
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
127
132
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
133
|
+
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
134
|
+
raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params[:filter_gt] and !params[:filter_gt].is_a?(Hash)
|
135
|
+
raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
|
136
|
+
raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
|
137
|
+
raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
|
128
138
|
|
129
139
|
List.new(PublicKey, params) do
|
130
140
|
Api.send_request("/public_keys", :get, params, options)
|
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.263
|
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-06-
|
11
|
+
date: 2025-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|