Skip to content

Commit e53d4e2

Browse files
committed
Modernize code + drop support for Ruby v3.1.
1 parent 30d95cc commit e53d4e2

File tree

7 files changed

+7
-6
lines changed

7 files changed

+7
-6
lines changed

.github/workflows/test-external.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020
- macos
2121

2222
ruby:
23-
- "3.1"
2423
- "3.2"
2524
- "3.3"
2625
- "3.4"

.github/workflows/test.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ jobs:
2323
- macos
2424

2525
ruby:
26-
- "3.1"
2726
- "3.2"
2827
- "3.3"
2928
- "3.4"

.rubocop.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ Layout/EmptyLinesAroundClassBody:
4545
Layout/EmptyLinesAroundModuleBody:
4646
Enabled: true
4747

48+
Layout/EmptyLineAfterMagicComment:
49+
Enabled: true
50+
4851
Style/FrozenStringLiteralComment:
4952
Enabled: true
5053

bake.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
def after_gem_release_version_increment(version)
1010
context["releases:update"].call(version)
1111
context["utopia:project:readme:update"].call
12-
end
12+
end

gems.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
# Released under the MIT License.
4-
# Copyright, 2022-2024, by Samuel Williams.
4+
# Copyright, 2022-2025, by Samuel Williams.
55

66
source "https://rubygems.org"
77

lib/protocol/rack/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
# Released under the MIT License.
4-
# Copyright, 2022-2024, by Samuel Williams.
4+
# Copyright, 2022-2025, by Samuel Williams.
55

66
module Protocol
77
module Rack

protocol-rack.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
2222

2323
spec.files = Dir.glob(["{lib}/**/*", "*.md"], File::FNM_DOTMATCH, base: __dir__)
2424

25-
spec.required_ruby_version = ">= 3.1"
25+
spec.required_ruby_version = ">= 3.2"
2626

2727
spec.add_dependency "protocol-http", "~> 0.43"
2828
spec.add_dependency "rack", ">= 1.0"

0 commit comments

Comments
 (0)