files.com 1.1.34 → 1.1.35

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: b6a5a83fc2a30a2da9edb6dc6f2ca83ea3101647c91a654d4c9e509a77bbfe27
4
- data.tar.gz: ad54b1d3fdc3e2fd8559920d0a3104ee01b798e86f4cf55e5dac21d848acbe8a
3
+ metadata.gz: 9a31a916150c9211fe59fc4322ebad2012722d3efff38b60ef3a9a80211b6536
4
+ data.tar.gz: a1e69cbb9e21ce9acb30681033b331a7b9f8ff74f80e12f605df2b46c326251a
5
5
  SHA512:
6
- metadata.gz: b4154009b8ff423f948378a0aa4c49eb79f180993a5ab03353a7d38da775844d52ceb5bf4261047763e6d20c3a0a9c492b5a070b0ca8c494fc275bbe8b88d183
7
- data.tar.gz: a70d60ccd0249f97c9373a2846dbe35aa90c3f0eee4762e7a4211b134aa1cfe14c862186c26381034553da6d715ba85d0865e34bcfb41c9de64d87a41adfbb42
6
+ metadata.gz: 79cc896408411492f66898c2f40d428466588331502adaffa050993df41b40322182d8613556fe3c9ca57893a93a6c64a804d2bd5fce8542c609f3952b8735d2
7
+ data.tar.gz: a1d5832ce30a7aeaad325c3882499cabed46a10954835e4a9afa4aa58125d4721e334c88bbf9d492af50a0bf5b7990fed677ff2a84592c4127bb6bedcd7299ee
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.34
1
+ 1.1.35
data/docs/automation.md CHANGED
@@ -19,9 +19,11 @@
19
19
  1,
20
20
  2
21
21
  ],
22
+ "ignore_locked_folders": true,
22
23
  "interval": "week",
23
24
  "last_modified_at": "2000-01-01T01:00:00Z",
24
25
  "name": "example",
26
+ "overwrite_files": true,
25
27
  "path": "example",
26
28
  "recurring_day": 25,
27
29
  "schedule": "example",
@@ -67,9 +69,11 @@
67
69
  * `destinations` (array): Destination Paths
68
70
  * `disabled` (boolean): If true, this automation will not run.
69
71
  * `group_ids` (array): IDs of Groups for the Automation (i.e. who to Request File from)
72
+ * `ignore_locked_folders` (boolean): If true, the Lock Folders behavior will be disregarded for automated actions.
70
73
  * `interval` (string): If trigger is `daily`, this specifies how often to run this automation. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
71
74
  * `last_modified_at` (date-time): Time when automation was last modified. Does not change for name or description updates.
72
75
  * `name` (string): Name for this automation.
76
+ * `overwrite_files` (boolean): If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
73
77
  * `path` (string): Path on which this Automation runs. Supports globs, except on remote mounts. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
74
78
  * `recurring_day` (int64): If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
75
79
  * `schedule` (object): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run in json format.
