File: dnsruby.gemspec

package info (click to toggle)
dnsruby 1.61.5-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,520 kB
  • sloc: ruby: 17,811; makefile: 3
file content (51 lines) | stat: -rw-r--r-- 1,918 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'dnsruby/version'

SPEC = Gem::Specification.new do |s|
  s.name = "dnsruby"
  s.version = Dnsruby::VERSION
  s.authors = ["Alex Dalitz"]
  s.email = 'alex@caerkettontech.com'
  s.homepage = "https://github.com/alexdalitz/dnsruby"
  s.platform = Gem::Platform::RUBY
  s.summary = "Ruby DNS(SEC) implementation"
  s.description = \
'Dnsruby is a pure Ruby DNS client library which implements a
stub resolver. It aims to comply with all DNS RFCs, including
DNSSEC NSEC3 support.'
  s.license = "Apache License, Version 2.0"
  
  s.files = `git ls-files -z`.split("\x0")

  s.post_install_message = \
"Installing dnsruby...
  For issues and source code: https://github.com/alexdalitz/dnsruby
  For general discussion (please tell us how you use dnsruby): https://groups.google.com/forum/#!forum/dnsruby"

  s.test_file = "test/ts_offline.rb"
  s.extra_rdoc_files = ["DNSSEC", "EXAMPLES", "README.md", "EVENTMACHINE"]

  s.metadata = {
    'yard.run'          => 'yard',
    'bug_tracker_uri'   => 'https://github.com/alexdalitz/dnsruby/issues',
    'changelog_uri'     => 'https://github.com/alexdalitz/dnsruby/blob/master/RELEASE_NOTES.md',
    'documentation_uri' => 'https://www.rubydoc.info/gems/dnsruby/',
    'homepage_uri'      => 'https://github.com/alexdalitz/dnsruby',
    'source_code_uri'   => 'https://github.com/alexdalitz/dnsruby',
  }

  s.add_development_dependency 'rake', '>= 12.3.3'
  s.add_development_dependency 'minitest', '~> 5.4'
  s.add_development_dependency 'rubydns', '~> 2.0.1'
  s.add_development_dependency 'nio4r', '~> 2.0'
  s.add_development_dependency 'minitest-display', '>= 0.3.0'
  s.add_development_dependency('yard', '~> 0.9')

  if RUBY_VERSION >= "1.9.3"
    s.add_development_dependency 'coveralls', '~> 0.7'
  end

  s.add_runtime_dependency 'simpleidn', '~> 0.1'
end