-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Faraday 2 support for opensearch-transport 2 (#76)
* Faraday 2 support for opensearch-transport 2 - Support Faraday 1.x and 2.x in opensearch-transport. - Made client autodetection not break if the detected HTTP client is there but the associated Faraday adapter is not. - Made the test setup require the referenced adapters. - Made it more clear in the README that Faraday uses adapters. [Fixes #59] Signed-off-by: Brian Hawley <[email protected]> * Additional requested fixes - The Ruby < 2.7, Faraday 2+, and Typhoeus combination doesn't work. Adjusted the README and test setup accordingly. - Fix the MiniTest transport test setup. - Add extra opensearch-transport tests to the matrix for Faraday 1. Signed-off-by: Brian Hawley <[email protected]> * More requested fixes - Use Gem::Version comparison. - Fix the faraday-typhoeus links. Signed-off-by: Brian Hawley <[email protected]> * More fixes and requested changes - Move the Faraday 1 tests to their own job. - Don't reference faraday-typhoeus during Faraday 1 tests. - Use ENV.key?('FARADAY_VERSION'). Signed-off-by: Brian Hawley <[email protected]> * Make the version checks backwards compatible Signed-off-by: Brian Hawley <[email protected]>
- Loading branch information
1 parent
da00f4b
commit 60840f7
Showing
7 changed files
with
91 additions
and
18 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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