algolia/algoliasearch-client-ruby

Allow usage with 1.x versions of the Faraday gem

ronocod opened this issue · 0 comments

  • Algolia Client Version: 2.0.0
  • Language Version: 2.6

Description

We use the Sentry gem which depends on version 1.x of the Faraday gem. Because of this it looks like we can't upgrade from v1 of this gem to v2, due to this gem depending on version 0.x of Faraday. Would it be possible to allow 1.x versions of Faraday?

Steps To Reproduce

  • Run bundle init in a new directory
  • Run bundle add sentry-raven to add the Sentry gem
  • Run bundle add algolia to add this gem. Bundler raises this error:
Bundler could not find compatible versions for gem "faraday":
  In snapshot (Gemfile.lock):
    faraday (= 1.1.0)

  In Gemfile:
    algolia was resolved to 2.0.0, which depends on
      faraday (~> 0.15)

    sentry-raven was resolved to 3.1.1, which depends on
      faraday (>= 1.0)