1
0
mirror of https://github.com/cmur2/dyndnsd.git synced 2024-11-17 04:56:14 +01:00

gem: update dependencies

This commit is contained in:
cn 2018-03-26 20:56:53 +02:00
parent 6604b98a84
commit 472d9aaa98
3 changed files with 7 additions and 4 deletions

View File

@ -34,6 +34,9 @@ Metrics/MethodLength:
Metrics/PerceivedComplexity:
Enabled: false
Naming/UncommunicativeMethodParamName:
Enabled: false
Style/ConditionalAssignment:
Enabled: false

View File

@ -1,5 +1,5 @@
$LOAD_PATH.push File.expand_path('../lib', __FILE__)
$LOAD_PATH.push File.expand_path('lib', __dir__)
require 'dyndnsd/version'
@ -32,5 +32,5 @@ Gem::Specification.new do |s|
s.add_development_dependency 'rake'
s.add_development_dependency 'rspec'
s.add_development_dependency 'rack-test'
s.add_development_dependency 'rubocop', '~> 0.52.1'
s.add_development_dependency 'rubocop', '~> 0.54.0'
end

View File

@ -13,9 +13,9 @@ module Dyndnsd
def self.ip_valid?(ip)
IPAddr.new(ip)
return true
true
rescue ArgumentError
return false
false
end
def self.user_allowed?(username, password, users)