Skip to content

Commit

Permalink
Allow Faraday 1 to work
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrudall committed Apr 25, 2023
1 parent 5d839b4 commit 0894c4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PATH
remote: .
specs:
ruby-openai (3.7.0)
faraday (>= 2)
faraday (>= 1)
faraday-multipart (>= 1)
mime-types (>= 3)

Expand Down
4 changes: 1 addition & 3 deletions ruby-openai.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_dependency "faraday", ">= 2"
spec.add_dependency "faraday", ">= 1"
spec.add_dependency "faraday-multipart", ">= 1"
spec.add_dependency "mime-types", ">= 3"

spec.post_install_message = "Note if upgrading: The `::Ruby::OpenAI` module has been removed and all classes have been moved under the top level `::OpenAI` module. To upgrade, change `require 'ruby/openai'` to `require 'openai'` and change all references to `Ruby::OpenAI` to `OpenAI`."
end

0 comments on commit 0894c4c

Please sign in to comment.