files.com 1.1.271 → 1.1.272
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 +8 -8
- data/lib/files.com/models/sync.rb +15 -15
- data/lib/files.com/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 660e90f86bb6515684f25f05a84edcbe49bdb09f3b37e47681a31088856f4066
|
4
|
+
data.tar.gz: 253b1d7d06359b7b12ff70144b2f553181c06623a42f12cefc1dfa8681218220
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 285ea0c211e68a4e8e83a025f62e6657c63795bb68cc5102fb643fcc0958a25c7e50b44fb28e5ed237b5573ed9bf4fff51471159552df01996e210045a72ca7b
|
7
|
+
data.tar.gz: fe66071fd1f2629e1862cdd2416af987db7e34b3b6d8295fcdf013f6055dd44b6ed6393f03119b3d84170113441f648ed6cdf9247c69590fd2fcdfc51cdf8992
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.272
|
data/docs/sync.md
CHANGED
@@ -17,7 +17,6 @@
|
|
17
17
|
"keep_after_copy": true,
|
18
18
|
"delete_empty_folders": true,
|
19
19
|
"disabled": true,
|
20
|
-
"interval": "week",
|
21
20
|
"trigger": "example",
|
22
21
|
"trigger_file": "example",
|
23
22
|
"include_patterns": [
|
@@ -29,6 +28,7 @@
|
|
29
28
|
"created_at": "2000-01-01T01:00:00Z",
|
30
29
|
"updated_at": "2000-01-01T01:00:00Z",
|
31
30
|
"sync_interval_minutes": 1,
|
31
|
+
"interval": "week",
|
32
32
|
"recurring_day": 25,
|
33
33
|
"schedule_days_of_week": [
|
34
34
|
0,
|
@@ -56,7 +56,6 @@
|
|
56
56
|
* `keep_after_copy` (boolean): Keep files after copying?
|
57
57
|
* `delete_empty_folders` (boolean): Delete empty folders after sync?
|
58
58
|
* `disabled` (boolean): Is this sync disabled?
|
59
|
-
* `interval` (string): If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
60
59
|
* `trigger` (string): Trigger type: daily, custom_schedule, or manual
|
61
60
|
* `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.
|
62
61
|
* `include_patterns` (array(string)): Array of glob patterns to include
|
@@ -64,6 +63,7 @@
|
|
64
63
|
* `created_at` (date-time): When this sync was created
|
65
64
|
* `updated_at` (date-time): When this sync was last updated
|
66
65
|
* `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.
|
66
|
+
* `interval` (string): If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
67
67
|
* `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`.
|
68
68
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
69
69
|
* `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.
|
@@ -113,7 +113,7 @@ Files::Sync.create(
|
|
113
113
|
keep_after_copy: false,
|
114
114
|
delete_empty_folders: false,
|
115
115
|
disabled: false,
|
116
|
-
interval:
|
116
|
+
interval: "week",
|
117
117
|
trigger: "example",
|
118
118
|
trigger_file: "example",
|
119
119
|
recurring_day: 25,
|
@@ -135,7 +135,7 @@ Files::Sync.create(
|
|
135
135
|
* `keep_after_copy` (boolean): Keep files after copying?
|
136
136
|
* `delete_empty_folders` (boolean): Delete empty folders after sync?
|
137
137
|
* `disabled` (boolean): Is this sync disabled?
|
138
|
-
* `interval` (
|
138
|
+
* `interval` (string): If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
139
139
|
* `trigger` (string): Trigger type: daily, custom_schedule, or manual
|
140
140
|
* `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.
|
141
141
|
* `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`.
|
@@ -169,7 +169,7 @@ Files::Sync.update(id,
|
|
169
169
|
keep_after_copy: false,
|
170
170
|
delete_empty_folders: false,
|
171
171
|
disabled: false,
|
172
|
-
interval:
|
172
|
+
interval: "week",
|
173
173
|
trigger: "example",
|
174
174
|
trigger_file: "example",
|
175
175
|
recurring_day: 25,
|
@@ -192,7 +192,7 @@ Files::Sync.update(id,
|
|
192
192
|
* `keep_after_copy` (boolean): Keep files after copying?
|
193
193
|
* `delete_empty_folders` (boolean): Delete empty folders after sync?
|
194
194
|
* `disabled` (boolean): Is this sync disabled?
|
195
|
-
* `interval` (
|
195
|
+
* `interval` (string): If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
196
196
|
* `trigger` (string): Trigger type: daily, custom_schedule, or manual
|
197
197
|
* `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.
|
198
198
|
* `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`.
|
@@ -232,7 +232,7 @@ sync.update(
|
|
232
232
|
keep_after_copy: false,
|
233
233
|
delete_empty_folders: false,
|
234
234
|
disabled: false,
|
235
|
-
interval:
|
235
|
+
interval: "week",
|
236
236
|
trigger: "example",
|
237
237
|
trigger_file: "example",
|
238
238
|
recurring_day: 25,
|
@@ -255,7 +255,7 @@ sync.update(
|
|
255
255
|
* `keep_after_copy` (boolean): Keep files after copying?
|
256
256
|
* `delete_empty_folders` (boolean): Delete empty folders after sync?
|
257
257
|
* `disabled` (boolean): Is this sync disabled?
|
258
|
-
* `interval` (
|
258
|
+
* `interval` (string): If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
259
259
|
* `trigger` (string): Trigger type: daily, custom_schedule, or manual
|
260
260
|
* `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.
|
261
261
|
* `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`.
|
@@ -126,15 +126,6 @@ module Files
|
|
126
126
|
@attributes[:disabled] = value
|
127
127
|
end
|
128
128
|
|
129
|
-
# string - If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
130
|
-
def interval
|
131
|
-
@attributes[:interval]
|
132
|
-
end
|
133
|
-
|
134
|
-
def interval=(value)
|
135
|
-
@attributes[:interval] = value
|
136
|
-
end
|
137
|
-
|
138
129
|
# string - Trigger type: daily, custom_schedule, or manual
|
139
130
|
def trigger
|
140
131
|
@attributes[:trigger]
|
@@ -190,6 +181,15 @@ module Files
|
|
190
181
|
@attributes[:sync_interval_minutes] = value
|
191
182
|
end
|
192
183
|
|
184
|
+
# string - If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
185
|
+
def interval
|
186
|
+
@attributes[:interval]
|
187
|
+
end
|
188
|
+
|
189
|
+
def interval=(value)
|
190
|
+
@attributes[:interval] = value
|
191
|
+
end
|
192
|
+
|
193
193
|
# int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
194
194
|
def recurring_day
|
195
195
|
@attributes[:recurring_day]
|
@@ -237,7 +237,7 @@ module Files
|
|
237
237
|
# keep_after_copy - boolean - Keep files after copying?
|
238
238
|
# delete_empty_folders - boolean - Delete empty folders after sync?
|
239
239
|
# disabled - boolean - Is this sync disabled?
|
240
|
-
# interval -
|
240
|
+
# interval - string - If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
241
241
|
# trigger - string - Trigger type: daily, custom_schedule, or manual
|
242
242
|
# 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.
|
243
243
|
# 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`.
|
@@ -255,7 +255,7 @@ module Files
|
|
255
255
|
raise InvalidParameterError.new("Bad parameter: dest_path must be an String") if params[:dest_path] and !params[:dest_path].is_a?(String)
|
256
256
|
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)
|
257
257
|
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)
|
258
|
-
raise InvalidParameterError.new("Bad parameter: interval must be an
|
258
|
+
raise InvalidParameterError.new("Bad parameter: interval must be an String") if params[:interval] and !params[:interval].is_a?(String)
|
259
259
|
raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params[:trigger] and !params[:trigger].is_a?(String)
|
260
260
|
raise InvalidParameterError.new("Bad parameter: trigger_file must be an String") if params[:trigger_file] and !params[:trigger_file].is_a?(String)
|
261
261
|
raise InvalidParameterError.new("Bad parameter: recurring_day must be an Integer") if params[:recurring_day] and !params[:recurring_day].is_a?(Integer)
|
@@ -336,7 +336,7 @@ module Files
|
|
336
336
|
# keep_after_copy - boolean - Keep files after copying?
|
337
337
|
# delete_empty_folders - boolean - Delete empty folders after sync?
|
338
338
|
# disabled - boolean - Is this sync disabled?
|
339
|
-
# interval -
|
339
|
+
# interval - string - If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
340
340
|
# trigger - string - Trigger type: daily, custom_schedule, or manual
|
341
341
|
# 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.
|
342
342
|
# 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`.
|
@@ -350,7 +350,7 @@ module Files
|
|
350
350
|
raise InvalidParameterError.new("Bad parameter: dest_path must be an String") if params[:dest_path] and !params[:dest_path].is_a?(String)
|
351
351
|
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)
|
352
352
|
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)
|
353
|
-
raise InvalidParameterError.new("Bad parameter: interval must be an
|
353
|
+
raise InvalidParameterError.new("Bad parameter: interval must be an String") if params[:interval] and !params[:interval].is_a?(String)
|
354
354
|
raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params[:trigger] and !params[:trigger].is_a?(String)
|
355
355
|
raise InvalidParameterError.new("Bad parameter: trigger_file must be an String") if params[:trigger_file] and !params[:trigger_file].is_a?(String)
|
356
356
|
raise InvalidParameterError.new("Bad parameter: recurring_day must be an Integer") if params[:recurring_day] and !params[:recurring_day].is_a?(Integer)
|
@@ -378,7 +378,7 @@ module Files
|
|
378
378
|
# keep_after_copy - boolean - Keep files after copying?
|
379
379
|
# delete_empty_folders - boolean - Delete empty folders after sync?
|
380
380
|
# disabled - boolean - Is this sync disabled?
|
381
|
-
# interval -
|
381
|
+
# interval - string - If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
382
382
|
# trigger - string - Trigger type: daily, custom_schedule, or manual
|
383
383
|
# 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.
|
384
384
|
# 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`.
|
@@ -395,7 +395,7 @@ module Files
|
|
395
395
|
raise InvalidParameterError.new("Bad parameter: dest_path must be an String") if params[:dest_path] and !params[:dest_path].is_a?(String)
|
396
396
|
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)
|
397
397
|
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)
|
398
|
-
raise InvalidParameterError.new("Bad parameter: interval must be an
|
398
|
+
raise InvalidParameterError.new("Bad parameter: interval must be an String") if params[:interval] and !params[:interval].is_a?(String)
|
399
399
|
raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params[:trigger] and !params[:trigger].is_a?(String)
|
400
400
|
raise InvalidParameterError.new("Bad parameter: trigger_file must be an String") if params[:trigger_file] and !params[:trigger_file].is_a?(String)
|
401
401
|
raise InvalidParameterError.new("Bad parameter: recurring_day must be an Integer") if params[:recurring_day] and !params[:recurring_day].is_a?(Integer)
|
data/lib/files.com/version.rb
CHANGED