1
0
mirror of https://github.com/cmur2/dyndnsd.git synced 2025-04-01 11:34:09 +02:00

gems: update rubocop requirement from ~> 1.71.0 to ~> 1.73.1

Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.71.0...v1.73.1)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot] 2025-02-27 22:04:57 +00:00 committed by Christian Nicolai
parent a2e4480e0a
commit 1e36454711
2 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ 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', '~> 1.71.0'
s.add_development_dependency 'rubocop', '~> 1.73.1'
s.add_development_dependency 'rubocop-rake', '~> 0.6.0'
s.add_development_dependency 'rubocop-rspec', '~> 3.4.0'
s.add_development_dependency 'solargraph', '~> 0.49.0'

View File

@ -138,7 +138,7 @@ module Dyndnsd
# @param params [Hash{String => String}]
# @return [Array<String>]
def extract_v4_and_v6_address(params)
return [] if !(params['myip'])
return [] if !params['myip']
begin
IPAddr.new(params['myip'], Socket::AF_INET)
IPAddr.new(params['myip6'], Socket::AF_INET6)
@ -207,7 +207,7 @@ module Dyndnsd
params = Rack::Utils.parse_query(env['QUERY_STRING'])
# require hostname parameter
return [422, {'X-DynDNS-Response' => 'hostname_missing'}, []] if !(params['hostname'])
return [422, {'X-DynDNS-Response' => 'hostname_missing'}, []] if !params['hostname']
hostnames = params['hostname'].split(',')