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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d211bebb3152e3380fc6a3fbc37b75cc2ad62fb8646c841784cb8e242793e122
4
- data.tar.gz: 875ac8bde0a70f88cca370a8cb3cc69c900d2bd6edb40bccfcb26ab07e1bccb9
3
+ metadata.gz: '09fe9ec64d6bccea37581924287f96413501211d00ebc88c92f25f11c4d19acc'
4
+ data.tar.gz: 8fe1355ef9c6119cbda97b96412ac5e505c449bd9b0d9e4218235bfd55a86a43
5
5
  SHA512:
6
- metadata.gz: e8bcc68068261577d43702d52e140af2ee5445c640cbbea44bd708801166993850769ad726726094a589e476ab7281f0fe15d7cb2e0445c5d2ec2e0911bd9fe7
7
- data.tar.gz: 32683514100816d56e20ad3026fab8049bd8b87410865b5b86fc60534edabe9d21da17852b9d7238ba14692810af995fd5a1862368cc3a0e4b9034f2a12a784f
6
+ metadata.gz: 5470a0634481cb5f42100bdfbba69672ab19e6446e9b271ce4626b56c4e77444c8f231ce8365a1e094282f7cc0665b212ebe99c1fdabdfe38bb07e69df491dfc
7
+ data.tar.gz: 92ac9da35846a004b7f8ec8deb1add7bc881109fd3147cc31d1536146c9944d04f55a66080482196295d0a5bafb872487eb84b3030688d9f6ba7abfc139531f2
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.573
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",{"folder_path":"folder_b","file_path":"file_b.txt"},{"folder_path":"folder_c"}],
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 String destination paths or Hash of folder_path and optional file_path.
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",{"folder_path":"folder_b","file_path":"file_b.txt"},{"folder_path":"folder_c"}],
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 String destination paths or Hash of folder_path and optional file_path.
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",{"folder_path":"folder_b","file_path":"file_b.txt"},{"folder_path":"folder_c"}],
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 String destination paths or Hash of folder_path and optional file_path.
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 String destination paths or Hash of folder_path and optional file_path.
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 String destination paths or Hash of folder_path and optional file_path.
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 String destination paths or Hash of folder_path and optional file_path.
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`
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.573"
4
+ VERSION = "1.1.574"
5
5
  end
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.573
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-03 00:00:00.000000000 Z
11
+ date: 2026-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable