mirror of
https://github.com/cmur2/dyndnsd.git
synced 2024-12-21 14:54:22 +01:00
gem: update dependencies
This commit is contained in:
parent
6604b98a84
commit
472d9aaa98
@ -34,6 +34,9 @@ Metrics/MethodLength:
|
||||
Metrics/PerceivedComplexity:
|
||||
Enabled: false
|
||||
|
||||
Naming/UncommunicativeMethodParamName:
|
||||
Enabled: false
|
||||
|
||||
Style/ConditionalAssignment:
|
||||
Enabled: false
|
||||
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user