dyndnsd 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dyndnsd/version.rb +1 -1
- data/lib/dyndnsd.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f5c478f470f3567d427cd64d85bfb275cb9b4bf
|
4
|
+
data.tar.gz: 0fe278562fbfe094d78b7afd04250a288732b429
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fcf2c23eef6cd1c2c9dd2b09fee33c9b760975c1c63631b48c34f86c25b94ef5fe7ea869cc9e6b48231c5ad60c43b8a172f598eb20aef0790e1a23e9f3d945b
|
7
|
+
data.tar.gz: 134d8ce48ea9df369a08516e355f06ea7db441e116d7c7a7c985aa75158eaeecafe0fc9febe7823da62a7c9f36ed488189291d3b9470adcb5fd90787c391057a
|
data/lib/dyndnsd/version.rb
CHANGED
data/lib/dyndnsd.rb
CHANGED
@@ -201,7 +201,7 @@ module Dyndnsd
|
|
201
201
|
# configure rack
|
202
202
|
app = Daemon.new(config, db, updater, responder)
|
203
203
|
app = Rack::Auth::Basic.new(app, "DynDNS") do |user,pass|
|
204
|
-
allow = (config['users'].has_key? user) and (config['users'][user]['password'] == pass)
|
204
|
+
allow = ((config['users'].has_key? user) and (config['users'][user]['password'] == pass))
|
205
205
|
if not allow
|
206
206
|
Dyndnsd.logger.warn "Login failed for #{user}"
|
207
207
|
Metriks.meter('requests.auth_failed').mark
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dyndnsd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Nicolai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|