summaryrefslogtreecommitdiff
path: root/ipaddress.gemspec
diff options
context:
space:
mode:
authorMike Mackintosh <m@zyp.io>2015-03-23 16:07:04 -0400
committerMike Mackintosh <m@zyp.io>2015-03-23 16:07:04 -0400
commit3b81b3e38c36e7c29e50a2e2acaf465b6f944d9a (patch)
treee0e64c3893d402d0d7f32490f68bd7da32a6288d /ipaddress.gemspec
parenta8dc5aaae6cf823fa8d9eb82e1aeebd87085cb91 (diff)
parent069ff36f87a20c4261f0e7cc0f4147d7d446da4a (diff)
downloadipaddress-3b81b3e38c36e7c29e50a2e2acaf465b6f944d9a.tar.gz
merging in bundler, because it's 2015
Diffstat (limited to 'ipaddress.gemspec')
-rw-r--r--ipaddress.gemspec72
1 files changed, 20 insertions, 52 deletions
diff --git a/ipaddress.gemspec b/ipaddress.gemspec
index 7399c21..dfcf8d5 100644
--- a/ipaddress.gemspec
+++ b/ipaddress.gemspec
@@ -1,58 +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 = IO.read("VERSION")
-
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["Marco Ceresa", "Mike Mackintosh"]
- s.date = %q{2015-03-22}
- 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", "mikemackintosh"]
+ 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",
- "lib/ipaddress/mongoid.rb",
- "test/ipaddress/ipv4_test.rb",
- "test/ipaddress/ipv6_test.rb",
- "test/ipaddress/prefix_test.rb",
- "test/ipaddress/mongoid_test.rb",
- "test/ipaddress_test.rb",
- "test/test_helper.rb"
- ]
- s.homepage = %q{http://github.com/bluemonk/ipaddress}
- s.license = 'MIT'
- 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
-