files.com 1.1.596 → 1.1.597
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/sync.md +0 -12
- data/lib/files.com/models/sync.rb +0 -12
- 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: 688e7875040976b74cdc2bf245f054fe4e005125685d27af769ad4a7cb9660c1
|
|
4
|
+
data.tar.gz: 907bfe4f027b890868115ec5adef64664050bbd18b68397fc41d9a730e11ff78
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4393537027f1dc7f5fb31e6789a1202b8b80480af9896179ecf9e3433e6385c5e9fd0bcb774e6a293c05b7e07cb670105426df20c253a504bdea68a5d7a644e6
|
|
7
|
+
data.tar.gz: bf9ccccbb7e6d3d01e3289a2c5afe1ddc355d62c3f8749e535025002b8cc3ae83757268c42f63e992c9175c4ff954c9ea1a1c9bdad071c6a08a72f2af6e52141
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.597
|
data/docs/sync.md
CHANGED
|
@@ -144,7 +144,6 @@ Files::Sync.create(
|
|
|
144
144
|
description: "example",
|
|
145
145
|
dest_path: "example",
|
|
146
146
|
dest_remote_server_id: 1,
|
|
147
|
-
dest_site_id: 1,
|
|
148
147
|
disabled: true,
|
|
149
148
|
exclude_patterns: ["example"],
|
|
150
149
|
holiday_region: "us_dc",
|
|
@@ -158,7 +157,6 @@ Files::Sync.create(
|
|
|
158
157
|
schedule_times_of_day: ["06:30","14:30"],
|
|
159
158
|
src_path: "example",
|
|
160
159
|
src_remote_server_id: 1,
|
|
161
|
-
src_site_id: 1,
|
|
162
160
|
sync_interval_minutes: 1,
|
|
163
161
|
trigger: "example",
|
|
164
162
|
trigger_file: "example",
|
|
@@ -172,7 +170,6 @@ Files::Sync.create(
|
|
|
172
170
|
* `description` (string): Description for this sync job
|
|
173
171
|
* `dest_path` (string): Absolute destination path for the sync
|
|
174
172
|
* `dest_remote_server_id` (int64): Remote server ID for the destination (if remote)
|
|
175
|
-
* `dest_site_id` (int64): Destination site ID if syncing to a child or partner site
|
|
176
173
|
* `disabled` (boolean): Is this sync disabled?
|
|
177
174
|
* `exclude_patterns` (array(string)): Array of glob patterns to exclude
|
|
178
175
|
* `holiday_region` (string): If trigger is `custom_schedule`, the sync will check if there is a formal, observed holiday for the region, and if so, it will not run.
|
|
@@ -186,7 +183,6 @@ Files::Sync.create(
|
|
|
186
183
|
* `schedule_times_of_day` (array(string)): If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. Times of day in HH:MM format.
|
|
187
184
|
* `src_path` (string): Absolute source path for the sync
|
|
188
185
|
* `src_remote_server_id` (int64): Remote server ID for the source (if remote)
|
|
189
|
-
* `src_site_id` (int64): Source site ID if syncing from a child or partner site
|
|
190
186
|
* `sync_interval_minutes` (int64): Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
|
|
191
187
|
* `trigger` (string): Trigger type: daily, custom_schedule, or manual
|
|
192
188
|
* `trigger_file` (string): Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If trigger_file is set, a zero-byte file will be sent at the end of the sync.
|
|
@@ -229,7 +225,6 @@ Files::Sync.update(id,
|
|
|
229
225
|
description: "example",
|
|
230
226
|
dest_path: "example",
|
|
231
227
|
dest_remote_server_id: 1,
|
|
232
|
-
dest_site_id: 1,
|
|
233
228
|
disabled: true,
|
|
234
229
|
exclude_patterns: ["example"],
|
|
235
230
|
holiday_region: "us_dc",
|
|
@@ -243,7 +238,6 @@ Files::Sync.update(id,
|
|
|
243
238
|
schedule_times_of_day: ["06:30","14:30"],
|
|
244
239
|
src_path: "example",
|
|
245
240
|
src_remote_server_id: 1,
|
|
246
|
-
src_site_id: 1,
|
|
247
241
|
sync_interval_minutes: 1,
|
|
248
242
|
trigger: "example",
|
|
249
243
|
trigger_file: "example"
|
|
@@ -257,7 +251,6 @@ Files::Sync.update(id,
|
|
|
257
251
|
* `description` (string): Description for this sync job
|
|
258
252
|
* `dest_path` (string): Absolute destination path for the sync
|
|
259
253
|
* `dest_remote_server_id` (int64): Remote server ID for the destination (if remote)
|
|
260
|
-
* `dest_site_id` (int64): Destination site ID if syncing to a child or partner site
|
|
261
254
|
* `disabled` (boolean): Is this sync disabled?
|
|
262
255
|
* `exclude_patterns` (array(string)): Array of glob patterns to exclude
|
|
263
256
|
* `holiday_region` (string): If trigger is `custom_schedule`, the sync will check if there is a formal, observed holiday for the region, and if so, it will not run.
|
|
@@ -271,7 +264,6 @@ Files::Sync.update(id,
|
|
|
271
264
|
* `schedule_times_of_day` (array(string)): If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. Times of day in HH:MM format.
|
|
272
265
|
* `src_path` (string): Absolute source path for the sync
|
|
273
266
|
* `src_remote_server_id` (int64): Remote server ID for the source (if remote)
|
|
274
|
-
* `src_site_id` (int64): Source site ID if syncing from a child or partner site
|
|
275
267
|
* `sync_interval_minutes` (int64): Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
|
|
276
268
|
* `trigger` (string): Trigger type: daily, custom_schedule, or manual
|
|
277
269
|
* `trigger_file` (string): Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If trigger_file is set, a zero-byte file will be sent at the end of the sync.
|
|
@@ -332,7 +324,6 @@ sync.update(
|
|
|
332
324
|
description: "example",
|
|
333
325
|
dest_path: "example",
|
|
334
326
|
dest_remote_server_id: 1,
|
|
335
|
-
dest_site_id: 1,
|
|
336
327
|
disabled: true,
|
|
337
328
|
exclude_patterns: ["example"],
|
|
338
329
|
holiday_region: "us_dc",
|
|
@@ -346,7 +337,6 @@ sync.update(
|
|
|
346
337
|
schedule_times_of_day: ["06:30","14:30"],
|
|
347
338
|
src_path: "example",
|
|
348
339
|
src_remote_server_id: 1,
|
|
349
|
-
src_site_id: 1,
|
|
350
340
|
sync_interval_minutes: 1,
|
|
351
341
|
trigger: "example",
|
|
352
342
|
trigger_file: "example"
|
|
@@ -360,7 +350,6 @@ sync.update(
|
|
|
360
350
|
* `description` (string): Description for this sync job
|
|
361
351
|
* `dest_path` (string): Absolute destination path for the sync
|
|
362
352
|
* `dest_remote_server_id` (int64): Remote server ID for the destination (if remote)
|
|
363
|
-
* `dest_site_id` (int64): Destination site ID if syncing to a child or partner site
|
|
364
353
|
* `disabled` (boolean): Is this sync disabled?
|
|
365
354
|
* `exclude_patterns` (array(string)): Array of glob patterns to exclude
|
|
366
355
|
* `holiday_region` (string): If trigger is `custom_schedule`, the sync will check if there is a formal, observed holiday for the region, and if so, it will not run.
|
|
@@ -374,7 +363,6 @@ sync.update(
|
|
|
374
363
|
* `schedule_times_of_day` (array(string)): If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. Times of day in HH:MM format.
|
|
375
364
|
* `src_path` (string): Absolute source path for the sync
|
|
376
365
|
* `src_remote_server_id` (int64): Remote server ID for the source (if remote)
|
|
377
|
-
* `src_site_id` (int64): Source site ID if syncing from a child or partner site
|
|
378
366
|
* `sync_interval_minutes` (int64): Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
|
|
379
367
|
* `trigger` (string): Trigger type: daily, custom_schedule, or manual
|
|
380
368
|
* `trigger_file` (string): Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If trigger_file is set, a zero-byte file will be sent at the end of the sync.
|
|
@@ -298,7 +298,6 @@ module Files
|
|
|
298
298
|
# description - string - Description for this sync job
|
|
299
299
|
# dest_path - string - Absolute destination path for the sync
|
|
300
300
|
# dest_remote_server_id - int64 - Remote server ID for the destination (if remote)
|
|
301
|
-
# dest_site_id - int64 - Destination site ID if syncing to a child or partner site
|
|
302
301
|
# disabled - boolean - Is this sync disabled?
|
|
303
302
|
# exclude_patterns - array(string) - Array of glob patterns to exclude
|
|
304
303
|
# holiday_region - string - If trigger is `custom_schedule`, the sync will check if there is a formal, observed holiday for the region, and if so, it will not run.
|
|
@@ -312,7 +311,6 @@ module Files
|
|
|
312
311
|
# schedule_times_of_day - array(string) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. Times of day in HH:MM format.
|
|
313
312
|
# src_path - string - Absolute source path for the sync
|
|
314
313
|
# src_remote_server_id - int64 - Remote server ID for the source (if remote)
|
|
315
|
-
# src_site_id - int64 - Source site ID if syncing from a child or partner site
|
|
316
314
|
# sync_interval_minutes - int64 - Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
|
|
317
315
|
# trigger - string - Trigger type: daily, custom_schedule, or manual
|
|
318
316
|
# trigger_file - string - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If trigger_file is set, a zero-byte file will be sent at the end of the sync.
|
|
@@ -324,7 +322,6 @@ module Files
|
|
|
324
322
|
raise InvalidParameterError.new("Bad parameter: description must be an String") if params[:description] and !params[:description].is_a?(String)
|
|
325
323
|
raise InvalidParameterError.new("Bad parameter: dest_path must be an String") if params[:dest_path] and !params[:dest_path].is_a?(String)
|
|
326
324
|
raise InvalidParameterError.new("Bad parameter: dest_remote_server_id must be an Integer") if params[:dest_remote_server_id] and !params[:dest_remote_server_id].is_a?(Integer)
|
|
327
|
-
raise InvalidParameterError.new("Bad parameter: dest_site_id must be an Integer") if params[:dest_site_id] and !params[:dest_site_id].is_a?(Integer)
|
|
328
325
|
raise InvalidParameterError.new("Bad parameter: exclude_patterns must be an Array") if params[:exclude_patterns] and !params[:exclude_patterns].is_a?(Array)
|
|
329
326
|
raise InvalidParameterError.new("Bad parameter: holiday_region must be an String") if params[:holiday_region] and !params[:holiday_region].is_a?(String)
|
|
330
327
|
raise InvalidParameterError.new("Bad parameter: include_patterns must be an Array") if params[:include_patterns] and !params[:include_patterns].is_a?(Array)
|
|
@@ -336,7 +333,6 @@ module Files
|
|
|
336
333
|
raise InvalidParameterError.new("Bad parameter: schedule_times_of_day must be an Array") if params[:schedule_times_of_day] and !params[:schedule_times_of_day].is_a?(Array)
|
|
337
334
|
raise InvalidParameterError.new("Bad parameter: src_path must be an String") if params[:src_path] and !params[:src_path].is_a?(String)
|
|
338
335
|
raise InvalidParameterError.new("Bad parameter: src_remote_server_id must be an Integer") if params[:src_remote_server_id] and !params[:src_remote_server_id].is_a?(Integer)
|
|
339
|
-
raise InvalidParameterError.new("Bad parameter: src_site_id must be an Integer") if params[:src_site_id] and !params[:src_site_id].is_a?(Integer)
|
|
340
336
|
raise InvalidParameterError.new("Bad parameter: sync_interval_minutes must be an Integer") if params[:sync_interval_minutes] and !params[:sync_interval_minutes].is_a?(Integer)
|
|
341
337
|
raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params[:trigger] and !params[:trigger].is_a?(String)
|
|
342
338
|
raise InvalidParameterError.new("Bad parameter: trigger_file must be an String") if params[:trigger_file] and !params[:trigger_file].is_a?(String)
|
|
@@ -412,7 +408,6 @@ module Files
|
|
|
412
408
|
# description - string - Description for this sync job
|
|
413
409
|
# dest_path - string - Absolute destination path for the sync
|
|
414
410
|
# dest_remote_server_id - int64 - Remote server ID for the destination (if remote)
|
|
415
|
-
# dest_site_id - int64 - Destination site ID if syncing to a child or partner site
|
|
416
411
|
# disabled - boolean - Is this sync disabled?
|
|
417
412
|
# exclude_patterns - array(string) - Array of glob patterns to exclude
|
|
418
413
|
# holiday_region - string - If trigger is `custom_schedule`, the sync will check if there is a formal, observed holiday for the region, and if so, it will not run.
|
|
@@ -426,7 +421,6 @@ module Files
|
|
|
426
421
|
# schedule_times_of_day - array(string) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. Times of day in HH:MM format.
|
|
427
422
|
# src_path - string - Absolute source path for the sync
|
|
428
423
|
# src_remote_server_id - int64 - Remote server ID for the source (if remote)
|
|
429
|
-
# src_site_id - int64 - Source site ID if syncing from a child or partner site
|
|
430
424
|
# sync_interval_minutes - int64 - Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
|
|
431
425
|
# trigger - string - Trigger type: daily, custom_schedule, or manual
|
|
432
426
|
# trigger_file - string - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If trigger_file is set, a zero-byte file will be sent at the end of the sync.
|
|
@@ -435,7 +429,6 @@ module Files
|
|
|
435
429
|
raise InvalidParameterError.new("Bad parameter: description must be an String") if params[:description] and !params[:description].is_a?(String)
|
|
436
430
|
raise InvalidParameterError.new("Bad parameter: dest_path must be an String") if params[:dest_path] and !params[:dest_path].is_a?(String)
|
|
437
431
|
raise InvalidParameterError.new("Bad parameter: dest_remote_server_id must be an Integer") if params[:dest_remote_server_id] and !params[:dest_remote_server_id].is_a?(Integer)
|
|
438
|
-
raise InvalidParameterError.new("Bad parameter: dest_site_id must be an Integer") if params[:dest_site_id] and !params[:dest_site_id].is_a?(Integer)
|
|
439
432
|
raise InvalidParameterError.new("Bad parameter: exclude_patterns must be an Array") if params[:exclude_patterns] and !params[:exclude_patterns].is_a?(Array)
|
|
440
433
|
raise InvalidParameterError.new("Bad parameter: holiday_region must be an String") if params[:holiday_region] and !params[:holiday_region].is_a?(String)
|
|
441
434
|
raise InvalidParameterError.new("Bad parameter: include_patterns must be an Array") if params[:include_patterns] and !params[:include_patterns].is_a?(Array)
|
|
@@ -447,7 +440,6 @@ module Files
|
|
|
447
440
|
raise InvalidParameterError.new("Bad parameter: schedule_times_of_day must be an Array") if params[:schedule_times_of_day] and !params[:schedule_times_of_day].is_a?(Array)
|
|
448
441
|
raise InvalidParameterError.new("Bad parameter: src_path must be an String") if params[:src_path] and !params[:src_path].is_a?(String)
|
|
449
442
|
raise InvalidParameterError.new("Bad parameter: src_remote_server_id must be an Integer") if params[:src_remote_server_id] and !params[:src_remote_server_id].is_a?(Integer)
|
|
450
|
-
raise InvalidParameterError.new("Bad parameter: src_site_id must be an Integer") if params[:src_site_id] and !params[:src_site_id].is_a?(Integer)
|
|
451
443
|
raise InvalidParameterError.new("Bad parameter: sync_interval_minutes must be an Integer") if params[:sync_interval_minutes] and !params[:sync_interval_minutes].is_a?(Integer)
|
|
452
444
|
raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params[:trigger] and !params[:trigger].is_a?(String)
|
|
453
445
|
raise InvalidParameterError.new("Bad parameter: trigger_file must be an String") if params[:trigger_file] and !params[:trigger_file].is_a?(String)
|
|
@@ -484,7 +476,6 @@ module Files
|
|
|
484
476
|
# description - string - Description for this sync job
|
|
485
477
|
# dest_path - string - Absolute destination path for the sync
|
|
486
478
|
# dest_remote_server_id - int64 - Remote server ID for the destination (if remote)
|
|
487
|
-
# dest_site_id - int64 - Destination site ID if syncing to a child or partner site
|
|
488
479
|
# disabled - boolean - Is this sync disabled?
|
|
489
480
|
# exclude_patterns - array(string) - Array of glob patterns to exclude
|
|
490
481
|
# holiday_region - string - If trigger is `custom_schedule`, the sync will check if there is a formal, observed holiday for the region, and if so, it will not run.
|
|
@@ -498,7 +489,6 @@ module Files
|
|
|
498
489
|
# schedule_times_of_day - array(string) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. Times of day in HH:MM format.
|
|
499
490
|
# src_path - string - Absolute source path for the sync
|
|
500
491
|
# src_remote_server_id - int64 - Remote server ID for the source (if remote)
|
|
501
|
-
# src_site_id - int64 - Source site ID if syncing from a child or partner site
|
|
502
492
|
# sync_interval_minutes - int64 - Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
|
|
503
493
|
# trigger - string - Trigger type: daily, custom_schedule, or manual
|
|
504
494
|
# trigger_file - string - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If trigger_file is set, a zero-byte file will be sent at the end of the sync.
|
|
@@ -509,7 +499,6 @@ module Files
|
|
|
509
499
|
raise InvalidParameterError.new("Bad parameter: description must be an String") if params[:description] and !params[:description].is_a?(String)
|
|
510
500
|
raise InvalidParameterError.new("Bad parameter: dest_path must be an String") if params[:dest_path] and !params[:dest_path].is_a?(String)
|
|
511
501
|
raise InvalidParameterError.new("Bad parameter: dest_remote_server_id must be an Integer") if params[:dest_remote_server_id] and !params[:dest_remote_server_id].is_a?(Integer)
|
|
512
|
-
raise InvalidParameterError.new("Bad parameter: dest_site_id must be an Integer") if params[:dest_site_id] and !params[:dest_site_id].is_a?(Integer)
|
|
513
502
|
raise InvalidParameterError.new("Bad parameter: exclude_patterns must be an Array") if params[:exclude_patterns] and !params[:exclude_patterns].is_a?(Array)
|
|
514
503
|
raise InvalidParameterError.new("Bad parameter: holiday_region must be an String") if params[:holiday_region] and !params[:holiday_region].is_a?(String)
|
|
515
504
|
raise InvalidParameterError.new("Bad parameter: include_patterns must be an Array") if params[:include_patterns] and !params[:include_patterns].is_a?(Array)
|
|
@@ -521,7 +510,6 @@ module Files
|
|
|
521
510
|
raise InvalidParameterError.new("Bad parameter: schedule_times_of_day must be an Array") if params[:schedule_times_of_day] and !params[:schedule_times_of_day].is_a?(Array)
|
|
522
511
|
raise InvalidParameterError.new("Bad parameter: src_path must be an String") if params[:src_path] and !params[:src_path].is_a?(String)
|
|
523
512
|
raise InvalidParameterError.new("Bad parameter: src_remote_server_id must be an Integer") if params[:src_remote_server_id] and !params[:src_remote_server_id].is_a?(Integer)
|
|
524
|
-
raise InvalidParameterError.new("Bad parameter: src_site_id must be an Integer") if params[:src_site_id] and !params[:src_site_id].is_a?(Integer)
|
|
525
513
|
raise InvalidParameterError.new("Bad parameter: sync_interval_minutes must be an Integer") if params[:sync_interval_minutes] and !params[:sync_interval_minutes].is_a?(Integer)
|
|
526
514
|
raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params[:trigger] and !params[:trigger].is_a?(String)
|
|
527
515
|
raise InvalidParameterError.new("Bad parameter: trigger_file must be an String") if params[:trigger_file] and !params[:trigger_file].is_a?(String)
|
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.597
|
|
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-04-
|
|
11
|
+
date: 2026-04-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|