@@ -146,7 +150,9 @@ Files::Automation.create(
146
150
  always_overwrite_size_matching_files: true,
147
151
  description: "example",
148
152
  disabled: true,
153
+ ignore_locked_folders: true,
149
154
  name: "example",
155
+ overwrite_files: true,
150
156
  trigger: "daily",
151
157
  trigger_actions: ["create"],
152
158
  value: {"limit":"1"},
@@ -173,7 +179,9 @@ Files::Automation.create(
173
179
  * `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.
174
180
  * `description` (string): Description for the this Automation.
175
181
  * `disabled` (boolean): If true, this automation will not run.
182
+ * `ignore_locked_folders` (boolean): If true, the Lock Folders behavior will be disregarded for automated actions.
176
183
  * `name` (string): Name for this automation.
184
+ * `overwrite_files` (boolean): If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
177
185
  * `trigger` (string): How this automation is triggered to run.
178
186
  * `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
179
187
  * `value` (object): A Hash of attributes specific to the automation type.
@@ -215,7 +223,9 @@ Files::Automation.update(id,
215
223
  always_overwrite_size_matching_files: true,
216
224
  description: "example",
217
225
  disabled: true,
226
+ ignore_locked_folders: true,
218
227
  name: "example",
228
+ overwrite_files: true,
219
229
  trigger: "daily",
220
230
  trigger_actions: ["create"],
221
231
  value: {"limit":"1"},
@@ -243,7 +253,9 @@ Files::Automation.update(id,
243
253
  * `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.
244
254
  * `description` (string): Description for the this Automation.
245
255
  * `disabled` (boolean): If true, this automation will not run.
256
+ * `ignore_locked_folders` (boolean): If true, the Lock Folders behavior will be disregarded for automated actions.
246
257
  * `name` (string): Name for this automation.
258
+ * `overwrite_files` (boolean): If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
247
259
  * `trigger` (string): How this automation is triggered to run.
248
260
  * `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
249
261
  * `value` (object): A Hash of attributes specific to the automation type.
@@ -302,7 +314,9 @@ automation.update(
302
314
  always_overwrite_size_matching_files: true,
303
315
  description: "example",
304
316
  disabled: true,
317
+ ignore_locked_folders: true,
305
318
  name: "example",
319
+ overwrite_files: true,
306
320
  trigger: "daily",
307
321
  trigger_actions: ["create"],
308
322
  value: {"limit":"1"},
@@ -330,7 +344,9 @@ automation.update(
330
344
  * `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.
331
345
  * `description` (string): Description for the this Automation.
332
346
  * `disabled` (boolean): If true, this automation will not run.
347
+ * `ignore_locked_folders` (boolean): If true, the Lock Folders behavior will be disregarded for automated actions.
333
348
  * `name` (string): Name for this automation.
349
+ * `overwrite_files` (boolean): If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
334
350
  * `trigger` (string): How this automation is triggered to run.
335
351
  * `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
336
352
  * `value` (object): A Hash of attributes specific to the automation type.
@@ -99,6 +99,15 @@ module Files
99
99
  @attributes[:group_ids] = value
100
100
  end
101
101
 
102
+ # boolean - If true, the Lock Folders behavior will be disregarded for automated actions.
103
+ def ignore_locked_folders
104
+ @attributes[:ignore_locked_folders]
105
+ end
106
+
107
+ def ignore_locked_folders=(value)
108
+ @attributes[:ignore_locked_folders] = value
109
+ end
110
+
102
111
  # string - If trigger is `daily`, this specifies how often to run this automation. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
103
112
  def interval
104
113
  @attributes[:interval]
@@ -126,6 +135,15 @@ module Files
126
135
  @attributes[:name] = value
127
136
  end
128
137
 
138
+ # boolean - If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
139
+ def overwrite_files
140
+ @attributes[:overwrite_files]
141
+ end
142
+
143
+ def overwrite_files=(value)
144
+ @attributes[:overwrite_files] = value
145
+ end
146
+
129
147
  # string - Path on which this Automation runs. Supports globs, except on remote mounts. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
130
148
  def path
131
149
  @attributes[:path]
@@ -298,7 +316,9 @@ module Files
298
316
  # 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.
299
317
  # description - string - Description for the this Automation.
300
318
  # disabled - boolean - If true, this automation will not run.
319
+ # ignore_locked_folders - boolean - If true, the Lock Folders behavior will be disregarded for automated actions.
301
320
  # name - string - Name for this automation.
321
+ # overwrite_files - boolean - If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
302
322
  # trigger - string - How this automation is triggered to run.
303
323
  # 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
304
324
  # value - object - A Hash of attributes specific to the automation type.
@@ -421,7 +441,9 @@ module Files
421
441
  # 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.
422
442
  # description - string - Description for the this Automation.
423
443
  # disabled - boolean - If true, this automation will not run.
444
+ # ignore_locked_folders - boolean - If true, the Lock Folders behavior will be disregarded for automated actions.
424
445
  # name - string - Name for this automation.
446
+ # overwrite_files - boolean - If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
425
447
  # trigger - string - How this automation is triggered to run.
426
448
  # 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
427
449
  # value - object - A Hash of attributes specific to the automation type.
@@ -482,7 +504,9 @@ module Files
482
504
  # 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.
483
505
  # description - string - Description for the this Automation.
484
506
  # disabled - boolean - If true, this automation will not run.
507
+ # ignore_locked_folders - boolean - If true, the Lock Folders behavior will be disregarded for automated actions.
485
508
  # name - string - Name for this automation.
509
+ # overwrite_files - boolean - If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
486
510
  # trigger - string - How this automation is triggered to run.
487
511
  # 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
488
512
  # value - object - A Hash of attributes specific to the automation type.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.34"
4
+ VERSION = "1.1.35"
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.34
4
+ version: 1.1.35
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-04-08 00:00:00.000000000 Z
11
+ date: 2024-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable