files.com 1.1.573 → 1.1.574
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 +6 -6
- data/lib/files.com/models/automation.rb +3 -3
- 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: '09fe9ec64d6bccea37581924287f96413501211d00ebc88c92f25f11c4d19acc'
|
|
4
|
+
data.tar.gz: 8fe1355ef9c6119cbda97b96412ac5e505c449bd9b0d9e4218235bfd55a86a43
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5470a0634481cb5f42100bdfbba69672ab19e6446e9b271ce4626b56c4e77444c8f231ce8365a1e094282f7cc0665b212ebe99c1fdabdfe38bb07e69df491dfc
|
|
7
|
+
data.tar.gz: 92ac9da35846a004b7f8ec8deb1add7bc881109fd3147cc31d1536146c9944d04f55a66080482196295d0a5bafb872487eb84b3030688d9f6ba7abfc139531f2
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.574
|
data/docs/automation.md
CHANGED
|
@@ -179,7 +179,7 @@ Files::Automation.find(id)
|
|
|
179
179
|
```
|
|
180
180
|
Files::Automation.create(
|
|
181
181
|
source: "example",
|
|
182
|
-
destinations: ["folder_a/file_a.txt",
|
|
182
|
+
destinations: ["folder_a/file_a.txt","folder_b/","./relative-folder/"],
|
|
183
183
|
destination_replace_from: "example",
|
|
184
184
|
destination_replace_to: "example",
|
|
185
185
|
interval: "year",
|
|
@@ -218,7 +218,7 @@ Files::Automation.create(
|
|
|
218
218
|
### Parameters
|
|
219
219
|
|
|
220
220
|
* `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.
|
|
221
|
-
* `destinations` (array(string)): A list of
|
|
221
|
+
* `destinations` (array(string)): A list of destination paths. Use a trailing slash for folder destinations and omit it for file destinations.
|
|
222
222
|
* `destination_replace_from` (string): If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
|
223
223
|
* `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.
|
|
224
224
|
* `interval` (string): How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
@@ -273,7 +273,7 @@ Files::Automation.manual_run(id)
|
|
|
273
273
|
```
|
|
274
274
|
Files::Automation.update(id,
|
|
275
275
|
source: "example",
|
|
276
|
-
destinations: ["folder_a/file_a.txt",
|
|
276
|
+
destinations: ["folder_a/file_a.txt","folder_b/","./relative-folder/"],
|
|
277
277
|
destination_replace_from: "example",
|
|
278
278
|
destination_replace_to: "example",
|
|
279
279
|
interval: "year",
|
|
@@ -312,7 +312,7 @@ Files::Automation.update(id,
|
|
|
312
312
|
|
|
313
313
|
* `id` (int64): Required - Automation ID.
|
|
314
314
|
* `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.
|
|
315
|
-
* `destinations` (array(string)): A list of
|
|
315
|
+
* `destinations` (array(string)): A list of destination paths. Use a trailing slash for folder destinations and omit it for file destinations.
|
|
316
316
|
* `destination_replace_from` (string): If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
|
317
317
|
* `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.
|
|
318
318
|
* `interval` (string): How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
@@ -383,7 +383,7 @@ automation = Files::Automation.find(id)
|
|
|
383
383
|
|
|
384
384
|
automation.update(
|
|
385
385
|
source: "example",
|
|
386
|
-
destinations: ["folder_a/file_a.txt",
|
|
386
|
+
destinations: ["folder_a/file_a.txt","folder_b/","./relative-folder/"],
|
|
387
387
|
destination_replace_from: "example",
|
|
388
388
|
destination_replace_to: "example",
|
|
389
389
|
interval: "year",
|
|
@@ -422,7 +422,7 @@ automation.update(
|
|
|
422
422
|
|
|
423
423
|
* `id` (int64): Required - Automation ID.
|
|
424
424
|
* `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.
|
|
425
|
-
* `destinations` (array(string)): A list of
|
|
425
|
+
* `destinations` (array(string)): A list of destination paths. Use a trailing slash for folder destinations and omit it for file destinations.
|
|
426
426
|
* `destination_replace_from` (string): If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
|
427
427
|
* `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.
|
|
428
428
|
* `interval` (string): How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
@@ -391,7 +391,7 @@ module Files
|
|
|
391
391
|
|
|
392
392
|
# Parameters:
|
|
393
393
|
# 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.
|
|
394
|
-
# destinations - array(string) - A list of
|
|
394
|
+
# destinations - array(string) - A list of destination paths. Use a trailing slash for folder destinations and omit it for file destinations.
|
|
395
395
|
# destination_replace_from - string - If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
|
396
396
|
# 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.
|
|
397
397
|
# interval - string - How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
@@ -530,7 +530,7 @@ module Files
|
|
|
530
530
|
|
|
531
531
|
# Parameters:
|
|
532
532
|
# 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.
|
|
533
|
-
# destinations - array(string) - A list of
|
|
533
|
+
# destinations - array(string) - A list of destination paths. Use a trailing slash for folder destinations and omit it for file destinations.
|
|
534
534
|
# destination_replace_from - string - If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
|
535
535
|
# 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.
|
|
536
536
|
# interval - string - How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
@@ -610,7 +610,7 @@ module Files
|
|
|
610
610
|
|
|
611
611
|
# Parameters:
|
|
612
612
|
# 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.
|
|
613
|
-
# destinations - array(string) - A list of
|
|
613
|
+
# destinations - array(string) - A list of destination paths. Use a trailing slash for folder destinations and omit it for file destinations.
|
|
614
614
|
# destination_replace_from - string - If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
|
615
615
|
# 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.
|
|
616
616
|
# interval - string - How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
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.574
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- files.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-03-
|
|
11
|
+
date: 2026-03-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|