Browse Source

gems: update rubocop to version 0.89.0

Update rubocop to version 0.89.0 (#59)

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
tags/v3.1.0.rc1
depfu[bot] 1 month ago
committed by GitHub
parent
commit
708cd13237
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions
  1. +1
    -1
      dyndnsd.gemspec
  2. +1
    -1
      lib/dyndnsd.rb
  3. +1
    -1
      lib/dyndnsd/generator/bind.rb
  4. +1
    -1
      spec/daemon_spec.rb

+ 1
- 1
dyndnsd.gemspec View File

@@ -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.88.0'
s.add_development_dependency 'rubocop', '~> 0.89.0'
s.add_development_dependency 'solargraph'
end

+ 1
- 1
lib/dyndnsd.rb View File

@@ -245,7 +245,7 @@ module Dyndnsd
if config['logfile']
Dyndnsd.logger = Logger.new(config['logfile'])
else
Dyndnsd.logger = Logger.new(STDOUT)
Dyndnsd.logger = Logger.new($stdout)
end

Dyndnsd.logger.progname = 'dyndnsd'


+ 1
- 1
lib/dyndnsd/generator/bind.rb View File

@@ -27,7 +27,7 @@ module Dyndnsd
ips.each do |ip|
ip = IPAddr.new(ip).native
type = ip.ipv6? ? 'AAAA' : 'A'
name = hostname.chomp('.' + @domain)
name = hostname.chomp(".#{@domain}")
out << "#{name} IN #{type} #{ip}"
end
end


+ 1
- 1
spec/daemon_spec.rb View File

@@ -6,7 +6,7 @@ describe Dyndnsd::Daemon do
include Rack::Test::Methods

def app
Dyndnsd.logger = Logger.new(STDOUT)
Dyndnsd.logger = Logger.new($stdout)
Dyndnsd.logger.level = Logger::UNKNOWN

config = {


Loading…
Cancel
Save