diff options
author | bluemonk <ceresa@gmail.com> | 2014-07-27 13:43:02 +0200 |
---|---|---|
committer | bluemonk <ceresa@gmail.com> | 2014-07-27 13:43:02 +0200 |
commit | 45b69c635e5c57dee7a22061fb3f751ae4fe7c2f (patch) | |
tree | f4853ac81e3dbd417ea335ddab770abf4f3ecabd /ipaddress.gemspec | |
parent | e781b98d3c8dc8c118fd496095443dd839e2cd92 (diff) | |
download | ipaddress-45b69c635e5c57dee7a22061fb3f751ae4fe7c2f.tar.gz |
Bundler clean up: .gemspec file, update LICENSE and change version track file
Diffstat (limited to 'ipaddress.gemspec')
-rw-r--r-- | ipaddress.gemspec | 69 |
1 files changed, 20 insertions, 49 deletions
diff --git a/ipaddress.gemspec b/ipaddress.gemspec index 41af7bf..7e24507 100644 --- a/ipaddress.gemspec +++ b/ipaddress.gemspec @@ -1,55 +1,26 @@ -# Generated by jeweler -# DO NOT EDIT THIS FILE DIRECTLY -# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec' -# -*- encoding: utf-8 -*- +# coding: utf-8 +lib = File.expand_path('../lib', __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +require 'ipaddress/version' -Gem::Specification.new do |s| - s.name = %q{ipaddress} - s.version = "0.8.0" - - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["Marco Ceresa"] - s.date = %q{2011-05-17} - s.description = %q{ IPAddress is a Ruby library designed to make manipulation +Gem::Specification.new do |spec| + spec.name = "ipaddress" + spec.version = Ipaddress::VERSION + spec.authors = ["bluemonk"] + spec.email = ["ceresa@gmail.com"] + spec.summary = %q{IPv4/IPv6 address manipulation library} + spec.description = %q{IPAddress is a Ruby library designed to make manipulation of IPv4 and IPv6 addresses both powerful and simple. It mantains a layer of compatibility with Ruby's own IPAddr, while - addressing many of its issues. -} - s.email = %q{ceresa@gmail.com} - s.extra_rdoc_files = [ - "LICENSE", - "README.rdoc" - ] - s.files = [ - ".document", - "CHANGELOG.rdoc", - "LICENSE", - "README.rdoc", - "Rakefile", - "VERSION", - "ipaddress.gemspec", - "lib/ipaddress.rb", - "lib/ipaddress/ipv4.rb", - "lib/ipaddress/ipv6.rb", - "lib/ipaddress/prefix.rb", - "test/ipaddress/ipv4_test.rb", - "test/ipaddress/ipv6_test.rb", - "test/ipaddress/prefix_test.rb", - "test/ipaddress_test.rb", - "test/test_helper.rb" - ] - s.homepage = %q{http://github.com/bluemonk/ipaddress} - s.require_paths = ["lib"] - s.rubygems_version = %q{1.6.2} - s.summary = %q{IPv4/IPv6 addresses manipulation library} + addressing many of its issues.} + spec.homepage = "https://github.com/bluemonk/ipaddress" + spec.license = "MIT" - if s.respond_to? :specification_version then - s.specification_version = 3 + spec.files = `git ls-files -z`.split("\x0") + spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } + spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) + spec.require_paths = ["lib"] - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - else - end - else - end + spec.add_development_dependency "bundler", "~> 1.6" + spec.add_development_dependency "rake", "~> 10.0" end - |