files.com 1.1.181 → 1.1.183

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: 9d4f6bb4d8c37277cf76eaa80ab764d3c82333bb117060d618ae6e83ab175daa
4
- data.tar.gz: acc44789a3ec348833cd9ac592b9f0f8457a4c81dc9c9e43e15e54c1bedc2267
3
+ metadata.gz: 1f1d4a3612c36c070eb39088c5f41b7290e33e2a056a58fe06026d61609ae93e
4
+ data.tar.gz: 4bca153f7a9b7c6093025aa5a053156ffa5eb43df5795ddbc63cd10e7ce7672c
5
5
  SHA512:
6
- metadata.gz: b2e338ccc57a8a85ff0d51a7dd5d5fcec373ffa51cd38b3b4f91de67e3f9abbcd232a4cb6e93a360f03f364b30d7bd76c4585f4a535e85acb8f9093162ccc3cc
7
- data.tar.gz: 37425d3ea3cc962f73bd8a4811b25c9d29b11881ae67d43192cc0210f7c82b4d787a342cdd07154f5b759505855e1768add27d9f02e06ccf487838c8c7c86847
6
+ metadata.gz: eb1f9cb7eaa3121e5831fb759261809d8f068bd79afcfbd9afeeb5762e9ddb49ea59fa963514d1bda3a074371d578494ff9a128ac2da976525f953e9e37053df
7
+ data.tar.gz: 63867ced6e208758ff179a40b8e16679c487ec1af9a70acee6d1f3025c3c21b21f3fbfa90d6ab49d9bf35f0b35c53027ade856a0f1a922fb4b50fa3ee739615b
data/README.md CHANGED
@@ -499,7 +499,25 @@ Files::FolderAdminPermissionRequiredError -> Files::NotAuthorizedError -> Files:
499
499
  |`TrialLockedError`| `SiteConfigurationError` |
500
500
  |`UserRequestsEnabledRequiredError`| `SiteConfigurationError` |
501
501
 
