Skip to content

Commit effa2b3

Browse files
highbclaude
andcommitted
build: Update to Ruby 3.2+ and prep for 3.0.0 release
Remove Ruby 3.1 (EOL March 2025) from testing matrix and update minimum required version to >= 3.2.0. Add Ruby 3.4 to testing matrix and document planned Ruby 4.0 support. Add comprehensive "Deprecated Rubies" section to README documenting historical deprecations. Update CHANGELOG for 3.0.0 release. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 897619a commit effa2b3

5 files changed

Lines changed: 32 additions & 6 deletions

File tree

.github/workflows/gem-push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v6
19-
- name: Set up Ruby 3.1
19+
- name: Set up Ruby 3.4
2020
uses: ruby/setup-ruby@v1
2121
with:
22-
ruby-version: '3.1'
22+
ruby-version: '3.4'
2323
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
2424

2525
- name: Generate man page

.github/workflows/ruby.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
strategy:
2020
matrix:
21-
ruby-version: ['3.1', '3.2', '3.3']
21+
ruby-version: ['3.2', '3.3', '3.4', '4.0.1']
2222
steps:
2323
- uses: actions/checkout@v6
2424
- name: Set up Ruby
@@ -35,7 +35,7 @@ jobs:
3535
runs-on: ubuntu-latest
3636
strategy:
3737
matrix:
38-
ruby-version: ['3.1', '3.2', '3.3']
38+
ruby-version: ['3.2', '3.3', '3.4', '4.0.1']
3939
raketasks: ['rubocop', 'spec', 'docs']
4040
steps:
4141
- uses: actions/checkout@v6

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# pathspec-ruby CHANGELOG
22

3+
## 3.0.0 (Major Release)
4+
5+
### Breaking Changes
6+
7+
- (Maint) Remove Ruby 3.1 support (EOL March 2025). The Gem now requires >= 3.2.0
8+
- Updated minimum required Ruby version in gemspec from >= 3.1.0 to >= 3.2.0
9+
10+
### Maintenance
11+
12+
- Added Ruby 3.4 to testing matrix (Stable, Tested)
13+
- Added Ruby 4.0.1 to testing matrix (Preview, Tested)
14+
- Updated CI workflows to use Ruby 3.4 for gem publishing
15+
- Updated README with comprehensive "Deprecated Rubies" section documenting historical deprecations
16+
- Updated "Supported Rubies" section in README to reflect current testing matrix (3.2, 3.3, 3.4, 4.0.1)
17+
318
## 2.1.0
419

520
## refactor/perf

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,20 @@
66

77
[Supported Rubies](https://www.ruby-lang.org/en/downloads/):
88

9-
- 3.1 (Stable, Tested)
109
- 3.2 (Stable, Tested)
1110
- 3.3 (Stable, Tested)
11+
- 3.4 (Stable, Tested)
12+
- 4.0.1 (Preview, Tested)
13+
14+
## Deprecated Rubies
15+
16+
The following Ruby versions are no longer supported. If you need to use an older Ruby version, please use an earlier version of this gem:
17+
18+
- Ruby 3.1: Deprecated in version 3.0.0 (current project, not yet released)
19+
- Ruby 3.0: Deprecated in version 2.0.0 (January 2024)
20+
- Ruby 2.x (2.6-2.7): Deprecated in version 2.0.0 (January 2024)
21+
- Ruby 2.5 and earlier: Deprecated in version 1.0.0 (January 2021)
22+
- Ruby 1.8 and 1.9: Deprecated in version 0.2.0 (circa 2017)
1223

1324
Match Path Specifications, such as .gitignore, in Ruby!
1425

pathspec.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
1818
s.metadata['rubygems_mfa_required'] = 'true'
1919
s.homepage = 'https://github.com/highb/pathspec-ruby'
2020
s.license = 'Apache-2.0'
21-
s.required_ruby_version = '>= 3.1.0'
21+
s.required_ruby_version = '>= 3.2.0'
2222
s.add_development_dependency 'bundler', '~> 2.2'
2323
s.add_development_dependency 'fakefs', '~> 2.5'
2424
s.add_development_dependency 'kramdown', '~> 2.3'

0 commit comments

Comments
 (0)