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
|
# -*- 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 = ["knu@idaemons.org"]
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-1.1", "GPL-2.0", "LGPL-2.1"]
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")
if RUBY_VERSION >= "1.9"
gem.add_development_dependency("shoulda", ">= 0")
else
# Cap dependency on activesupport with < 4.0 on behalf of
# shoulda-matchers to satisfy bundler.
gem.add_development_dependency("activesupport", "< 4.0")
gem.add_development_dependency("i18n", "< 0.7.0")
gem.add_development_dependency("shoulda", "< 3.5.0")
end
gem.add_development_dependency("bundler", [">= 1.2.0"])
gem.add_development_dependency("rake", [">= 0.9.2.2"])
gem.add_development_dependency("rdoc", [">= 2.4.2"])
end
|