mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
c2db917b3d
- Add IPAddr#prefix - Add IPAddr#loopback? - Add IPAddr#private? [Feature #11666] - Add IPAddr#link_local? [Feature #10912] - Reject invalid address mask [Bug #13399] - Warn that IPAddr#ipv4_compat and #ipv4_compat? are deprecated [#Bug 13769] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
26 lines
1 KiB
Ruby
26 lines
1 KiB
Ruby
# 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.2.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 = [".gitignore", ".travis.yml", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "bin/console", "bin/setup", "ipaddr.gemspec", "lib/ipaddr.rb"]
|
|
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
|