Skip to content

Commit 121e459

Browse files
committed
Modernize code.
1 parent 33a3942 commit 121e459

File tree

5 files changed

+15
-5
lines changed

5 files changed

+15
-5
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
@@ -21,7 +21,6 @@ jobs:
2121
- macos
2222

2323
ruby:
24-
- "3.1"
2524
- "3.2"
2625
- "3.3"
2726
- "3.4"

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
/.bundle/
2-
/pkg/
1+
/.bundle
2+
/pkg
33
/gems.locked
44
/.covered.db
55
/external

.rubocop.yml

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

48+
Layout/EmptyLineAfterMagicComment:
49+
Enabled: true
50+
51+
Layout/SpaceInsideBlockBraces:
52+
Enabled: true
53+
EnforcedStyle: no_space
54+
SpaceBeforeBlockParameters: false
55+
56+
Layout/SpaceAroundBlockParameters:
57+
Enabled: true
58+
EnforcedStyleInsidePipes: no_space
59+
4860
Style/FrozenStringLiteralComment:
4961
Enabled: true
5062

protocol-http1.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.22"
2828
end

0 commit comments

Comments
 (0)