Skip to content

Commit

Permalink
Merge pull request #3 from andreibondarev/relax-faraday-dep
Browse files Browse the repository at this point in the history
Relax `faraday` dep
  • Loading branch information
andreibondarev authored May 10, 2023
2 parents 9d03d22 + e7447f2 commit d6bb060
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 8 deletions.
15 changes: 9 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -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/
Expand All @@ -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)
Expand Down
1 change: 1 addition & 0 deletions lib/qdrant/client.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# frozen_string_literal: true

require "faraday"
require "faraday_middleware"
require "forwardable"

module Qdrant
Expand Down
2 changes: 1 addition & 1 deletion lib/qdrant/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Qdrant
VERSION = "0.9.1"
VERSION = "0.9.2"
end
3 changes: 2 additions & 1 deletion qdrant.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit d6bb060

Please sign in to comment.