summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorbluemonk <ceresa@ieee.org>2010-07-18 11:29:36 +0200
committerbluemonk <ceresa@ieee.org>2010-07-18 11:30:53 +0200
commit2169d58e12815c9dec0b1ced515fa4b0e36ef10a (patch)
tree091efd999a7269b3e77fd725f2e8c34e70c2f4e7 /Rakefile
parentec7ebc79397865db434cccd809c5eac0529fde07 (diff)
downloadipaddress-2169d58e12815c9dec0b1ced515fa4b0e36ef10a.tar.gz
Lots of changes towards 0.6.0
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile20
1 files changed, 7 insertions, 13 deletions
diff --git a/Rakefile b/Rakefile
index fbe75be..928e478 100644
--- a/Rakefile
+++ b/Rakefile
@@ -10,9 +10,13 @@ begin
gem.email = "ceresa@gmail.com"
gem.homepage = "http://github.com/bluemonk/ipaddress"
gem.authors = ["Marco Ceresa"]
- # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
+ gem.description = <<-EOD
+ 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.
+ EOD
end
-
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
@@ -57,7 +61,7 @@ end
desc "Open an irb session preloaded with this library"
task :console do
- sh "irb -rubygems -I lib -r ipaddress.rb"
+ sh "irb1.9 -rubygems -I lib -r ipaddress.rb"
end
desc "Look for TODO and FIXME tags in the code"
@@ -77,13 +81,3 @@ task :todo do
end
egrep /(FIXME|TODO|TBD)/
end
-
-begin
- require 'jeweler'
- Jeweler::Tasks.new do |gemspec|
- # omitted for brevity
- end
- Jeweler::GemcutterTasks.new
-rescue LoadError
- puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
-end