Permalink
Browse files

Migrated to Jeweler.

  • Loading branch information...
1 parent f0ca4d9 commit ef8a47675ed53cab0592e6fe2411aa75c38fca49 @tylerhunt committed Sep 3, 2009
Showing with 31 additions and 10 deletions.
  1. +27 −10 Rakefile
  2. +4 −0 VERSION.yml
View
@@ -1,12 +1,29 @@
-require 'rubygems'
-require 'echoe'
+require 'rake'
+require 'spec/rake/spectask'
-Echoe.new 'comeback' do |p|
- p.version = "0.0.1"
- p.author = "Tyler Hunt"
- p.email = "tyler@tylerhunt.com"
- p.summary = "Provides a mechanism for storing and accessing return URLs."
- p.url = "http://github.com/tylerhunt/comeback"
- p.dependencies = %w(actionpack)
- p.development_dependencies = %w(echoe)
+begin
+ require 'jeweler'
+
+ Jeweler::Tasks.new do |gem|
+ gem.name = 'comeback'
+ gem.summary = 'Provides a mechanism for storing and accessing return URLs.'
+ gem.email = 'tyler@tylerhunt.com'
+ gem.homepage = 'http://github.com/tylerhunt/comeback'
+ gem.authors = ['Tyler Hunt']
+
+ gem.add_dependency('actionpack')
+
+ gem.add_development_dependency('jeweler', '~> 0.11.0')
+ gem.add_development_dependency('rspec', '~> 1.2.2')
+ end
+rescue LoadError
+ puts 'Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com'
+end
+
+task :default => :spec
+
+Spec::Rake::SpecTask.new(:spec) do |t|
+ t.libs << 'rails'
+ t.spec_opts = ['--colour --format progress --loadby mtime --reverse']
+ t.spec_files = FileList['spec/**/*_spec.rb']
end
View
@@ -0,0 +1,4 @@
+---
+:major: 0
+:minor: 0
+:patch: 1

0 comments on commit ef8a476

Please sign in to comment.