502
- ## Examples
502
+ ## Mock Server
503
+
504
+ Files.com publishes a Files.com API server, which is useful for testing your use of the Files.com
505
+ SDKs and other direct integrations against the Files.com API in an integration test environment.
506
+
507
+ It is a Ruby app that operates as a minimal server for the purpose of testing basic network
508
+ operations and JSON encoding for your SDK or API client. It does not maintain state and it does not
509
+ deeply inspect your submissions for correctness.
510
+
511
+ Eventually we will add more features intended for integration testing, such as the ability to
512
+ intentionally provoke errors.
513
+
514
+ Download the server as a Docker image via [Docker Hub](https://hub.docker.com/r/filescom/files-mock-server).
515
+
516
+ The Source Code is also available on [GitHub](https://github.com/Files-com/files-mock-server).
517
+
518
+ A README is available on the GitHub link.
519
+
520
+ ## File/Folder Operations
503
521
 
504
522
  ### File Operations
505
523
 
@@ -533,21 +551,3 @@ end
533
551
  ```ruby
534
552
  Files::File.find("foo.txt").read
535
553
  ```
536
-
537
- ## Mock Server
538
-
539
- Files.com publishes a Files.com API server, which is useful for testing your use of the Files.com
540
- SDKs and other direct integrations against the Files.com API in an integration test environment.
541
-
542
- It is a Ruby app that operates as a minimal server for the purpose of testing basic network
543
- operations and JSON encoding for your SDK or API client. It does not maintain state and it does not
544
- deeply inspect your submissions for correctness.
545
-
546
- Eventually we will add more features intended for integration testing, such as the ability to
547
- intentionally provoke errors.
548
-
549
- Download the server as a Docker image via [Docker Hub](https://hub.docker.com/r/filescom/files-mock-server).
550
-
551
- The Source Code is also available on [GitHub](https://github.com/Files-com/files-mock-server).
552
-
553
- A README is available on the GitHub link.
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.181
1
+ 1.1.183
data/docs/automation.md CHANGED
@@ -201,7 +201,7 @@ Files::Automation.create(
201
201
 
202
202
  ---
203
203
 
204
- ## Manually run automation
204
+ ## Manually Run Automation
205
205
 
206
206
  ```
207
207
  Files::Automation.manual_run(id)
@@ -295,7 +295,7 @@ Files::Automation.delete(id)
295
295
 
296
296
  ---
297
297
 
298
- ## Manually run automation
298
+ ## Manually Run Automation
299
299
 
300
300
  ```
301
301
  automation = Files::Automation.find(id)
data/docs/behavior.md CHANGED
@@ -112,7 +112,7 @@ Files::Behavior.create(
112
112
 
113
113
  ---
114
114
 
115
- ## Test webhook
115
+ ## Test Webhook
116
116
 
117
117
  ```
118
118
  Files::Behavior.webhook_test(
data/docs/dns_record.md CHANGED
@@ -19,7 +19,7 @@
19
19
 
20
20
  ---
21
21
 
22
- ## Show site DNS configuration
22
+ ## Show Site DNS Configuration
23
23
 
24
24
  ```
25
25
  Files::DnsRecord.list
data/docs/file.md CHANGED
@@ -101,7 +101,7 @@ may places where a Ruby File object can be used.
101
101
 
102
102
  ---
103
103
 
104
- ## Download file
104
+ ## Download File
105
105
 
106
106
  ```
107
107
  Files::File.download(path,
@@ -121,7 +121,7 @@ Files::File.download(path,
121
121
 
122
122
  ---
123
123
 
124
- ## Upload file
124
+ ## Upload File
125
125
 
126
126
  ```
127
127
  Files::File.create(path,
@@ -156,7 +156,7 @@ Files::File.create(path,
156
156
 
157
157
  ---
158
158
 
159
- ## Update file/folder metadata
159
+ ## Update File/Folder Metadata
160
160
 
161
161
  ```
162
162
  Files::File.update(path,
@@ -176,7 +176,7 @@ Files::File.update(path,
176
176
 
177
177
  ---
178
178
 
179
- ## Delete file/folder
179
+ ## Delete File/Folder
180
180
 
181
181
  ```
182
182
  Files::File.delete(path,
@@ -192,7 +192,7 @@ Files::File.delete(path,
192
192
 
193
193
  ---
194
194
 
195
- ## Find file/folder by path
195
+ ## Find File/Folder by Path
196
196
 
197
197
  ```
198
198
  Files::File.find(path,
@@ -211,7 +211,7 @@ Files::File.find(path,
211
211
 
212
212
  ---
213
213
 
214
- ## Copy file/folder
214
+ ## Copy File/Folder
215
215
 
216
216
  ```
217
217
  Files::File.copy(path,
@@ -231,7 +231,7 @@ Files::File.copy(path,
231
231
 
232
232
  ---
233
233
 
234
- ## Move file/folder
234
+ ## Move File/Folder
235
235
 
236
236
  ```
237
237
  Files::File.move(path,
@@ -277,7 +277,7 @@ Files::File.begin_upload(path,
277
277
 
278
278
  ---
279
279
 
280
- ## Download file
280
+ ## Download File
281
281
 
282
282
  ```
283
283
  file = Files::File.find(path)
@@ -299,7 +299,7 @@ file.download(
299
299
 
300
300
  ---
301
301
 
302
- ## Update file/folder metadata
302
+ ## Update File/Folder Metadata
303
303
 
304
304
  ```
305
305
  file = Files::File.find(path)
@@ -321,7 +321,7 @@ file.update(
321
321
 
322
322
  ---
323
323
 
324
- ## Delete file/folder
324
+ ## Delete File/Folder
325
325
 
326
326
  ```
327
327
  file = Files::File.find(path)
@@ -339,7 +339,7 @@ file.delete(
339
339
 
340
340
  ---
341
341
 
342
- ## Copy file/folder
342
+ ## Copy File/Folder
343
343
 
344
344
  ```
345
345
  file = Files::File.find(path)
@@ -361,7 +361,7 @@ file.copy(
361
361
 
362
362
  ---
363
363
 
364
- ## Move file/folder
364
+ ## Move File/Folder
365
365
 
366
366
  ```
367
367
  file = Files::File.find(path)
data/docs/folder.md CHANGED
@@ -121,7 +121,7 @@ Files::Folder.list_for(path,
121
121
 
122
122
  ---
123
123
 
124
- ## Create folder
124
+ ## Create Folder
125
125
 
126
126
  ```
127
127
  Files::Folder.create(path,
data/docs/site.md CHANGED
@@ -472,7 +472,7 @@
472
472
 
473
473
  ---
474
474
 
475
- ## Show site settings
475
+ ## Show Site Settings
476
476
 
477
477
  ```
478
478
  Files::Site.get
@@ -490,7 +490,7 @@ Files::Site.get_usage
490
490
 
491
491
  ---
492
492
 
493
- ## Update site settings
493
+ ## Update Site Settings
494
494
 
495
495
  ```
496
496
  Files::Site.update(
@@ -315,7 +315,7 @@ module Files
315
315
  @attributes[:webhook_url] = value
316
316
  end
317
317
 
318
- # Manually run automation
318
+ # Manually Run Automation
319
319
  def manual_run(params = {})
320
320
  params ||= {}
321
321
  params[:id] = @attributes[:id]
@@ -510,7 +510,7 @@ module Files
510
510
  Automation.new(response.data, options)
511
511
  end
512
512
 
513
- # Manually run automation
513
+ # Manually Run Automation
514
514
  def self.manual_run(id, params = {}, options = {})
515
515
  params ||= {}
516
516
  params[:id] = id
@@ -958,7 +958,7 @@ module Files
958
958
  @attributes[:with_rename] = value
959
959
  end
960
960
 
961
- # Download file
961
+ # Download File
962
962
  #
963
963
  # Parameters:
964
964
  # action - string - Can be blank, `redirect` or `stat`. If set to `stat`, we will return file information but without a download URL, and without logging a download. If set to `redirect` we will serve a 302 redirect directly to the file. This is used for integrations with Zapier, and is not recommended for most integrations.
@@ -1010,7 +1010,7 @@ module Files
1010
1010
  nil
1011
1011
  end
1012
1012
 
1013
- # Copy file/folder
1013
+ # Copy File/Folder
1014
1014
  #
1015
1015
  # Parameters:
1016
1016
  # destination (required) - string - Copy destination path.
@@ -1028,7 +1028,7 @@ module Files
1028
1028
  Api.send_request("/file_actions/copy/#{@attributes[:path]}", :post, params, @options)
1029
1029
  end
1030
1030
 
1031
- # Move file/folder
1031
+ # Move File/Folder
1032
1032
  #
1033
1033
  # Parameters:
1034
1034
  # destination (required) - string - Move destination path.
@@ -1076,7 +1076,7 @@ module Files
1076
1076
  true
1077
1077
  end
1078
1078
 
1079
- # Download file
1079
+ # Download File
1080
1080
  #
1081
1081
  # Parameters:
1082
1082
  # action - string - Can be blank, `redirect` or `stat`. If set to `stat`, we will return file information but without a download URL, and without logging a download. If set to `redirect` we will serve a 302 redirect directly to the file. This is used for integrations with Zapier, and is not recommended for most integrations.
@@ -1183,7 +1183,7 @@ module Files
1183
1183
  find(path, params, options)
1184
1184
  end
1185
1185
 
1186
- # Copy file/folder
1186
+ # Copy File/Folder
1187
1187
  #
1188
1188
  # Parameters:
1189
1189
  # destination (required) - string - Copy destination path.
@@ -1201,7 +1201,7 @@ module Files
1201
1201
  FileAction.new(response.data, options)
1202
1202
  end
1203
1203
 
1204
- # Move file/folder
1204
+ # Move File/Folder
1205
1205
  #
1206
1206
  # Parameters:
1207
1207
  # destination (required) - string - Move destination path.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.181"
4
+ VERSION = "1.1.183"
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.181
4
+ version: 1.1.183
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-11-22 00:00:00.000000000 Z
11
+ date: 2024-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable