Rakefile in binarylogic-resourcelogic-0.12.2 vs Rakefile in binarylogic-resourcelogic-0.12.3

- old
+ new

@@ -10,10 +10,11 @@ gem.homepage = "http://github.com/binarylogic/resourcelogic" gem.authors = ["Ben Johnson of Binary Logic"] gem.rubyforge_project = "resourcelogic" gem.add_dependency "activesupport" end + Jeweler::RubyforgeTasks.new rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler" end require 'rake/testtask' @@ -34,16 +35,8 @@ task :rcov do abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov" end end -task :default => :test +task :test => :check_dependencies -begin - require 'rake/contrib/sshpublisher' - namespace :rubyforge do - desc "Release gem to RubyForge" - task :release => ["rubyforge:release:gem"] - end -rescue LoadError - puts "Rake SshDirPublisher is unavailable or your rubyforge environment is not configured." -end +task :default => :test