files.com 1.1.140 → 1.1.141

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 40a1b51d40ecbed007cd7b0bebe75b86317df92d3a025b41387b8256b03c90e1
4
- data.tar.gz: b98f34c68e642fd4a49b2a5317d82378b4f30e7c7ff35f3909a0a71719741484
3
+ metadata.gz: b77edd04efc6c1da8fef4acf1fb5e9afa83104e6d93468032a3e3105034f52e3
4
+ data.tar.gz: e9a8b187095561b8cdd7f795abad690059b66fa74fecc7c08f78a8ea33673f99
5
5
  SHA512:
6
- metadata.gz: 9ab8d5eb278299687588706b456a4c4a5cd6bf3c099d8e838fcd25514997fc3fa54ddf35b1d208e4955d6c3d44cf72ec80e6a318faab2b9dc4e9c7ac7b23ac77
7
- data.tar.gz: d1fd648fa1ca77561a11b6076fa513f3f9d6fc704a3be6b79c7c560d0a88e866385b594935c686555d585a35a260c05ed8694332a1ec2616fb19f94037f18b0c
6
+ metadata.gz: 0f9283ee0adf583c5868961365e923a6988295759f729f076a0d278e08b23ca07ee1c23581c32eb2428868519d209dcee5af2d473907f352fe1d8b07c3cc28a0
7
+ data.tar.gz: e781ec4025134754637cd08d38d7cbff4625c330aedfb8c584290ce40491d06c697d5dcf62a8e4356c9287658382bfd3e9397c34440e93ca28d438985af29d15
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.140
1
+ 1.1.141
data/docs/automation.md CHANGED
@@ -15,6 +15,7 @@
15
15
  "destination"
16
16
  ],
17
17
  "disabled": true,
18
+ "exclude_pattern": "example",
18
19
  "flatten_destination_structure": true,
19
20
  "group_ids": [
20
21
  1,
@@ -71,6 +72,7 @@
71
72
  * `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.
72
73
  * `destinations` (array(string)): Destination Paths
73
74
  * `disabled` (boolean): If true, this automation will not run.
75
+ * `exclude_pattern` (string): If set, this glob pattern will exclude files from the automation. Supports globs, except on remote mounts.
74
76
  * `flatten_destination_structure` (boolean): Normally copy and move automations that use globs will implicitly preserve the source folder structure in the destination. If this flag is `true`, the source folder structure will be flattened in the destination. This is useful for copying or moving files from multiple folders into a single destination folder.
75
77
  * `group_ids` (array(int64)): IDs of Groups for the Automation (i.e. who to Request File from)
76
78
  * `ignore_locked_folders` (boolean): If true, the Lock Folders behavior will be disregarded for automated actions.
@@ -87,7 +89,7 @@
87
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.
88
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.
89
91
  * `schedule_time_zone` (string): If trigger is `custom_schedule`, Custom schedule Time Zone for when the automation should be run.
90
- * `source` (string): Source Path
92
+ * `source` (string): Source path. Supports globs, except on remote mounts.
91
93
  * `sync_ids` (array(int64)): IDs of remote sync folder behaviors to run by this Automation
92
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
93
95
  * `trigger` (string): How this automation is triggered to run.
@@ -90,6 +90,15 @@ module Files
90
90
  @attributes[:disabled] = value
91
91
  end
92
92
 
93
+ # string - If set, this glob pattern will exclude files from the automation. Supports globs, except on remote mounts.
94
+ def exclude_pattern
95
+ @attributes[:exclude_pattern]
96
+ end
97
+
98
+ def exclude_pattern=(value)
99
+ @attributes[:exclude_pattern] = value
100
+ end
101
+
93
102
  # boolean - Normally copy and move automations that use globs will implicitly preserve the source folder structure in the destination. If this flag is `true`, the source folder structure will be flattened in the destination. This is useful for copying or moving files from multiple folders into a single destination folder.
94
103
  def flatten_destination_structure
95
104
  @attributes[:flatten_destination_structure]
@@ -234,7 +243,7 @@ module Files
234
243
  @attributes[:schedule_time_zone] = value
235
244
  end
236
245
 
237
- # string - Source Path
246
+ # string - Source path. Supports globs, except on remote mounts.
238
247
  def source
239
248
  @attributes[:source]
240
249
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.140"
4
+ VERSION = "1.1.141"
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.140
4
+ version: 1.1.141
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-25 00:00:00.000000000 Z
11
+ date: 2024-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable