From 2057a8ad3da28efc4b6527e702fe3b45e9a4a78a Mon Sep 17 00:00:00 2001 From: Raj Mirpuri <19713518+itstheraj@users.noreply.github.com> Date: Tue, 30 Jul 2024 14:03:13 -0700 Subject: [PATCH] Works with minimum 1.10 version - tested --- .github/workflows/main.yml | 2 +- groq.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 94837a3..e9e2e80 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,4 +33,4 @@ jobs: - name: Run the default task run: bundle exec rake - name: Run the test suite with lower Faraday versions - run: FARADAY_VERSION=1.0.0 bin/setup && bundle exec rake test \ No newline at end of file + run: FARADAY_VERSION=1.10.3 bin/setup && bundle exec rake test \ No newline at end of file diff --git a/groq.gemspec b/groq.gemspec index d27f62e..9c9850a 100644 --- a/groq.gemspec +++ b/groq.gemspec @@ -33,7 +33,7 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - spec.add_dependency "faraday", ENV['FARADAY_VERSION'] || ">= 1.0" + spec.add_dependency "faraday", ENV['FARADAY_VERSION'] || ">= 1.10.0" spec.add_dependency "json" spec.add_dependency "activesupport", "> 5" # for Concerns spec.add_dependency "event_stream_parser", "~> 1.0"