mirror of
https://github.com/cmur2/dyndnsd.git
synced 2025-06-25 16:30:19 +02:00
gems: update rubocop requirement from ~> 1.75.1 to ~> 1.76.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.75.1...v1.76.1) --- updated-dependencies: - dependency-name: rubocop dependency-version: 1.76.1 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
@ -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.75.1'
|
||||
s.add_development_dependency 'rubocop', '~> 1.76.1'
|
||||
s.add_development_dependency 'rubocop-rake', '~> 0.7.1'
|
||||
s.add_development_dependency 'rubocop-rspec', '~> 3.6.0'
|
||||
s.add_development_dependency 'solargraph', '~> 0.55.0'
|
||||
|
@ -89,7 +89,7 @@ module Dyndnsd
|
||||
# @return [Array{Array{Object}}]
|
||||
def self.parse_endpoints(endpoint_list)
|
||||
endpoint_list.map { |addr_string| addr_string.split('@') }
|
||||
.map { |addr_parts| [addr_parts[0], addr_parts[1].to_i || 53] }
|
||||
.map { |addr_parts| [addr_parts[0], addr_parts[1]&.to_i || 53] }
|
||||
.map { |addr| [:tcp, :udp].map { |type| [type] + addr } }
|
||||
.flatten(1)
|
||||
end
|
||||
|
Reference in New Issue
Block a user