mirror of
https://github.com/cmur2/dyndnsd.git
synced 2025-06-26 02:30:22 +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:
@ -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(',')
|
||||
|
||||
|
Reference in New Issue
Block a user