Skip to content

Commit 2facd1c

Browse files
authored
Breaking change: Update project and supported Ruby versions (#41)
## Description This PR updates the project's development Ruby version to v3.3 and the gem's minimum supported Ruby version to v3.0. This is a breaking change! Ruby 2.7 EOL was March 2023 so we should be comfortable dropping support. ## Commits - Remove upper constraint on supported Ruby versions - Set project Ruby version to v3.3.0 - Set StandardRB target Ruby version to v3.0 - Remove Ruby 2.7 from test matrix - Set minimum supported Ruby version to v3.0 - Update documentation reflecting Ruby version support
2 parents 93b4341 + 3a02efb commit 2facd1c

File tree

6 files changed

+9
-8
lines changed

6 files changed

+9
-8
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
fail-fast: false
2828
matrix:
2929
os: [macos-latest, ubuntu-latest]
30-
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3"]
30+
ruby: ["3.0", "3.1", "3.2", "3.3"]
3131
steps:
3232
- uses: actions/checkout@v4
3333
- uses: ruby/setup-ruby@v1

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.7.8
1+
3.3.0

.standard.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
format: progress
1+
format: "progress"
22
parallel: true
3+
ruby_version: "3.0"

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ There are a couple ways you can help improve webmention-client-ruby:
88

99
## Getting Started
1010

11-
webmention-client-ruby is developed using Ruby 2.7.8 and is tested against additional Ruby versions using [GitHub Actions](https://github.com/indieweb/webmention-client-ruby/actions).
11+
webmention-client-ruby is developed using Ruby 3.3.0 and is tested against additional Ruby versions using [GitHub Actions](https://github.com/indieweb/webmention-client-ruby/actions).
1212

13-
Before making changes to webmention-client-ruby, you'll want to install Ruby 2.7.8. Using a Ruby version managment tool like [rbenv](https://github.com/rbenv/rbenv), [chruby](https://github.com/postmodern/chruby), or [rvm](https://github.com/rvm/rvm) is recommended. Once you've installed Ruby 2.7.8 using your method of choice, install the project's gems by running:
13+
Before making changes to webmention-client-ruby, you'll want to install Ruby 3.3.0. Using a Ruby version managment tool like [rbenv](https://github.com/rbenv/rbenv), [chruby](https://github.com/postmodern/chruby), or [rvm](https://github.com/rvm/rvm) is recommended. Once you've installed Ruby 3.3.0 using your method of choice, install the project's gems by running:
1414

1515
```sh
1616
bundle install

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515

1616
## Getting Started
1717

18-
Before installing and using webmention-client-ruby, you'll want to have [Ruby](https://www.ruby-lang.org) 2.7 (or newer) installed. Using a Ruby version managment tool like [rbenv](https://github.com/rbenv/rbenv), [chruby](https://github.com/postmodern/chruby), or [rvm](https://github.com/rvm/rvm) is recommended.
18+
Before installing and using webmention-client-ruby, you'll want to have [Ruby](https://www.ruby-lang.org) 3.0 (or newer) installed. Using a Ruby version managment tool like [rbenv](https://github.com/rbenv/rbenv), [chruby](https://github.com/postmodern/chruby), or [rvm](https://github.com/rvm/rvm) is recommended.
1919

20-
webmention-client-ruby is developed using Ruby 2.7.8 and is tested against additional Ruby versions using [GitHub Actions](https://github.com/indieweb/webmention-client-ruby/actions).
20+
webmention-client-ruby is developed using Ruby 3.0.0 and is tested against additional Ruby versions using [GitHub Actions](https://github.com/indieweb/webmention-client-ruby/actions).
2121

2222
## Installation
2323

webmention.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
require_relative "lib/webmention/version"
44

55
Gem::Specification.new do |spec|
6-
spec.required_ruby_version = ">= 2.7", "< 4"
6+
spec.required_ruby_version = ">= 3.0"
77

88
spec.name = "webmention"
99
spec.version = Webmention::VERSION

0 commit comments

Comments
 (0)