Permalink
Browse files

ensure Rakefile works without jeweler

remove machine specific gitignores
  • Loading branch information...
1 parent 1da3937 commit 3f6bacd7b0da6bb911b1fa615ca1b52be5f71cfe @tooky tooky committed with Mar 10, 2010
Showing with 7 additions and 5 deletions.
  1. +4 −4 .gitignore
  2. +3 −1 Rakefile
View
@@ -1,4 +1,4 @@
-.*.sw?
-tmp
-*.scratch.*
-.DS_Store
+coverage
+rdoc
+pkg
+
View
@@ -14,6 +14,9 @@ begin
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
+
+ # check_dependencies is defined by jeweler
+ task :spec => :check_dependencies
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
@@ -30,6 +33,5 @@ Spec::Rake::SpecTask.new(:rcov) do |spec|
spec.rcov = true
end
-task :spec => :check_dependencies
task :default => :spec

0 comments on commit 3f6bacd

Please sign in to comment.