files.com 1.0.157 → 1.0.158

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: b0e2eda4242ae65c148cd2ee69e2871bdd647c63ee349d0866ec5726611021f7
4
- data.tar.gz: 73ba063ec212d51ed014ce83e468027ec82aaa06c9a28e93a93c4cc1d8d9bf60
3
+ metadata.gz: d8a100f45b1174b6eae8c341db6d5c9b098c704a3b5cdcfa0c22ecd3e61d33b5
4
+ data.tar.gz: af94c8541f7f85148844f955b9c19fe6729a9955f2902ffcb7ec9bb65c22f421
5
5
  SHA512:
6
- metadata.gz: 75692aadbde4b0b91b6530f1bd961219d9f450eb704c08fbd8317635fe7aaa7d1898863898c97664e8c79cb61fae29a5afbdeea260347fbcec4a025a2af6d5b7
7
- data.tar.gz: 482a93a97bdb177af3597e3143d30b1d8fc0be92ab91245954ed5b307084daafaba0419d6ad35231762126fec66f15cfc3d1a7dc3b8264a138938ce235c8206c
6
+ metadata.gz: 2b9f2a09ded08bb006c60baca0898c0ff4afebbcdca9d637803bcd2037c0b11f5a3c0e7fe558c2e6269ebefb91a741f968db117a9e343b40e4cf4eeab306abf8
7
+ data.tar.gz: af1d77a612e7938f275c12fe616b70dcfdbf34d78bff0f6464d12a44ef7d3f49b363b1750eca1b059582e0f95825d44ef0584a925e5d3892fc6c966adbb60f53
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.157
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.157
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-07 00:00:00.000000000 Z
11
+ date: 2021-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable