dnsbl-client 0.1.2 → 0.2.0

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.
@@ -11,4 +11,9 @@ class TestDnsblClient < Test::Unit::TestCase
11
11
  res = c.lookup("127.0.0.2")
12
12
  assert(res.length >= c.dnsbls.length)
13
13
  end
14
+ should "return results for bad domains" do
15
+ c = DNSBL::Client.new
16
+ res = c.lookup("pfizer.viagra.aqybasej.gurdoctor.com")
17
+ assert(res.length >= 0)
18
+ end
14
19
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dnsbl-client
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 1
9
8
  - 2
10
- version: 0.1.2
9
+ - 0
10
+ version: 0.2.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chris Lee
@@ -37,7 +37,7 @@ cert_chain:
37
37
  6yhklP75
38
38
  -----END CERTIFICATE-----
39
39
 
40
- date: 2011-03-15 00:00:00 -04:00
40
+ date: 2011-03-16 00:00:00 -04:00
41
41
  default_executable: dnsbl-client
42
42
  dependencies:
43
43
  - !ruby/object:Gem::Dependency
@@ -114,6 +114,7 @@ files:
114
114
  - lib/dnsbl-client.rb
115
115
  - lib/dnsbl-client/dnsbl-client.rb
116
116
  - lib/dnsbl-client/dnsbl.yaml
117
+ - lib/dnsbl-client/two-level-tlds
117
118
  - LICENSE.txt
118
119
  - README.rdoc
119
120
  - test/helper.rb
metadata.gz.sig CHANGED
Binary file