From 8cbfd758c214daaa266d1ee46a7d95de19645c21 Mon Sep 17 00:00:00 2001 From: Mattia Giuffrida Date: Wed, 27 Dec 2023 10:35:52 +0000 Subject: [PATCH] Make 3.0 the minimum supported Ruby version --- .rubocop.yml | 2 +- README.md | 2 +- faraday.gemspec | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 3617caa06..c359f4bf6 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -7,7 +7,7 @@ require: AllCops: DisplayCopNames: true DisplayStyleGuide: true - TargetRubyVersion: 2.6 + TargetRubyVersion: 3.0 # Custom config Gemspec/RequireMFA: # we don't know if this works with auto-deployments yet diff --git a/README.md b/README.md index 596b5808f..0cca6db87 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Need more details? See the [Faraday API Documentation][apidoc] to see how it wor This library aims to support and is [tested against][actions] the currently officially supported Ruby implementations. This means that, even without a major release, we could add or drop support for Ruby versions, following their [EOL](https://endoflife.date/ruby). -Currently that means we support Ruby 2.6+ +Currently that means we support Ruby 3.0+ If something doesn't work on one of these Ruby versions, it's a bug. diff --git a/faraday.gemspec b/faraday.gemspec index 112763235..ed9b4ab18 100644 --- a/faraday.gemspec +++ b/faraday.gemspec @@ -13,7 +13,7 @@ Gem::Specification.new do |spec| spec.homepage = 'https://lostisland.github.io/faraday' spec.licenses = ['MIT'] - spec.required_ruby_version = '>= 2.6' + spec.required_ruby_version = '>= 3.0' # faraday-net_http is the "default adapter", but being a Faraday dependency it can't # control which version of faraday it will be pulled from.