From 50f1a88dd7e06b3d827fe378abc02f67773b22bc Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Sat, 14 Oct 2023 15:48:34 +0100 Subject: [PATCH] Drop Ruby 2.6 support The required IRB version only supports 2.7+ --- .github/workflows/protocol.yml | 2 +- .github/workflows/ruby.yml | 2 +- README.md | 2 +- debug.gemspec | 2 +- misc/README.md.erb | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/protocol.yml b/.github/workflows/protocol.yml index b2889aab1..4225bd934 100644 --- a/.github/workflows/protocol.yml +++ b/.github/workflows/protocol.yml @@ -21,7 +21,7 @@ jobs: strategy: fail-fast: false matrix: - ruby-version: ['2.6', '2.7', '3.0', '3.1', 'head', 'debug'] + ruby-version: ["2.7", "3.0", "3.1", "head", "debug"] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index a41da836a..8f8685665 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -21,7 +21,7 @@ jobs: strategy: fail-fast: false matrix: - ruby-version: ['2.6', '2.7', '3.0', '3.1', '3.2', 'head', 'debug'] + ruby-version: ["2.7", "3.0", "3.1", "3.2", "head", "debug"] steps: - uses: actions/checkout@v4 diff --git a/README.md b/README.md index f47914053..23318977a 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ # debug.rb -This library provides debugging functionality to Ruby (MRI) 2.6 and later. +This library provides debugging functionality to Ruby (MRI) 2.7 and later. This debug.rb is replacement of traditional lib/debug.rb standard library which is implemented by `set_trace_func`. New debug.rb has several advantages: diff --git a/debug.gemspec b/debug.gemspec index 7c0e2d022..2a5891f32 100644 --- a/debug.gemspec +++ b/debug.gemspec @@ -10,7 +10,7 @@ Gem::Specification.new do |spec| spec.description = %q{Debugging functionality for Ruby. This is completely rewritten debug.rb which was contained by the ancient Ruby versions.} spec.homepage = "https://github.com/ruby/debug" spec.licenses = ["Ruby", "BSD-2-Clause"] - spec.required_ruby_version = Gem::Requirement.new(">= 2.6.0") + spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0") spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = spec.homepage diff --git a/misc/README.md.erb b/misc/README.md.erb index 5778e5a90..ff800fabf 100644 --- a/misc/README.md.erb +++ b/misc/README.md.erb @@ -2,7 +2,7 @@ # debug.rb -This library provides debugging functionality to Ruby (MRI) 2.6 and later. +This library provides debugging functionality to Ruby (MRI) 2.7 and later. This debug.rb is replacement of traditional lib/debug.rb standard library which is implemented by `set_trace_func`. New debug.rb has several advantages: