-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge 4.4.0 release to main #156
Conversation
Previously, if an error from the API was returned while polling for updates on a file, it would continue polling. I updated it so that it raises a RequestError if the API returns an error status. If not, it raises a RetryError, which is swallowed by the retry gem's `with_retries` block. Example of an error that led to continued polling: ``` {"status":"error","error":"File validation error: Uploading of these file types is not allowed.","error_code":"DownloadFileValidationFailedError"} ```
Fix namespace for service Add spec for upload_from_url Fix requiring of SignatureGenerator and location of tests
7eba0c2
to
931d8fa
Compare
@@ -2,106 +2,131 @@ | |||
|
|||
require 'spec_helper' | |||
|
|||
module Uploadcare |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are mostly whitespace changes. Better diff view available here: https://github.com/uploadcare/uploadcare-ruby/pull/156/files?diff=split&w=1#diff-927717518ecbedcd1649c3a325798166ecf1e10b4736a26820fb09170f211505
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added dots. Just feels right for me. :-)
Co-authored-by: Roman Sedykh <[email protected]>
Description
Checklist