dnsbl-client 1.0.0 → 1.0.5

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.
metadata CHANGED
@@ -1,77 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dnsbl-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
5
- prerelease:
4
+ version: 1.0.5
6
5
  platform: ruby
7
6
  authors:
8
7
  - chrislee35
9
8
  autorequire:
10
9
  bindir: bin
11
- cert_chain:
12
- - !binary |-
13
- LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURZakNDQWtxZ0F3SUJB
14
- Z0lCQURBTkJna3Foa2lHOXcwQkFRVUZBREJYTVJFd0R3WURWUVFEREFoeWRX
15
- SjUKWjJWdGN6RVlNQllHQ2dtU0pvbVQ4aXhrQVJrV0NHTm9jbWx6YkdWbE1S
16
- TXdFUVlLQ1pJbWlaUHlMR1FCR1JZRApaR2h6TVJNd0VRWUtDWkltaVpQeUxH
17
- UUJHUllEYjNKbk1CNFhEVEV6TURVeU1qRXlOVGswTjFvWERURTBNRFV5Ck1q
18
- RXlOVGswTjFvd1Z6RVJNQThHQTFVRUF3d0ljblZpZVdkbGJYTXhHREFXQmdv
19
- SmtpYUprL0lzWkFFWkZnaGoKYUhKcGMyeGxaVEVUTUJFR0NnbVNKb21UOGl4
20
- a0FSa1dBMlJvY3pFVE1CRUdDZ21TSm9tVDhpeGtBUmtXQTI5eQpaekNDQVNJ
21
- d0RRWUpLb1pJaHZjTkFRRUJCUUFEZ2dFUEFEQ0NBUW9DZ2dFQkFOY1ByeDhC
22
- WmlXSVI5eFdXRzhJCnRxUjUzOHRTMXQrVUo0RlpGbCsxdnJ0VTlUaXVXWDNW
23
- ajM3VHdVcGEyZkZremlLMG41S3VwVlRoeUVoY2VtNW0KT0dSanZnclJGYldR
24
- SlNTc2NJS09wd3FVUkhWS1JwVjlnVnovSG56azhTK3hvdFVSMUJ1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2020-08-25 00:00:00.000000000 Z
42
12
  dependencies:
43
13
  - !ruby/object:Gem::Dependency
44
14
  name: bundler
45
15
  requirement: !ruby/object:Gem::Requirement
46
- none: false
47
16
  requirements:
48
- - - ~>
17
+ - - "~>"
49
18
  - !ruby/object:Gem::Version
50
19
  version: '1.3'
51
20
  type: :development
52
21
  prerelease: false
53
22
  version_requirements: !ruby/object:Gem::Requirement
54
- none: false
55
23
  requirements:
56
- - - ~>
24
+ - - "~>"
57
25
  - !ruby/object:Gem::Version
58
26
  version: '1.3'
59
27
  - !ruby/object:Gem::Dependency
60
28
  name: rake
61
29
  requirement: !ruby/object:Gem::Requirement
62
- none: false
63
30
  requirements:
64
- - - ! '>='
31
+ - - "~>"
65
32
  - !ruby/object:Gem::Version
66
- version: '0'
33
+ version: '10'
67
34
  type: :development
68
35
  prerelease: false
69
36
  version_requirements: !ruby/object:Gem::Requirement
70
- none: false
71
37
  requirements:
72
- - - ! '>='
38
+ - - "~>"
73
39
  - !ruby/object:Gem::Version
74
- version: '0'
40
+ version: '10'
75
41
  description: simple interface to lookup blacklists results
76
42
  email:
77
43
  - rubygems@chrislee.dhs.org
@@ -80,16 +46,10 @@ executables:
80
46
  extensions: []
81
47
  extra_rdoc_files: []
82
48
  files:
83
- - .gitignore
84
- - Gemfile
85
- - LICENSE.txt
86
- - README.md
87
- - Rakefile
88
49
  - bin/dnsbl-client
89
50
  - data/dnsbl.yaml
90
51
  - data/three-level-tlds
91
52
  - data/two-level-tlds
92
- - dnsbl-client.gemspec
93
53
  - lib/dnsbl/client.rb
94
54
  - lib/dnsbl/client/version.rb
95
55
  - test/helper.rb
@@ -97,33 +57,25 @@ files:
97
57
  homepage: http://github.com/chrislee35/dnsbl-client
98
58
  licenses:
99
59
  - MIT
60
+ metadata: {}
100
61
  post_install_message:
101
62
  rdoc_options: []
102
63
  require_paths:
103
64
  - lib
104
65
  required_ruby_version: !ruby/object:Gem::Requirement
105
- none: false
106
66
  requirements:
107
- - - ! '>='
67
+ - - ">="
108
68
  - !ruby/object:Gem::Version
109
69
  version: '0'
