Permalink
Browse files

Cleanup Rakefile

  • Loading branch information...
1 parent 903c761 commit c9eaa9dcfa08512c74f95177c0a0eb3db5659c59 @brynary brynary committed Aug 29, 2010
Showing with 11 additions and 20 deletions.
  1. +11 −20 Rakefile
View
31 Rakefile
@@ -2,20 +2,17 @@ require "rubygems"
require "bundler"
Bundler.setup
-begin
- require 'jeweler'
- Jeweler::Tasks.new do |gem|
- gem.name = "e20_ops_middleware"
- gem.summary = "Operations support gem for Efficiency 2.0 projects"
- gem.email = "tech@efficiency20.com"
- gem.homepage = "http://github.com/efficiency20/ops_middleware"
- gem.description = "Adds middleware for debugging purposes"
- gem.authors = ["Efficiency 2.0"]
- gem.add_dependency "uuid", "~> 2.1.0"
- gem.add_development_dependency "rspec", "~> 1.3.0"
- end
-rescue LoadError
- puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
+require 'jeweler'
+
+Jeweler::Tasks.new do |gem|
+ gem.name = "e20_ops_middleware"
+ gem.summary = "Operations support gem for Efficiency 2.0 projects"
+ gem.email = "tech@efficiency20.com"
+ gem.homepage = "http://github.com/efficiency20/ops_middleware"
+ gem.description = "Adds middleware for debugging purposes"
+ gem.authors = ["Efficiency 2.0"]
+ gem.add_dependency "uuid", "~> 2.1.0"
+ gem.add_development_dependency "rspec", "~> 1.3.0"
end
require "spec/rake/spectask"
@@ -25,10 +22,4 @@ Spec::Rake::SpecTask.new("spec") do |t|
t.spec_files = FileList["spec/**/*_spec.rb"]
end
-desc "Push to internal gem server"
-task :push => :build do
- puts "Pushing to gems.efficiency20.com"
- %x{RUBYGEMS_HOST="http://localhost:2000" gem push pkg/*.gem}
-end
-
task :default => :spec

0 comments on commit c9eaa9d

Please sign in to comment.