Skip to content
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

Update some dependencies to upgrade fraday and to work with newer Ruby #24

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

moro
Copy link

@moro moro commented Feb 16, 2024

Revised the version specifications of dependencies to upgrade Faraday to version 2 or later.

  • Removed the dependency on faraday_middleware, which has been deprecated in Faraday 2, and switched to using faraday-multipart for multipart uploads.
  • Made it possible to use a version of rubocop that is compatible with Ruby 3.2 and later.
    • As a result, many warnings are being issued, but we are postponing addressing them for now to suppress the diff.
  • Also made it possible to use the new bundler.

Faraday のバージョンを2以降にアップグレードさせるため、依存関係のバージョン指定を見直しました。

  • Faraday 2系 でdeprecated になった faraday_middleware の依存を消し、マルチパートアップロードのために faraday-multipart を使うようにした
  • Ruby 3.2 以降に対応しているバージョンの rubocop を使えるようにした
    • その結果、警告がたくさん出ていますが、diffを抑制するためにいったん対応は見送っています
  • 新しいbundlerも使えるようにした

to fix YAML.safe_load interface changes.
And use `faraday-multipart` for multipart post
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant