Skip to content
This repository was archived by the owner on Oct 9, 2023. It is now read-only.

Relieve the version requirements of faraday gem to use faraday-1.x - #27

Closed
9toon wants to merge 6 commits into
airbnb:masterfrom
9toon:feature/support-faraday-1.0
Closed

Relieve the version requirements of faraday gem to use faraday-1.x #27
9toon wants to merge 6 commits into
airbnb:masterfrom
9toon:feature/support-faraday-1.0

Conversation

@9toon

Copy link
Copy Markdown

This PR contains these changes.

  • Relieve the version specification on faraday gem in order to use it with v1.x.
    • webmock gem is also updated to fix an incompatibility with faraday v1.x
  • Add test targets(Ruby 2.4, 2.5, 2.6, 2.7)

Concerns

Migrating faraday 0.8 to 1.x has significant breaking changes.
ref: https://github.com/lostisland/faraday/blob/master/UPGRADING.md#faraday-10

Should we upgrade hypernova-ruby to 2.0?
If so, I think we can drop support for old Ruby versions reached to EOL for easy maintenance.
For instance, json-1.8 gem which hypernova-ruby uses produces a deprecated warning on Ruby 2.7. But json-2.x doesn't support Ruby 1.9.
ref: https://github.com/flori/json/blob/v2.5.1/json.gemspec#L68

@9toon
9toonforce-pushed the feature/support-faraday-1.0 branch 2 times, most recently from 3f0f16a to 5adf88eCompareFebruary 23, 2021 08:28
@9toon
9toonforce-pushed the feature/support-faraday-1.0 branch from 5adf88e to 4baea0aCompareFebruary 23, 2021 08:28
@9toon
9toonforce-pushed the feature/support-faraday-1.0 branch from fc4df86 to b2bb4aeCompareFebruary 23, 2021 09:03
@9toon
9toonforce-pushed the feature/support-faraday-1.0 branch from 030110f to a94ce5cCompareFebruary 23, 2021 09:29
@9toon

Copy link
Copy Markdown
Author

oops, I realized that faraday 1.x only supports Ruby 2.3 or later!! 😇
https://github.com/lostisland/faraday/blob/v1.0.0/faraday.gemspec#L19

@9toon9toon mentioned this pull request Feb 28, 2021
@9toon9toon closed this Feb 28, 2021
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@9toon