Rakefile in weary-0.1.0 vs Rakefile in weary-0.1.2

- old
+ new

@@ -1,21 +1,29 @@ require 'rubygems' require 'spec/rake/spectask' task :default => :spec +require 'rake/rdoctask' +Rake::RDocTask.new do |rdoc| + rdoc.rdoc_dir = 'doc' + rdoc.title = 'weary' + rdoc.main = 'README.md' + rdoc.rdoc_files.include('README.*', 'lib/**/*.rb', 'LICENSE') + rdoc.options << '--inline-source' +end + begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "weary" + gemspec.rubyforge_project = "weary" gemspec.summary = "A little DSL for consuming RESTful web services" gemspec.email = "mark@markwunsch.com" gemspec.homepage = "http://github.com/mwunsch/weary" gemspec.description = "The Weary need REST: a tiny DSL that makes the consumption of RESTful web services simple." gemspec.authors = "Mark Wunsch" - gemspec.has_rdoc = false - gemspec.rubyforge_project = "weary" end rescue LoadError puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" end @@ -33,10 +41,10 @@ File.read(File.expand_path('~/.rubyforge/user-config.yml')) ) host = "#{config['username']}@rubyforge.org" remote_dir = "/var/www/gforge-projects/weary/" - local_dir = 'rdoc' + local_dir = 'doc' Rake::SshDirPublisher.new(host, remote_dir, local_dir).upload end end end \ No newline at end of file