forked from netlify/ruby-domain_name
-
Notifications
You must be signed in to change notification settings - Fork 0
/
domain_name.gemspec
36 lines (31 loc) · 1.3 KB
/
domain_name.gemspec
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
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'domain_name/version'
Gem::Specification.new do |gem|
gem.name = "domain_name"
gem.version = DomainName::VERSION
gem.authors = ["Akinori MUSHA"]
gem.email = ["[email protected]"]
gem.description = <<-'EOS'
This is a Domain Name manipulation library for Ruby.
It can also be used for cookie domain validation based on the Public
Suffix List.
EOS
gem.summary = %q{Domain Name manipulation library for Ruby}
gem.homepage = "https://github.com/knu/ruby-domain_name"
gem.licenses = ["BSD-2-Clause", "BSD-3-Clause", "MPL-2.0"]
gem.files = `git ls-files`.split($/)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]
gem.extra_rdoc_files = [
"LICENSE.txt",
"README.md"
]
gem.add_runtime_dependency("unf", ["< 1.0.0", ">= 0.0.5"])
gem.add_development_dependency("test-unit", "~> 2.5.5")
gem.add_development_dependency("bundler", [">= 1.2.0"])
gem.add_development_dependency("rake", [">= 0.9.2.2", *("< 11" if RUBY_VERSION < "1.9")])
gem.add_development_dependency("rdoc", [">= 2.4.2"])
end