dns_one 0.4.61 → 0.4.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a090df3a6571f1e1cc41d73ccc8c9bac006be239
4
- data.tar.gz: 4b4192e6500d6d5a6c93a2dbd790e12379d2f1a7
3
+ metadata.gz: 3d64325aad5a5ce2db92f160e3df2eec3659dab4
4
+ data.tar.gz: f29882f14990a5c71662f5af76291f9c1b8ad63b
5
5
  SHA512:
6
- metadata.gz: 4b506205c8fb6bc46b2696a82f289ba6ea6c876df118a97226a44c697be55b8196bdc1d012e76b4764f2996400805be2702047a32ced071f526a82c4fb3c0f6d
7
- data.tar.gz: a6a764885786e9a173244737638f819c8db299181d8c3db276c87fe4542c22232fb1f41de41fc0e524b4423bf55a65d635324af4c471128f8219bf4b68edfdae
6
+ metadata.gz: ca4a3f8e9df8e8c35cea1386f35245b04fc977d346a918a79d361883e0228239421928cb2f5a249c49419942f7f29fd9ed9153c8896fcdd48026a61fc8f1291f
7
+ data.tar.gz: ee750abaf39336b7dd927c533a9d00ca8d60392b4d8687a2fe250770fa1be738559275c4b4ad49dd12f096e61b6a0a76bd060f391cec63d27a0e647cb6139fcc
@@ -65,10 +65,10 @@ module DnsOne; class DnsOne
65
65
  },
66
66
  server: {
67
67
  run_as: conf[:config][:run_as],
68
- save_stats: (conf[:config][:save_stats] == '1'),
69
- log_result_file: (conf[:config][:log_result_file] == '1'),
70
- log_result_socket: (conf[:config][:log_result_socket] == '1'),
71
- log_result_socket_file: (conf[:config][:log_result_socket_file] == '1'),
68
+ save_stats: conf[:config][:save_stats],
69
+ log_result_file: conf[:config][:log_result_file],
70
+ log_result_socket: conf[:config][:log_result_socket],
71
+ log_result_socket_file: conf[:config][:log_result_socket_file],
72
72
  },
73
73
  zone_search: {
74
74
  ignore_subdomains: conf[:config][:ignore_subdomains],
@@ -137,7 +137,7 @@ module DnsOne; class Server
137
137
  rescue Errno::EPIPE => e
138
138
  break
139
139
  rescue => e
140
- Log.e e
140
+ Log.exc e
141
141
  break
142
142
  end
143
143
  Thread.pass
@@ -1,3 +1,3 @@
1
1
  module DnsOne
2
- VERSION = "0.4.61"
2
+ VERSION = "0.4.62"
3
3
  end
@@ -4,9 +4,9 @@ config:
4
4
  ignore_subdomains: www en it es pt ru fr at # optional, defaults to an empty list
5
5
  # cache_max: 100000 # optional, defaults to 10000
6
6
  # log_file: /var/log/dns_one.log # optional, defaults to /var/log/dns_one.log
7
- save_stats: 0
8
- log_result_file: 0
9
- log_result_socket: 1
7
+ save_stats: false
8
+ log_result_file: false
9
+ log_result_socket: true
10
10
  # log_result_socket_file: /tmp/dns_one_log_result.sock
11
11
 
12
12
  backend:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dns_one
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.61
4
+ version: 0.4.62
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Lobato