Rakefile in barometer-0.6.3 vs Rakefile in barometer-0.6.4

- old
+ new

@@ -3,18 +3,22 @@ begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "barometer" - gem.summary = %Q{TODO} + gem.summary = "A multi API consuming weather forecasting superstar." + gem.description = "A multi API consuming weather forecasting superstar." gem.email = "barometer@attackcorp.com" gem.homepage = "http://github.com/attack/barometer" gem.authors = ["Mark G"] - gem.rubyforge_project = 'barometer' - - # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings + + gem.add_dependency 'httparty', '>= 0.4.5' + gem.add_dependency 'tzinfo', '>= 0.3.14' + + #gem.add_development_dependency "mocha" end + Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" end require 'spec/rake/spectask' @@ -44,34 +48,6 @@ rdoc.rdoc_dir = 'rdoc' rdoc.title = "barometer #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') -end - -begin - require 'rake/contrib/sshpublisher' - namespace :rubyforge do - - desc "Release gem and RDoc documentation to RubyForge" - task :release => ["rubyforge:release:gem", "rubyforge:release:docs"] - - namespace :release do - desc "Publish RDoc to RubyForge." - task :docs => [:rdoc] do - config = YAML.load( - File.read(File.expand_path('~/.rubyforge/user-config.yml')) - ) - - host = "#{config['username']}@rubyforge.org" - remote_dir = "/var/www/gforge-projects/barometer/" - local_dir = 'rdoc' - - Rake::SshDirPublisher.new(host, remote_dir, local_dir).upload - end - end - end -rescue LoadError - puts "Rake SshDirPublisher is unavailable or your rubyforge environment is not configured." -end - - +end \ No newline at end of file