Permalink
Browse files

Changed from echoe to jeweler for gem management

  • Loading branch information...
1 parent f478afd commit c1d39b255b784fec867e40d4cb17e7545246d7b2 @lox lox committed Oct 13, 2010
Showing with 18 additions and 11 deletions.
  1. +1 −0 .gitignore
  2. +17 −11 Rakefile
View
@@ -1,4 +1,5 @@
Manifest
+Capfile
pkg/
*.gemspec
tmp/*
View
@@ -1,12 +1,18 @@
-require 'rubygems'
-require 'rake'
-require 'echoe'
-
-Echoe.new('capistrano-rightscale', '0.1') do |p|
- p.description = "An extension for capistrano for integrating roles with RightScale server tags"
- p.url = "http://github.com/99designs/capistrano-rightscale"
- p.author = "Lachlan Donald"
- p.email = "lachlan@ljd.cc"
- p.development_dependencies = []
- p.runtime_dependencies = ["capistrano >=2.1.0", "rightscale-api"]
+begin
+ require 'jeweler'
+ Jeweler::Tasks.new do |gemspec|
+ gemspec.name = "capistrano-rightscale"
+ gemspec.summary = "An extension for capistrano for integrating roles with RightScale server tags"
+ gemspec.description = "An extension for capistrano for integrating roles with RightScale server tags"
+ gemspec.email = "lachlan@ljd.cc"
+ gemspec.homepage = "http://github.com/99designs/capistrano-rightscale"
+ gemspec.authors = ["Lachlan Donald"]
+ gemspec.add_dependency('capistrano', '>= 2.1.0')
+ gemspec.add_dependency('rightscale-api')
+ end
+ Jeweler::GemcutterTasks.new
+rescue LoadError
+ puts "Jeweler, or one of its dependencies, is not available. Install it with: gem install jeweler"
end
+
+

0 comments on commit c1d39b2

Please sign in to comment.