-
Notifications
You must be signed in to change notification settings - Fork 1
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
Bump faraday-retry from 2.2.0 to 2.2.1 #618
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem compare faraday-retry 2.2.0 2.2.1 Compared versions: ["2.2.0", "2.2.1"]
DIFFERENT date:
2.2.0: 2023-06-01 00:00:00 UTC
2.2.1: 2024-04-15 00:00:00 UTC
DIFFERENT metadata:
2.2.0: {"bug_tracker_uri"=>"https://github.com/lostisland/faraday-retry/issues", "changelog_uri"=>"https://github.com/lostisland/faraday-retry/blob/v2.2.0/CHANGELOG.md", "documentation_uri"=>"http://www.rubydoc.info/gems/faraday-retry/2.2.0", "homepage_uri"=>"https://github.com/lostisland/faraday-retry", "source_code_uri"=>"https://github.com/lostisland/faraday-retry"}
2.2.1: {"bug_tracker_uri"=>"https://github.com/lostisland/faraday-retry/issues", "changelog_uri"=>"https://github.com/lostisland/faraday-retry/blob/v2.2.1/CHANGELOG.md", "documentation_uri"=>"http://www.rubydoc.info/gems/faraday-retry/2.2.1", "homepage_uri"=>"https://github.com/lostisland/faraday-retry", "source_code_uri"=>"https://github.com/lostisland/faraday-retry"}
DIFFERENT version:
2.2.0: 2.2.0
2.2.1: 2.2.1
DIFFERENT files:
2.2.0->2.2.1:
* Changed:
CHANGELOG.md +9/-0
README.md +10/-4
lib/faraday/retry/middleware.rb +4/-4
lib/faraday/retry/version.rb +1/-1 |
gem compare --diff faraday-retry 2.2.0 2.2.1 Compared versions: ["2.2.0", "2.2.1"]
DIFFERENT files:
2.2.0->2.2.1:
* Changed:
CHANGELOG.md
--- /tmp/d20240416-1807-313vrs/faraday-retry-2.2.0/CHANGELOG.md 2024-04-16 02:20:28.626596415 +0000
+++ /tmp/d20240416-1807-313vrs/faraday-retry-2.2.1/CHANGELOG.md 2024-04-16 02:20:28.626596415 +0000
@@ -2,0 +3,6 @@
+## Unreleased
+
+* Avoid deprecation warning about ::UploadIO constant when used without faraday-multipart gem [PR #37](https://github.com/lostisland/faraday-retry/pull/37) [@iMacTia]
+* Documentation update [PR #30](https://github.com/lostisland/faraday-retry/pull/30) [@olleolleolle]
+* Documentation update [PR #32](https://github.com/lostisland/faraday-retry/pull/32) Thanks, [@Drowze]!
+
@@ -36,0 +43,3 @@
+[@Drowze]: https://github.com/Drowze
+[@olleolleolle]: https://github.com/olleolleolle
+[@iMacTia]: https://github.com/iMacTia
README.md
--- /tmp/d20240416-1807-313vrs/faraday-retry-2.2.0/README.md 2024-04-16 02:20:28.626596415 +0000
+++ /tmp/d20240416-1807-313vrs/faraday-retry-2.2.1/README.md 2024-04-16 02:20:28.630596407 +0000
@@ -78 +78 @@
-the default list of network-related exceptions: `Errno::ETIMEDOUT`, `Timeout::Error`, `Faraday::TimeoutError`.
+the default exceptions: `Errno::ETIMEDOUT`, `Timeout::Error`, `Faraday::TimeoutError`, `Faraday::Error::RetriableResponse`.
@@ -86,0 +87,8 @@
+If you want to inherit default exceptions, do it this way.
+
+```ruby
+retry_options = {
+ exceptions: Faraday::Retry::Middleware::DEFAULT_EXCEPTIONS + [Faraday::ResourceNotFound, Faraday::UnauthorizedError]
+}
+```
+
@@ -147 +154,0 @@
-
@@ -150 +156,0 @@
-
@@ -180 +186 @@
-[raise_error]: https://lostisland.github.io/faraday/middleware/raise-error
+[raise_error]: https://lostisland.github.io/faraday/#/middleware/included/raising-errors
lib/faraday/retry/middleware.rb
--- /tmp/d20240416-1807-313vrs/faraday-retry-2.2.0/lib/faraday/retry/middleware.rb 2024-04-16 02:20:28.626596415 +0000
+++ /tmp/d20240416-1807-313vrs/faraday-retry-2.2.1/lib/faraday/retry/middleware.rb 2024-04-16 02:20:28.630596407 +0000
@@ -98,2 +98,2 @@
- # @option options [Array] :methods (the idempotent HTTP methods
- # in IDEMPOTENT_METHODS) A list of HTTP methods to retry without
+ # @option options [Array<Symbol>] :methods (the idempotent HTTP methods
+ # in IDEMPOTENT_METHODS) A list of HTTP methods, as symbols, to retry without
@@ -212 +212 @@
- return unless defined?(UploadIO)
+ return unless defined?(Faraday::UploadIO)
@@ -216 +216 @@
- value.rewind if value.is_a?(UploadIO)
+ value.rewind if value.is_a?(Faraday::UploadIO)
lib/faraday/retry/version.rb
--- /tmp/d20240416-1807-313vrs/faraday-retry-2.2.0/lib/faraday/retry/version.rb 2024-04-16 02:20:28.626596415 +0000
+++ /tmp/d20240416-1807-313vrs/faraday-retry-2.2.1/lib/faraday/retry/version.rb 2024-04-16 02:20:28.630596407 +0000
@@ -5 +5 @@
- VERSION = '2.2.0'
+ VERSION = '2.2.1' |
dependabot
bot
force-pushed
the
dependabot/bundler/faraday-retry-2.2.1
branch
from
April 26, 2024 17:09
0aa1e44
to
0416f73
Compare
Bumps [faraday-retry](https://github.com/lostisland/faraday-retry) from 2.2.0 to 2.2.1. - [Release notes](https://github.com/lostisland/faraday-retry/releases) - [Changelog](https://github.com/lostisland/faraday-retry/blob/main/CHANGELOG.md) - [Commits](lostisland/faraday-retry@v2.2.0...v2.2.1) --- updated-dependencies: - dependency-name: faraday-retry dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
dependabot
bot
force-pushed
the
dependabot/bundler/faraday-retry-2.2.1
branch
from
April 26, 2024 17:16
0416f73
to
306520a
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bumps faraday-retry from 2.2.0 to 2.2.1.
Release notes
Sourced from faraday-retry's releases.
Changelog
Sourced from faraday-retry's changelog.
Commits
7506f91
v2.2.11a7ae96
CHANGELOG.md: Add unreleased code [ci skip]8056d24
Bump actions/checkout from 3 to 42b3fba5
CI: Tell dependabot to update GH Actionsce15807
Check forFaraday::UploadIO
while rewindingf1929d9
Add instructions on how to inherit the default exceptions to the README0b769c4
Add missing default exceptions1be9551
Add Ruby 3.3 to CI matrix6b1419f
Update docs reference to RaiseError middleware (#32)41b7ea2
Document "methods" type as symbols [ci skip] (#30)You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)