Rakefile in streambot-0.2.3 vs Rakefile in streambot-0.2.4

- old
+ new

@@ -13,13 +13,13 @@ gem.require_path = 'lib' gem.files = %w(Rakefile) + Dir.glob("{lib}/**/*") # Dependency for dealing with twitter streaming API gem.add_dependency "tweetstream",">= 1.0.4" + gem.add_development_dependency "webmock",">= 1.0.0" # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings end - Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler" end require 'rake/testtask' @@ -40,12 +40,11 @@ task :rcov do abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov" end end -task :test => :check_dependencies - -task :default => :test +task :default => [:check_dependencies,:test] +task :build_gem => [:test,:build] require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| version = File.exist?('VERSION') ? File.read('VERSION') : ""