From a9a63e464dd41df8beae6a6fe52612fdbbc0badd Mon Sep 17 00:00:00 2001 From: Shojiro Yanagisawa Date: Tue, 24 Oct 2023 22:15:29 +0900 Subject: [PATCH] Require faraday v2 --- lib/line_notify_client.rb | 1 - lib/line_notify_client/version.rb | 2 +- line_notify_client.gemspec | 7 +++---- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/line_notify_client.rb b/lib/line_notify_client.rb index b9a7ecf..2531414 100644 --- a/lib/line_notify_client.rb +++ b/lib/line_notify_client.rb @@ -1,7 +1,6 @@ # frozen_string_literal: true require 'faraday' -require 'faraday_middleware' require 'line_notify_client/error' require 'line_notify_client/http_client' diff --git a/lib/line_notify_client/version.rb b/lib/line_notify_client/version.rb index f5ce362..f44d412 100644 --- a/lib/line_notify_client/version.rb +++ b/lib/line_notify_client/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module LineNotify - VERSION = '1.0.1' + VERSION = '1.1.0' end diff --git a/line_notify_client.gemspec b/line_notify_client.gemspec index e50cce1..41884f0 100644 --- a/line_notify_client.gemspec +++ b/line_notify_client.gemspec @@ -19,10 +19,9 @@ Gem::Specification.new do |s| end s.require_paths = ["lib"] - s.add_dependency 'faraday', '>= 1.0.0' - s.add_dependency 'faraday_middleware', '>= 1.0.0' + s.add_dependency 'faraday', '>= 2', '< 3' - s.add_development_dependency 'rake', '>= 10.0' - s.add_development_dependency 'rspec', '>= 3.0' + s.add_development_dependency 'rake' + s.add_development_dependency 'rspec', '~> 3' s.add_development_dependency 'webmock' end