110
- segments:
111
- - 0
112
- hash: -1644679635728058987
113
70
  required_rubygems_version: !ruby/object:Gem::Requirement
114
- none: false
115
71
  requirements:
116
- - - ! '>='
72
+ - - ">="
117
73
  - !ruby/object:Gem::Version
118
74
  version: '0'
119
- segments:
120
- - 0
121
- hash: -1644679635728058987
122
75
  requirements: []
123
- rubyforge_project:
124
- rubygems_version: 1.8.25
76
+ rubygems_version: 3.1.2
125
77
  signing_key:
126
- specification_version: 3
78
+ specification_version: 4
127
79
  summary: queries various DNS Blacklists
128
80
  test_files:
129
81
  - test/helper.rb
data.tar.gz.sig DELETED
Binary file
data/.gitignore DELETED
@@ -1,17 +0,0 @@
1
- *.gem
2
- *.rbc
3
- .bundle
4
- .config
5
- .yardoc
6
- Gemfile.lock
7
- InstalledFiles
8
- _yardoc
9
- coverage
10
- doc/
11
- lib/bundler/man
12
- pkg
13
- rdoc
14
- spec/reports
15
- test/tmp
16
- test/version_tmp
17
- tmp
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in dnsbl-client.gemspec
4
- gemspec
@@ -1,22 +0,0 @@
1
- Copyright (c) 2013 chrislee35
2
-
3
- MIT License
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md DELETED
@@ -1,35 +0,0 @@
1
- # DNSBL::Client
2
-
3
- dnsbl-client queries DNS Blacklists for listings. Currently this only does IP lookups, but the next version will handle domains.
4
-
5
- ## Installation
6
-
7
- Add this line to your application's Gemfile:
8
-
9
- gem 'dnsbl-client'
10
-
11
- And then execute:
12
-
13
- $ bundle
14
-
15
- Or install it yourself as:
16
-
17
- $ gem install dnsbl-client
18
-
19
- ## Usage
20
-
21
- require "dnsbl-client"
22
- c = DNSBL::Client.new
23
- c.lookup("203.150.14.85")
24
- => [#<struct DNSBL::DNSBLResult dnsbl="UCEPROTECT1", query="85.14.150.203.dnsbl-1.uceprotect.net", result="127.0.0.2", meaning="Blacklisted", timing=0.0247988700866699>, #<struct DNSBL::DNSBLResult dnsbl="BARRACUDA", query="85.14.150.203.b.barracudacentral.org", result="127.0.0.2", meaning="Listed", timing=0.0266849994659424>]
25
-
26
- c.add_dnsbl("superdnsbl","super.dnsbl.com",'ip',{"0"=>"OK","127.0.0.2"=>"Blacklisted"})
27
- puts c.dnsbls.join(" ")
28
-
29
- ## Contributing
30
-
31
- 1. Fork it
32
- 2. Create your feature branch (`git checkout -b my-new-feature`)
33
- 3. Commit your changes (`git commit -am 'Add some feature'`)
34
- 4. Push to the branch (`git push origin my-new-feature`)
35
- 5. Create new Pull Request
data/Rakefile DELETED
@@ -1,12 +0,0 @@
1
- #!/usr/bin/env rake
2
- require "bundler/gem_tasks"
3
-
4
- require 'rake/testtask'
5
-
6
- Rake::TestTask.new do |t|
7
- t.libs << 'lib'
8
- t.test_files = FileList['test/test_*.rb']
9
- t.verbose = true
10
- end
11
-
12
- task :default => :test
@@ -1,26 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'dnsbl/client/version'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = "dnsbl-client"
8
- spec.version = DNSBL::Client::VERSION
9
- spec.authors = ["chrislee35"]
10
- spec.email = ["rubygems@chrislee.dhs.org"]
11
- spec.description = %q{simple interface to lookup blacklists results}
12
- spec.summary = %q{queries various DNS Blacklists}
13
- spec.homepage = "http://github.com/chrislee35/dnsbl-client"
14
- spec.license = "MIT"
15
-
16
- spec.files = `git ls-files`.split($/)
17
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
- spec.require_paths = ["lib"]
20
-
21
- spec.add_development_dependency "bundler", "~> 1.3"
22
- spec.add_development_dependency "rake"
23
-
24
- spec.signing_key = "#{File.dirname(__FILE__)}/../gem-private_key.pem"
25
- spec.cert_chain = ["#{File.dirname(__FILE__)}/../gem-public_cert.pem"]
26
- end
metadata.gz.sig DELETED
@@ -1 +0,0 @@
1
- g]���b�DЇ=�ȫ��D�ҀP`%����2,~Xh�k~E�A��6�����|1����)!HF_gM<U�r�'6[�� �H�,�z����>�Q���%]I3������2����KV>�޴ӝW�%�{��|d���gSEի��J�7o~�D�T� �(n��+ɏ�*��R� uTG<Д�2?�H߹㻥pJ��������\T������H�?��