`Faraday::Connection#authorization` is deprecated
Discovered via Sidekiq deprecation watcher: https://log.gprd.gitlab.net/goto/dcec0d70-a62d-11ed-9f43-e3784d7fe3ca
Warning:
WARNING: `Faraday::Connection#authorization` is deprecated; it will be removed in version 2.0.
While initializing your connection, use `#request(:authorization, ...)` instead.
See https://lostisland.github.io/faraday/middleware/authentication for more usage info.
Proposal
Preferred solution: Remove the asana
gem and replace the one call where it's used with a regular Gitlab::HTTP
call.
Alternative: Update asana
gem to the latest version (2.0.2
)
Edited by Martin Wortschack