mirror of
https://github.com/cmur2/dyndnsd.git
synced 2024-12-21 14:54:22 +01:00
gem: bump minimum required Ruby version to Ruby 2.5
This commit is contained in:
parent
09aa2b127c
commit
b2d9b7745f
@ -1,5 +1,6 @@
|
||||
AllCops:
|
||||
TargetRubyVersion: '2.3'
|
||||
TargetRubyVersion: '2.5'
|
||||
NewCops: enable
|
||||
|
||||
Layout/EmptyLineAfterGuardClause:
|
||||
Enabled: false
|
||||
|
@ -5,8 +5,6 @@ rvm:
|
||||
- 2.7
|
||||
- 2.6
|
||||
- 2.5
|
||||
- 2.4
|
||||
- 2.3
|
||||
|
||||
script:
|
||||
- bundle exec rake travis
|
||||
|
@ -1,5 +1,11 @@
|
||||
# Changelog
|
||||
|
||||
## 3.0.0
|
||||
|
||||
IMPROVEMENTS:
|
||||
|
||||
- Drop EOL Ruby 2.4 and lower support, now minimum version supported is Ruby 2.5
|
||||
|
||||
## 2.3.1 (July 27, 2020)
|
||||
|
||||
IMPROVEMENTS:
|
||||
|
@ -25,7 +25,7 @@ Gem::Specification.new do |s|
|
||||
s.executables = ['dyndnsd']
|
||||
s.extra_rdoc_files = Dir['README.md', 'CHANGELOG.md', 'LICENSE']
|
||||
|
||||
s.required_ruby_version = '>= 2.3'
|
||||
s.required_ruby_version = '>= 2.5'
|
||||
|
||||
s.add_runtime_dependency 'async-dns', '~> 1.2.0'
|
||||
s.add_runtime_dependency 'jaeger-client', '~> 0.10.0'
|
||||
@ -39,6 +39,6 @@ Gem::Specification.new do |s|
|
||||
s.add_development_dependency 'rack-test'
|
||||
s.add_development_dependency 'rake'
|
||||
s.add_development_dependency 'rspec'
|
||||
s.add_development_dependency 'rubocop', '~> 0.81.0'
|
||||
s.add_development_dependency 'rubocop', '~> 0.82.0'
|
||||
s.add_development_dependency 'solargraph'
|
||||
end
|
||||
|
@ -28,7 +28,6 @@ module Dyndnsd
|
||||
sleep @interval
|
||||
|
||||
Thread.new do
|
||||
begin
|
||||
write
|
||||
rescue StandardError => e
|
||||
@on_error[e] rescue nil
|
||||
@ -36,7 +35,6 @@ module Dyndnsd
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
# @return [void]
|
||||
def stop
|
||||
|
Loading…
Reference in New Issue
Block a user