-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Address ruby 2.7 deprecation warnings (#53)
* Address ruby 2.7 keyword argument warnings 1. Must explicitly pass a hash when a function accepts both keyword args and a hash parameter. 2. Must explicitly convert hash to keyword args with ** when passing a hash as keyword arguments. * Update faraday Currently the Gemfile is locked 0.15.4, while the gemspec allows 0.13.x - 0.17.x, excluding some bad 0.16 releases. This 0.15.4 version contains various deprecation warnings under ruby 2.7: > warning: Capturing the given block using Proc.new is deprecated; > use `&block` instead Update the Gemfile to point to the latest 0.x version, which is 0.17.3. Disallow 0.17.1 in the gemspec, which has some error class hierarchy changes (which were reverted in 0.17.3) that break tests. For more details, see https://github.com/lostisland/faraday/blob/master/CHANGELOG.md
- Loading branch information
Showing
5 changed files
with
23 additions
and
32 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