files.com 1.1.165 → 1.1.166
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/automation.md +10 -10
- data/lib/files.com/models/automation.rb +7 -7
- 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: 2ce84bf258bf66a556c98c9016289517dde58ef8cf430b66030f7f89ed2d0da3
|
4
|
+
data.tar.gz: 5ed2276f80f77bf97b5a70cb1f1247f5634556942ea39f7dcc1ab5764fe07eb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9e754277865fa14609f5ee1d3812bc95322fac561a8b7fd0234281651f3a16dc03c9cf34ac82a946ebc49d36aa991fbc86aeac30be60fe4026b3bb5a02f17d1
|
7
|
+
data.tar.gz: e91c15254e42ed2e32fd035fafc730d7f65b3306a2981287bc3b958cea500faded073b2b9347f53e6a7bdde1b54c5ec949c6c9a550c1be3098a6d1ef64b05d99
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.166
|
data/docs/automation.md
CHANGED
@@ -89,7 +89,7 @@
|
|
89
89
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
90
90
|
* `schedule_times_of_day` (array(string)): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. Times of day in HH:MM format.
|
91
91
|
* `schedule_time_zone` (string): If trigger is `custom_schedule`, Custom schedule Time Zone for when the automation should be run.
|
92
|
-
* `source` (string): Source path. Supports globs, except on remote mounts.
|
92
|
+
* `source` (string): Source path/glob. See Automation docs for exact description, but this is used to filter for files in the `path` to find files to operate on. Supports globs, except on remote mounts.
|
93
93
|
* `sync_ids` (array(int64)): IDs of remote sync folder behaviors to run by this Automation
|
94
94
|
* `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
95
95
|
* `trigger` (string): How this automation is triggered to run.
|
@@ -138,7 +138,7 @@ Files::Automation.find(id)
|
|
138
138
|
|
139
139
|
```
|
140
140
|
Files::Automation.create(
|
141
|
-
source: "
|
141
|
+
source: "example",
|
142
142
|
destinations: ["folder_a/file_a.txt",{"folder_path":"folder_b","file_path":"file_b.txt"},{"folder_path":"folder_c"}],
|
143
143
|
destination_replace_from: "example",
|
144
144
|
destination_replace_to: "example",
|
@@ -170,12 +170,12 @@ Files::Automation.create(
|
|
170
170
|
|
171
171
|
### Parameters
|
172
172
|
|
173
|
-
* `source` (string): Source
|
173
|
+
* `source` (string): Source path/glob. See Automation docs for exact description, but this is used to filter for files in the `path` to find files to operate on. Supports globs, except on remote mounts.
|
174
174
|
* `destinations` (array(string)): A list of String destination paths or Hash of folder_path and optional file_path.
|
175
175
|
* `destination_replace_from` (string): If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
176
176
|
* `destination_replace_to` (string): If set, this string will replace the value `destination_replace_from` in the destination filename. You can use special patterns here.
|
177
177
|
* `interval` (string): How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
178
|
-
* `path` (string): Path on which this Automation runs. Supports globs.
|
178
|
+
* `path` (string): Path on which this Automation runs. Supports globs, except on remote mounts.
|
179
179
|
* `sync_ids` (string): A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
180
180
|
* `user_ids` (string): A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
181
181
|
* `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
@@ -218,7 +218,7 @@ Files::Automation.manual_run(id)
|
|
218
218
|
|
219
219
|
```
|
220
220
|
Files::Automation.update(id,
|
221
|
-
source: "
|
221
|
+
source: "example",
|
222
222
|
destinations: ["folder_a/file_a.txt",{"folder_path":"folder_b","file_path":"file_b.txt"},{"folder_path":"folder_c"}],
|
223
223
|
destination_replace_from: "example",
|
224
224
|
destination_replace_to: "example",
|
@@ -251,12 +251,12 @@ Files::Automation.update(id,
|
|
251
251
|
### Parameters
|
252
252
|
|
253
253
|
* `id` (int64): Required - Automation ID.
|
254
|
-
* `source` (string): Source
|
254
|
+
* `source` (string): Source path/glob. See Automation docs for exact description, but this is used to filter for files in the `path` to find files to operate on. Supports globs, except on remote mounts.
|
255
255
|
* `destinations` (array(string)): A list of String destination paths or Hash of folder_path and optional file_path.
|
256
256
|
* `destination_replace_from` (string): If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
257
257
|
* `destination_replace_to` (string): If set, this string will replace the value `destination_replace_from` in the destination filename. You can use special patterns here.
|
258
258
|
* `interval` (string): How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
259
|
-
* `path` (string): Path on which this Automation runs. Supports globs.
|
259
|
+
* `path` (string): Path on which this Automation runs. Supports globs, except on remote mounts.
|
260
260
|
* `sync_ids` (string): A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
261
261
|
* `user_ids` (string): A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
262
262
|
* `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
@@ -316,7 +316,7 @@ automation.manual_run
|
|
316
316
|
automation = Files::Automation.find(id)
|
317
317
|
|
318
318
|
automation.update(
|
319
|
-
source: "
|
319
|
+
source: "example",
|
320
320
|
destinations: ["folder_a/file_a.txt",{"folder_path":"folder_b","file_path":"file_b.txt"},{"folder_path":"folder_c"}],
|
321
321
|
destination_replace_from: "example",
|
322
322
|
destination_replace_to: "example",
|
@@ -349,12 +349,12 @@ automation.update(
|
|
349
349
|
### Parameters
|
350
350
|
|
351
351
|
* `id` (int64): Required - Automation ID.
|
352
|
-
* `source` (string): Source
|
352
|
+
* `source` (string): Source path/glob. See Automation docs for exact description, but this is used to filter for files in the `path` to find files to operate on. Supports globs, except on remote mounts.
|
353
353
|
* `destinations` (array(string)): A list of String destination paths or Hash of folder_path and optional file_path.
|
354
354
|
* `destination_replace_from` (string): If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
355
355
|
* `destination_replace_to` (string): If set, this string will replace the value `destination_replace_from` in the destination filename. You can use special patterns here.
|
356
356
|
* `interval` (string): How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
357
|
-
* `path` (string): Path on which this Automation runs. Supports globs.
|
357
|
+
* `path` (string): Path on which this Automation runs. Supports globs, except on remote mounts.
|
358
358
|
* `sync_ids` (string): A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
359
359
|
* `user_ids` (string): A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
360
360
|
* `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
@@ -243,7 +243,7 @@ module Files
|
|
243
243
|
@attributes[:schedule_time_zone] = value
|
244
244
|
end
|
245
245
|
|
246
|
-
# string - Source path. Supports globs, except on remote mounts.
|
246
|
+
# string - Source path/glob. See Automation docs for exact description, but this is used to filter for files in the `path` to find files to operate on. Supports globs, except on remote mounts.
|
247
247
|
def source
|
248
248
|
@attributes[:source]
|
249
249
|
end
|
@@ -327,12 +327,12 @@ module Files
|
|
327
327
|
end
|
328
328
|
|
329
329
|
# Parameters:
|
330
|
-
# source - string - Source
|
330
|
+
# source - string - Source path/glob. See Automation docs for exact description, but this is used to filter for files in the `path` to find files to operate on. Supports globs, except on remote mounts.
|
331
331
|
# destinations - array(string) - A list of String destination paths or Hash of folder_path and optional file_path.
|
332
332
|
# destination_replace_from - string - If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
333
333
|
# destination_replace_to - string - If set, this string will replace the value `destination_replace_from` in the destination filename. You can use special patterns here.
|
334
334
|
# interval - string - How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
335
|
-
# path - string - Path on which this Automation runs. Supports globs.
|
335
|
+
# path - string - Path on which this Automation runs. Supports globs, except on remote mounts.
|
336
336
|
# sync_ids - string - A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
337
337
|
# user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
338
338
|
# group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
@@ -455,12 +455,12 @@ module Files
|
|
455
455
|
end
|
456
456
|
|
457
457
|
# Parameters:
|
458
|
-
# source - string - Source
|
458
|
+
# source - string - Source path/glob. See Automation docs for exact description, but this is used to filter for files in the `path` to find files to operate on. Supports globs, except on remote mounts.
|
459
459
|
# destinations - array(string) - A list of String destination paths or Hash of folder_path and optional file_path.
|
460
460
|
# destination_replace_from - string - If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
461
461
|
# destination_replace_to - string - If set, this string will replace the value `destination_replace_from` in the destination filename. You can use special patterns here.
|
462
462
|
# interval - string - How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
463
|
-
# path - string - Path on which this Automation runs. Supports globs.
|
463
|
+
# path - string - Path on which this Automation runs. Supports globs, except on remote mounts.
|
464
464
|
# sync_ids - string - A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
465
465
|
# user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
466
466
|
# group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
@@ -522,12 +522,12 @@ module Files
|
|
522
522
|
end
|
523
523
|
|
524
524
|
# Parameters:
|
525
|
-
# source - string - Source
|
525
|
+
# source - string - Source path/glob. See Automation docs for exact description, but this is used to filter for files in the `path` to find files to operate on. Supports globs, except on remote mounts.
|
526
526
|
# destinations - array(string) - A list of String destination paths or Hash of folder_path and optional file_path.
|
527
527
|
# destination_replace_from - string - If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
528
528
|
# destination_replace_to - string - If set, this string will replace the value `destination_replace_from` in the destination filename. You can use special patterns here.
|
529
529
|
# interval - string - How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
530
|
-
# path - string - Path on which this Automation runs. Supports globs.
|
530
|
+
# path - string - Path on which this Automation runs. Supports globs, except on remote mounts.
|
531
531
|
# sync_ids - string - A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
532
532
|
# user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
533
533
|
# group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
data/lib/files.com/version.rb
CHANGED