files.com 1.0.157 → 1.0.158
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/automation.md +4 -8
- data/lib/files.com/models/automation.rb +12 -12
- 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: d8a100f45b1174b6eae8c341db6d5c9b098c704a3b5cdcfa0c22ecd3e61d33b5
|
4
|
+
data.tar.gz: af94c8541f7f85148844f955b9c19fe6729a9955f2902ffcb7ec9bb65c22f421
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b9f2a09ded08bb006c60baca0898c0ff4afebbcdca9d637803bcd2037c0b11f5a3c0e7fe558c2e6269ebefb91a741f968db117a9e343b40e4cf4eeab306abf8
|
7
|
+
data.tar.gz: af1d77a612e7938f275c12fe616b70dcfdbf34d78bff0f6464d12a44ef7d3f49b363b1750eca1b059582e0f95825d44ef0584a925e5d3892fc6c966adbb60f53
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.158
|
data/docs/automation.md
CHANGED
@@ -22,7 +22,6 @@
|
|
22
22
|
"time_zone": "Eastern Time (US & Canada)"
|
23
23
|
},
|
24
24
|
"source": "",
|
25
|
-
"destination": "",
|
26
25
|
"destinations": [
|
27
26
|
"destination"
|
28
27
|
],
|
@@ -52,7 +51,6 @@
|
|
52
51
|
* `next_process_on` (string): If trigger is `daily`, date this automation will next run.
|
53
52
|
* `schedule` (object): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run.
|
54
53
|
* `source` (string): Source Path
|
55
|
-
* `destination` (string): DEPRECATED: Destination Path
|
56
54
|
* `destinations` (string): Destination Path
|
57
55
|
* `destination_replace_from` (string): If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
58
56
|
* `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.
|
@@ -64,6 +62,7 @@
|
|
64
62
|
* `trigger_actions` (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
|
65
63
|
* `trigger_action_path` (string): If trigger is `action`, this is the path to watch for the specified trigger actions.
|
66
64
|
* `value` (object): A Hash of attributes specific to the automation type.
|
65
|
+
* `destination` (string): DEPRECATED: Destination Path. Use `destinations` instead.
|
67
66
|
|
68
67
|
|
69
68
|
---
|
@@ -112,7 +111,6 @@ Files::Automation.find(id)
|
|
112
111
|
Files::Automation.create(
|
113
112
|
automation: "create_folder",
|
114
113
|
source: "source",
|
115
|
-
destination: "destination",
|
116
114
|
destinations: "[\"folder_a/file_a.txt\", {\"folder_path\":\"folder_b\", \"file_path\":\"file_b.txt\"}, {\"folder_path\":\"folder_c\"}]",
|
117
115
|
interval: "year",
|
118
116
|
user_ids: [1,2],
|
@@ -129,7 +127,7 @@ Files::Automation.create(
|
|
129
127
|
|
130
128
|
* `automation` (string): Required - Automation type
|
131
129
|
* `source` (string): Source Path
|
132
|
-
* `destination` (string): DEPRECATED: Destination Path
|
130
|
+
* `destination` (string): DEPRECATED: Destination Path. Use `destinations` instead.
|
133
131
|
* `destinations` (array(string)): A list of String destination paths or Hash of folder_path and optional file_path.
|
134
132
|
* `destination_replace_from` (string): If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
135
133
|
* `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.
|
@@ -152,7 +150,6 @@ Files::Automation.create(
|
|
152
150
|
Files::Automation.update(id,
|
153
151
|
automation: "create_folder",
|
154
152
|
source: "source",
|
155
|
-
destination: "destination",
|
156
153
|
destinations: "[\"folder_a/file_a.txt\", {\"folder_path\":\"folder_b\", \"file_path\":\"file_b.txt\"}, {\"folder_path\":\"folder_c\"}]",
|
157
154
|
interval: "year",
|
158
155
|
user_ids: [1,2],
|
@@ -170,7 +167,7 @@ Files::Automation.update(id,
|
|
170
167
|
* `id` (int64): Required - Automation ID.
|
171
168
|
* `automation` (string): Required - Automation type
|
172
169
|
* `source` (string): Source Path
|
173
|
-
* `destination` (string): DEPRECATED: Destination Path
|
170
|
+
* `destination` (string): DEPRECATED: Destination Path. Use `destinations` instead.
|
174
171
|
* `destinations` (array(string)): A list of String destination paths or Hash of folder_path and optional file_path.
|
175
172
|
* `destination_replace_from` (string): If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
176
173
|
* `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.
|
@@ -208,7 +205,6 @@ automation = Files::Automation.list_for(path).first
|
|
208
205
|
automation.update(
|
209
206
|
automation: "create_folder",
|
210
207
|
source: "source",
|
211
|
-
destination: "destination",
|
212
208
|
destinations: "[\"folder_a/file_a.txt\", {\"folder_path\":\"folder_b\", \"file_path\":\"file_b.txt\"}, {\"folder_path\":\"folder_c\"}]",
|
213
209
|
interval: "year",
|
214
210
|
user_ids: [1,2],
|
@@ -226,7 +222,7 @@ automation.update(
|
|
226
222
|
* `id` (int64): Required - Automation ID.
|
227
223
|
* `automation` (string): Required - Automation type
|
228
224
|
* `source` (string): Source Path
|
229
|
-
* `destination` (string): DEPRECATED: Destination Path
|
225
|
+
* `destination` (string): DEPRECATED: Destination Path. Use `destinations` instead.
|
230
226
|
* `destinations` (array(string)): A list of String destination paths or Hash of folder_path and optional file_path.
|
231
227
|
* `destination_replace_from` (string): If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
232
228
|
* `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,15 +72,6 @@ module Files
|
|
72
72
|
@attributes[:source] = value
|
73
73
|
end
|
74
74
|
|
75
|
-
# string - DEPRECATED: Destination Path
|
76
|
-
def destination
|
77
|
-
@attributes[:destination]
|
78
|
-
end
|
79
|
-
|
80
|
-
def destination=(value)
|
81
|
-
@attributes[:destination] = value
|
82
|
-
end
|
83
|
-
|
84
75
|
# string - Destination Path
|
85
76
|
def destinations
|
86
77
|
@attributes[:destinations]
|
@@ -180,10 +171,19 @@ module Files
|
|
180
171
|
@attributes[:value] = value
|
181
172
|
end
|
182
173
|
|
174
|
+
# string - DEPRECATED: Destination Path. Use `destinations` instead.
|
175
|
+
def destination
|
176
|
+
@attributes[:destination]
|
177
|
+
end
|
178
|
+
|
179
|
+
def destination=(value)
|
180
|
+
@attributes[:destination] = value
|
181
|
+
end
|
182
|
+
|
183
183
|
# Parameters:
|
184
184
|
# automation (required) - string - Automation type
|
185
185
|
# source - string - Source Path
|
186
|
-
# destination - string - DEPRECATED: Destination Path
|
186
|
+
# destination - string - DEPRECATED: Destination Path. Use `destinations` instead.
|
187
187
|
# destinations - array(string) - A list of String destination paths or Hash of folder_path and optional file_path.
|
188
188
|
# destination_replace_from - string - If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
189
189
|
# 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.
|
@@ -294,7 +294,7 @@ module Files
|
|
294
294
|
# Parameters:
|
295
295
|
# automation (required) - string - Automation type
|
296
296
|
# source - string - Source Path
|
297
|
-
# destination - string - DEPRECATED: Destination Path
|
297
|
+
# destination - string - DEPRECATED: Destination Path. Use `destinations` instead.
|
298
298
|
# destinations - array(string) - A list of String destination paths or Hash of folder_path and optional file_path.
|
299
299
|
# destination_replace_from - string - If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
300
300
|
# 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.
|
@@ -332,7 +332,7 @@ module Files
|
|
332
332
|
# Parameters:
|
333
333
|
# automation (required) - string - Automation type
|
334
334
|
# source - string - Source Path
|
335
|
-
# destination - string - DEPRECATED: Destination Path
|
335
|
+
# destination - string - DEPRECATED: Destination Path. Use `destinations` instead.
|
336
336
|
# destinations - array(string) - A list of String destination paths or Hash of folder_path and optional file_path.
|
337
337
|
# destination_replace_from - string - If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
338
338
|
# 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.
|
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.0.
|
4
|
+
version: 1.0.158
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-04-
|
11
|
+
date: 2021-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|