File: rubydns.gemspec

package info (click to toggle)
ruby-rubydns 1.0.3-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 548 kB
  • sloc: ruby: 1,796; makefile: 7
file content (41 lines) | stat: -rw-r--r-- 1,712 bytes parent folder | download
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
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'rubydns/version'

Gem::Specification.new do |spec|
	spec.name          = "rubydns"
	spec.version       = RubyDNS::VERSION
	spec.authors       = ["Samuel Williams"]
	spec.email         = ["samuel.williams@oriontransfer.co.nz"]
	spec.description   = <<-EOF
		RubyDNS is a high-performance DNS server which can be easily integrated into
		other projects or used as a stand-alone daemon. By default it uses
		rule-based pattern matching. Results can be hard-coded, computed, fetched from
		a remote DNS server or fetched from a local cache, depending on requirements.

		In addition, RubyDNS includes a high-performance asynchronous DNS resolver
		built on top of Celluloid. This module can be used by itself in client
		applications without using the full RubyDNS server stack.
	EOF
	spec.summary       = "An easy to use DNS server and resolver for Ruby."
	spec.homepage      = "http://www.codeotaku.com/projects/rubydns"
	spec.license       = "MIT"

	spec.files         = Dir.glob('**/*')
	spec.executables   = spec.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
	spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
	spec.require_paths = ["lib"]
	spec.has_rdoc = "yard"
	
	spec.required_ruby_version = '>= 1.9.3'

	spec.add_dependency("celluloid", "= 0.16.0")
	spec.add_dependency("celluloid-io", "= 0.16.2")
	spec.add_dependency("timers", "~> 4.0")
	
	spec.add_development_dependency "bundler", "~> 1.3"
	spec.add_development_dependency "process-daemon", "~> 0.5.5"
	spec.add_development_dependency "rspec", "~> 3.2.0"
	spec.add_development_dependency "rake"
end