gem: drop support for Rubies < 3

This commit is contained in:
Christian Nicolai 2023-06-08 09:47:40 +02:00
parent 37413bcd3b
commit 90ae7543d7
4 changed files with 8 additions and 3 deletions

View File

@ -17,7 +17,6 @@ jobs:
strategy: strategy:
matrix: matrix:
ruby-version: ruby-version:
- '2.7'
- '3.0' - '3.0'
- '3.1' - '3.1'
- '3.2' - '3.2'

View File

@ -3,7 +3,7 @@ require:
- rubocop-rspec - rubocop-rspec
AllCops: AllCops:
TargetRubyVersion: '2.7' TargetRubyVersion: '3.0'
NewCops: enable NewCops: enable
Gemspec/DevelopmentDependencies: Gemspec/DevelopmentDependencies:

View File

@ -1,5 +1,11 @@
# Changelog # Changelog
## 3.9.0
IMPROVEMENTS:
- Drop EOL Ruby 2.7 support, now minimum version supported is Ruby 3.0
## 3.8.2 (April 1st, 2023) ## 3.8.2 (April 1st, 2023)
OTHER: OTHER:

View File

@ -25,7 +25,7 @@ Gem::Specification.new do |s|
s.executables = ['dyndnsd'] s.executables = ['dyndnsd']
s.extra_rdoc_files = Dir['README.md', 'CHANGELOG.md', 'LICENSE'] s.extra_rdoc_files = Dir['README.md', 'CHANGELOG.md', 'LICENSE']
s.required_ruby_version = '>= 2.7' s.required_ruby_version = '>= 3.0'
s.add_runtime_dependency 'async', '~> 1.31.0' s.add_runtime_dependency 'async', '~> 1.31.0'
s.add_runtime_dependency 'async-dns', '~> 1.3.0' s.add_runtime_dependency 'async-dns', '~> 1.3.0'