files.com 1.1.582 → 1.1.584

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a549dddfbda1d0a57320e4a032ef6f6de5813b370341d6d89819b6fa699f74e
4
- data.tar.gz: 8f6f9b4fa5630b4a3e6a4d30f15d3b54069e7278bc646d3807f063a3fb5e6307
3
+ metadata.gz: 399d304d2c98204d465ad03d72e5df9f3ebdbea359f3e55bde756c686e98c166
4
+ data.tar.gz: 28069a5212effbe750041db772a33aa781c4562b1f2d93a75a8cbdf1e94df5f5
5
5
  SHA512:
6
- metadata.gz: 61a41ec94811c953466ce6f3301bc69bea411696db394f77ff599269b901809ee0f37f36bb14a5a20810dc68c4f069c75b4f9a5d5785e73232663139ddf392f2
7
- data.tar.gz: a24663d88ede1e0812acbd0cc1333e29e522eeb4112d1527a2f20c4d50396f5b51a267a215861662bf73391b5e0642bbf0d811788ca7406771e58a01a876a00c
6
+ metadata.gz: 0ec58f19be8e362d73afd6f28f26cfba5f85b8e20fcdff683716dc7570aff0fc819b99e545978b6d89f90bbd65aabaa4856536f6f299f364d69109be96a44c85
7
+ data.tar.gz: 1fbd7ea5d2608d4695f82f25222ecc9db74153927ef700cdad51b0fa906ef79f7e1d3c4064ea9b20e9d8b565894cbd46c2b334f3879f70c07592c33ff9d0acd8
data/README.md CHANGED
@@ -159,7 +159,9 @@ The Ruby SDK is configured by setting attributes on the `Files` object.
159
159
 
160
160
  #### Base URL
161
161
 
162
- Setting the base URL for the API is required if your site is configured to disable global acceleration.
162
+ Set this to the full https:// URL of your Files.com subdomain (e.g. `https://MY-SUBDOMAIN.files.com`).
163
+ This is not required in most cases, but one benefit of setting it is that it ensures that authentication failures will be logged to your site's API logs. Without setting this, we won't know which site to associate the authentication failure with, and it won't be logged to your site's API logs.
164
+ This is always required if your site is configured to disable global acceleration.
163
165
  This can also be set to use a mock server in development or CI.
164
166
 
165
167
  ```ruby title="Example setting"
@@ -563,6 +565,7 @@ Files::FolderAdminPermissionRequiredError -> Files::NotAuthorizedError -> Files:
563
565
  |`PasswordChangeNotRequiredError`| `NotAuthorizedError` |
564
566
  |`PasswordChangeRequiredError`| `NotAuthorizedError` |
565
567
  |`PaymentMethodErrorError`| `NotAuthorizedError` |
568
+ |`PreviewOnlyPermissionCannotDownloadError`| `NotAuthorizedError` |
566
569
  |`ReadOnlySessionError`| `NotAuthorizedError` |
567
570
  |`ReadPermissionRequiredError`| `NotAuthorizedError` |
568
571
  |`ReauthenticationFailedError`| `NotAuthorizedError` |
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.582
1
+ 1.1.584
@@ -143,6 +143,7 @@ module Files
143
143
  class PasswordChangeNotRequiredError < NotAuthorizedError; end
144
144
  class PasswordChangeRequiredError < NotAuthorizedError; end
145
145
  class PaymentMethodErrorError < NotAuthorizedError; end
146
+ class PreviewOnlyPermissionCannotDownloadError < NotAuthorizedError; end
146
147
  class ReadOnlySessionError < NotAuthorizedError; end
147
148
  class ReadPermissionRequiredError < NotAuthorizedError; end
148
149
  class ReauthenticationFailedError < NotAuthorizedError; end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.582"
4
+ VERSION = "1.1.584"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.582
4
+ version: 1.1.584
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com