passivedns-client 2.0.3 → 2.0.4

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: 47032e96af18547a42a6f394a674c15d304bdb90
4
- data.tar.gz: 9ac2529bfa59e287053789922bca5075d094e689
3
+ metadata.gz: f25402e0bd61bb74820cfc984490a96565f33ac5
4
+ data.tar.gz: dbf4ea9dfe2a501c878bb4c127a4d5bb92e970dd
5
5
  SHA512:
6
- metadata.gz: 6365b198cdfe54f1f2dfedbbead44141e9b4d810370a7dce786131006e06f120b47b41c72b430527ff27c0391098c71fe2a87a3185d993205471cd1036ebad90
7
- data.tar.gz: b8cbf892878c90cb0bbe7bbf29d24ebf7f0512bfa7721bc4cfbec674268b42cc50423af4a4d39b3800fa8639870f8b2435a23b18b58b01fb01a51c63bc5a9ad6
6
+ metadata.gz: 5ee3a733b4e4518ca18004245a9fc457b8bcc56fde1618545befc534f33d885cb34ef6097784e9e1fe03830df5b96ce9e91cde7b0aeb08f02b0722786fb64b2f
7
+ data.tar.gz: dcb2ff2f4429fc88dadba5fb269a8a9a72f5df0b6bfb12e53207dff65e2b2e15f61d77f829dd21114a4da2b46389d2f83835185481f4ee1542e327df803094d0
data/README.md CHANGED
@@ -51,13 +51,13 @@ From version 2.0.0 on, all configuration keys for passive DNS providers are in o
51
51
  APIKEY = 01234567890abcdef01234567890abcdef012345
52
52
  [passivetotal]
53
53
  APIKEY = 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
54
- [CIRCL]
54
+ [circl]
55
55
  USERNAME = circl_user
56
56
  PASSWORD = circl_pass
57
57
 
58
58
  CIRCL also can use and authorization token. In that case, you should drop the USERNAME and PASSWORD options and change the section to something like the following:
59
59
 
60
- [CIRCL]
60
+ [circl]
61
61
  AUTH_TOKEN = 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
62
62
 
63
63
  ## Getting Access
@@ -172,4 +172,4 @@ Right now, I'm in a wait and see mode with how this progresses before I start su
172
172
  4. Push to the branch (`git push origin my-new-feature`)
173
173
  5. Create new Pull Request
174
174
 
175
- <a href='mailto:github@chrislee[dot]dhs[dot]org[stop here]xxx'><img src='http://chrisleephd.us/images/github-email.png?passivedns-client'></a>
175
+ <a href='mailto:github@chrisleephd[dot]us[stop here]xxx'><img src='http://chrisleephd.us/images/github-email.png?passivedns-client'></a>
@@ -95,7 +95,7 @@ module PassiveDNS
95
95
  when '--sqlite3'
96
96
  options[:sqlitedb] = arg
97
97
  when '--limit'
98
- otions[:limit] = arg.to_i
98
+ options[:limit] = arg.to_i
99
99
  else
100
100
  puts usage(letter_map)
101
101
  exit
@@ -106,7 +106,7 @@ module PassiveDNS
106
106
  options[:pdnsdbs] << "bfk"
107
107
  end
108
108
 
109
- if options[:pdnsdbs].index("bfk") and recursedepth > 1 and wait < 60
109
+ if options[:pdnsdbs].index("bfk") and options[:recursedepth] > 1 and options[:wait] < 60
110
110
  options[:wait] = 60
111
111
  $stderr.puts "Enforcing a minimal 60 second wait when using BFK for recursive crawling"
112
112
  end
@@ -12,7 +12,7 @@ module PassiveDNS
12
12
  end
13
13
  #override
14
14
  def self.config_section_name
15
- "CIRCL"
15
+ "circl"
16
16
  end
17
17
  #override
18
18
  def self.option_letter
@@ -1,5 +1,5 @@
1
1
  module PassiveDNS
2
2
  class Client
3
- VERSION = "2.0.3"
3
+ VERSION = "2.0.4"
4
4
  end
5
5
  end
@@ -204,8 +204,8 @@ class TestPassiveDnsQuery < Minitest::Test
204
204
  end
205
205
 
206
206
  def test_circl
207
- PassiveDNS::Client.new(['CIRCL'])
208
- d = PassiveDNS::CIRCL.new(@cp['CIRCL'] || {})
207
+ PassiveDNS::Client.new(['circl'])
208
+ d = PassiveDNS::CIRCL.new(@cp['circl'] || {})
209
209
  refute_nil(d)
210
210
  rows = d.lookup("example.org")
211
211
  refute_nil(rows)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: passivedns-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - chrislee35
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-02 00:00:00.000000000 Z
11
+ date: 2015-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json