diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-02 02:20:48 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-02 02:20:48 +0000 |
commit | 71d16ad5aa18623456f54f60be29994ede7e6514 (patch) | |
tree | 7002f1e2d5cfa93303c64ff92c612319208e3fa7 /lib | |
parent | 8397de0091fb98a905fc2d025bc1b08f4d125851 (diff) | |
download | ruby-71d16ad5aa18623456f54f60be29994ede7e6514.tar.gz |
ipaddr is now a default gem with an upstream at: https://github.com/ruby/ipaddr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ipaddr.gemspec | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/ipaddr.gemspec b/lib/ipaddr.gemspec new file mode 100644 index 0000000000..a53611da20 --- /dev/null +++ b/lib/ipaddr.gemspec @@ -0,0 +1,28 @@ +# coding: utf-8 +lib = File.expand_path("../lib", __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) + +Gem::Specification.new do |spec| + spec.name = "ipaddr" + spec.version = "1.0.0" + spec.authors = ["Akinori MUSHA", "Hajimu UMEMOTO"] + spec.email = ["knu@idaemons.org", "ume@mahoroba.org"] + + spec.summary = %q{A class to manipulate an IP address in ruby} + spec.description = <<-'DESCRIPTION' +IPAddr provides a set of methods to manipulate an IP address. +Both IPv4 and IPv6 are supported. + DESCRIPTION + spec.homepage = "https://github.com/ruby/ipaddr" + + spec.files = `git ls-files -z`.split("\x0").reject do |f| + f.match(%r{^(test|spec|features)/}) + end + spec.bindir = "exe" + spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } + spec.require_paths = ["lib"] + + spec.add_development_dependency "bundler", "~> 1.15" + spec.add_development_dependency "rake", "~> 10.0" + spec.add_development_dependency "test-unit" +end |