diff --git a/Gemfile.lock b/Gemfile.lock index 82b8955..179cccd 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,8 +1,9 @@ PATH remote: . specs: - qdrant-ruby (0.9.1) - faraday (~> 2.7) + qdrant-ruby (0.9.2) + faraday (~> 1) + faraday_middleware (~> 1) GEM remote: https://rubygems.org/ @@ -11,13 +12,15 @@ GEM byebug (11.1.3) coderay (1.1.3) diff-lcs (1.5.0) - faraday (2.7.4) - faraday-net_http (>= 2.0, < 3.1) - ruby2_keywords (>= 0.0.4) - faraday-net_http (3.0.2) + faraday (1.2.0) + multipart-post (>= 1.2, < 3) + ruby2_keywords + faraday_middleware (1.2.0) + faraday (~> 1.0) json (2.6.3) language_server-protocol (3.17.0.3) method_source (1.0.0) + multipart-post (2.3.0) parallel (1.22.1) parser (3.2.1.1) ast (~> 2.4.1) diff --git a/lib/qdrant/client.rb b/lib/qdrant/client.rb index fac7fe2..3b69a0d 100644 --- a/lib/qdrant/client.rb +++ b/lib/qdrant/client.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true require "faraday" +require "faraday_middleware" require "forwardable" module Qdrant diff --git a/lib/qdrant/version.rb b/lib/qdrant/version.rb index 3904c7f..0c0b49d 100644 --- a/lib/qdrant/version.rb +++ b/lib/qdrant/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Qdrant - VERSION = "0.9.1" + VERSION = "0.9.2" end diff --git a/qdrant.gemspec b/qdrant.gemspec index 20ec82d..4cad136 100644 --- a/qdrant.gemspec +++ b/qdrant.gemspec @@ -35,6 +35,7 @@ Gem::Specification.new do |spec| # For more information and examples about making a new gem, check out our # guide at: https://bundler.io/guides/creating_gem.html - spec.add_dependency "faraday", "~> 2.7" + spec.add_dependency "faraday", "~> 1" + spec.add_dependency "faraday_middleware", "~> 1" spec.add_development_dependency "pry-byebug", "~> 3.9" end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index b138011..22581b6 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,7 +1,10 @@ # frozen_string_literal: true +require "json" +require "ostruct" require "qdrant" require "faraday" +require "faraday_middleware" RSpec.configure do |config| # Enable flags like --only-failures and --next-failure