From 4bf242b937581ef961a84b143aa5096c5c7e6897 Mon Sep 17 00:00:00 2001 From: Ben Fritsch Date: Thu, 6 Feb 2025 14:15:27 +0100 Subject: [PATCH 1/7] remove support for Ruby 3.0 because it's EOL --- .github/workflows/ruby.yml | 2 +- pliny.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 9b1ea93e..139dd95c 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby-version: ['3.0', '3.1', '3.2'] + ruby-version: ['3.1', '3.2'] activesupport-version: ['6', '7'] sinatra-version: ['2', '3', '4'] env: diff --git a/pliny.gemspec b/pliny.gemspec index ce2d1e37..fad3b8af 100644 --- a/pliny.gemspec +++ b/pliny.gemspec @@ -15,7 +15,7 @@ Gem::Specification.new do |gem| gem.executables = %x{ git ls-files }.split("\n").select { |d| d =~ /^bin\// }.map { |d| d.gsub(/^bin\//, "") } gem.files = %x{ git ls-files }.split("\n").select { |d| d =~ %r{^(License|README|bin/|data/|ext/|lib/|spec/|test/)} } - gem.required_ruby_version = ">= 3.0" + gem.required_ruby_version = ">= 3.1" gem.add_dependency "activesupport", ">= 6.0", "< 8.0" gem.add_dependency "multi_json", "~> 1.9", ">= 1.9.3" From 309f5e88e152ee5535dbdc4cae64d4f4f4481e7c Mon Sep 17 00:00:00 2001 From: Ben Fritsch Date: Thu, 6 Feb 2025 14:15:49 +0100 Subject: [PATCH 2/7] add support for Ruby 3.3 and 3.4 --- .github/workflows/ruby.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 139dd95c..ce6c7d73 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby-version: ['3.1', '3.2'] + ruby-version: ['3.1', '3.2', '3.3', '3.4'] activesupport-version: ['6', '7'] sinatra-version: ['2', '3', '4'] env: From b2905ef05aec85bac37a85dd8c35b5e1788ee8db Mon Sep 17 00:00:00 2001 From: Ben Fritsch Date: Thu, 6 Feb 2025 14:17:34 +0100 Subject: [PATCH 3/7] remove support for Sinatra 2 because it is EOL --- .github/workflows/ruby.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index ce6c7d73..7c44fd2d 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -14,7 +14,7 @@ jobs: matrix: ruby-version: ['3.1', '3.2', '3.3', '3.4'] activesupport-version: ['6', '7'] - sinatra-version: ['2', '3', '4'] + sinatra-version: ['3', '4'] env: ACTIVESUPPORT_MAJOR: ${{ matrix.activesupport-version }} SINATRA_MAJOR: ${{ matrix.sinatra-version }} From 300e84394bc1d4fe32ccd6625871f61bba08ea34 Mon Sep 17 00:00:00 2001 From: Ben Fritsch Date: Thu, 6 Feb 2025 14:17:56 +0100 Subject: [PATCH 4/7] add support for ActiveSupport 8 --- .github/workflows/ruby.yml | 2 +- pliny.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 7c44fd2d..6481dab7 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: ruby-version: ['3.1', '3.2', '3.3', '3.4'] - activesupport-version: ['6', '7'] + activesupport-version: ['6', '7', '8'] sinatra-version: ['3', '4'] env: ACTIVESUPPORT_MAJOR: ${{ matrix.activesupport-version }} diff --git a/pliny.gemspec b/pliny.gemspec index fad3b8af..721db8b9 100644 --- a/pliny.gemspec +++ b/pliny.gemspec @@ -17,7 +17,7 @@ Gem::Specification.new do |gem| gem.required_ruby_version = ">= 3.1" - gem.add_dependency "activesupport", ">= 6.0", "< 8.0" + gem.add_dependency "activesupport", ">= 6.0", "< 9.0" gem.add_dependency "multi_json", "~> 1.9", ">= 1.9.3" gem.add_dependency "prmd", "~> 0.11", ">= 0.11.4" From 84718d972d16dd3ba1775c72b228437694c9d617 Mon Sep 17 00:00:00 2001 From: Ben Fritsch Date: Thu, 6 Feb 2025 14:23:11 +0100 Subject: [PATCH 5/7] remove ActiveSupport 6 because it's EOL (https://rubyonrails.org/maintenance) --- .github/workflows/ruby.yml | 2 +- pliny.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 6481dab7..a46c8536 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: ruby-version: ['3.1', '3.2', '3.3', '3.4'] - activesupport-version: ['6', '7', '8'] + activesupport-version: ['7', '8'] sinatra-version: ['3', '4'] env: ACTIVESUPPORT_MAJOR: ${{ matrix.activesupport-version }} diff --git a/pliny.gemspec b/pliny.gemspec index 721db8b9..c879e467 100644 --- a/pliny.gemspec +++ b/pliny.gemspec @@ -17,7 +17,7 @@ Gem::Specification.new do |gem| gem.required_ruby_version = ">= 3.1" - gem.add_dependency "activesupport", ">= 6.0", "< 9.0" + gem.add_dependency "activesupport", ">= 7.0", "< 9.0" gem.add_dependency "multi_json", "~> 1.9", ">= 1.9.3" gem.add_dependency "prmd", "~> 0.11", ">= 0.11.4" From fbf295854884e2a15f16ff5cc3cb0ca0226309bb Mon Sep 17 00:00:00 2001 From: Ben Fritsch Date: Thu, 6 Feb 2025 14:32:06 +0100 Subject: [PATCH 6/7] remove support for Ruby 3.1 because ActiveSupport 8 requires at least Ruby 3.2 --- .github/workflows/ruby.yml | 2 +- pliny.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index a46c8536..086512a4 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby-version: ['3.1', '3.2', '3.3', '3.4'] + ruby-version: ['3.2', '3.3', '3.4'] activesupport-version: ['7', '8'] sinatra-version: ['3', '4'] env: diff --git a/pliny.gemspec b/pliny.gemspec index c879e467..f5b2e9aa 100644 --- a/pliny.gemspec +++ b/pliny.gemspec @@ -15,7 +15,7 @@ Gem::Specification.new do |gem| gem.executables = %x{ git ls-files }.split("\n").select { |d| d =~ /^bin\// }.map { |d| d.gsub(/^bin\//, "") } gem.files = %x{ git ls-files }.split("\n").select { |d| d =~ %r{^(License|README|bin/|data/|ext/|lib/|spec/|test/)} } - gem.required_ruby_version = ">= 3.1" + gem.required_ruby_version = ">= 3.2" gem.add_dependency "activesupport", ">= 7.0", "< 9.0" gem.add_dependency "multi_json", "~> 1.9", ">= 1.9.3" From 1dc20be87886bd2936cbb5d2f36de8a2423bdc1a Mon Sep 17 00:00:00 2001 From: Ben Fritsch Date: Thu, 6 Feb 2025 14:49:27 +0100 Subject: [PATCH 7/7] update CHANGELOG --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 660edb14..e525a48f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] - 🔜 +### Added +- Add support for Ruby 3.3 and 3.4 ([#366](https://github.com/interagent/pliny/pull/3366)) +- Add support for ActiveSupport 8 ([#366](https://github.com/interagent/pliny/pull/366)) + +### Removed +- Drop support for Ruby 3.0 and 3.1 ([#366](https://github.com/interagent/pliny/pull/366)) +- Drop support for Sinatra 2 ([#366](https://github.com/interagent/pliny/pull/366)) +- Drop support for ActiveSupport 6 ([#366](https://github.com/interagent/pliny/pull/366)) + ## [1.1.0] - 2024-02-13 ### Added - Add support for Sinatra 4 ([#361](https://github.com/interagent/pliny/pull/361))