summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorMichael Bleigh <michael@intridea.com>2010-06-22 10:07:35 -0400
committerMichael Bleigh <michael@intridea.com>2010-06-22 10:07:35 -0400
commit69bd1ab7f34154b4b9340c9dcce987165025d6ff (patch)
treed3ac3d88f64a0986e503fab2d2c2a1e94f980d23 /Rakefile
parentaf2d8bd39b8dc35824fdf929fe4bb635e11cafab (diff)
downloadhashie-69bd1ab7f34154b4b9340c9dcce987165025d6ff.tar.gz
Add Jeweler back in.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 8853ee8..46d90a2 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,6 +1,23 @@
require 'rubygems'
require 'rake'
+begin
+ require 'jeweler'
+ Jeweler::Tasks.new do |gem|
+ gem.name = "hashie"
+ gem.summary = %Q{Your friendly neighborhood hash toolkit.}
+ gem.description = %Q{Hashie is a small collection of tools that make hashes more powerful. Currently includes Mash (Mocking Hash) and Dash (Discrete Hash).}
+ gem.email = "michael@intridea.com"
+ gem.homepage = "http://github.com/intridea/hashie"
+ gem.authors = ["Michael Bleigh"]
+ gem.add_development_dependency "rspec"
+ # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
+ end
+ Jeweler::GemcutterTasks.new
+rescue LoadError
+ puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
+end
+
require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
spec.libs << 'lib' << 'spec'