Skip to content

Commit dba93c1

Browse files
committed
- Drop support for Ruby 2.x
1 parent 2d1a3d7 commit dba93c1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
strategy:
13-
matrix: { ruby: ['2.6', '2.7', '3.0', '3.1', head] }
13+
matrix: { ruby: ['3.0', '3.1', '3.2', head] }
1414

1515
steps:
1616
- name: Checkout code

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ inherit_gem:
88
- rspec.yml
99

1010
AllCops:
11-
TargetRubyVersion: 2.6.0
11+
TargetRubyVersion: 3.0
1212
Exclude:
1313
- 'debug.rb'
1414
- 'dev/**/*'

spec/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77

88
def httpbin_host
99
ENV['HTTPBIN_HOST'] || 'https://httpbin.org'
10-
end
10+
end

webcache.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
1212
s.files = Dir['README.md', 'lib/**/*.*']
1313
s.homepage = 'https://github.com/DannyBen/webcache'
1414
s.license = 'MIT'
15-
s.required_ruby_version = '>= 2.6.0'
15+
s.required_ruby_version = '>= 3.0'
1616

1717
s.add_runtime_dependency 'http', '~> 5.0'
1818
s.metadata['rubygems_mfa_required'] = 'true'

0 commit comments

Comments
 (0)