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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8f923d3f52ae7cb8b9249038aed58e3d4d0fde75
4
- data.tar.gz: 168bb0ac5b60cd69f16fc6202a5d8955598ab1da
3
+ metadata.gz: 8f5c478f470f3567d427cd64d85bfb275cb9b4bf
4
+ data.tar.gz: 0fe278562fbfe094d78b7afd04250a288732b429
5
5
  SHA512:
6
- metadata.gz: 09d518eed62f45e7414a999c970e288fcf9ed98e7a9ade4c71b04300e401721054dda94405a8c13fd38e54bc00b24b72f8cb5e9838e73aa4012a430bee06a967
7
- data.tar.gz: 5588b3488707a9d1c0934cc0f636e266a4286c53ef7ef05eeb2d5b62a4237f31a9a2dfdd9f17cf5fee0661a2b53a4a767c220bb71580c806c0568a0b4eca8862
6
+ metadata.gz: 6fcf2c23eef6cd1c2c9dd2b09fee33c9b760975c1c63631b48c34f86c25b94ef5fe7ea869cc9e6b48231c5ad60c43b8a172f598eb20aef0790e1a23e9f3d945b
7
+ data.tar.gz: 134d8ce48ea9df369a08516e355f06ea7db441e116d7c7a7c985aa75158eaeecafe0fc9febe7823da62a7c9f36ed488189291d3b9470adcb5fd90787c391057a
@@ -1,4 +1,4 @@
1
1
 
2
2
  module Dyndnsd
3
- VERSION = "1.6.0"
3
+ VERSION = "1.6.1"
4
4
  end
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.0
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: 2016-12-07 00:00:00.000000000 Z
11
+ date: 2017-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack