Rakefile in binarylogic-addresslogic-1.1.2 vs Rakefile in binarylogic-addresslogic-1.1.3
- old
+ new
@@ -9,10 +9,11 @@
gem.email = "bjohnson@binarylogic.com"
gem.homepage = "http://github.com/binarylogic/addresslogic"
gem.authors = ["Ben Johnson of Binary Logic"]
gem.rubyforge_project = "addresslogic"
end
+ Jeweler::RubyforgeTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
require 'rake/testtask'
@@ -33,16 +34,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