Permalink
Browse files

Add rdoc

  • Loading branch information...
1 parent d5225b2 commit 901f4723b8db4bca6313c40eebb3534eb42a14b1 @Sutto committed May 7, 2010
Showing with 3 additions and 3 deletions.
  1. +2 −3 Rakefile
  2. +1 −0 auspost-drc.gemspec
View
@@ -33,10 +33,9 @@ task :default => :test
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
-
+ version = AusPost::DRC::VERSION
rdoc.rdoc_dir = 'rdoc'
- rdoc.title = "auspost_drc #{version}"
+ rdoc.title = "austpost-drc #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
View
@@ -22,6 +22,7 @@ Gem::Specification.new do |s|
"LICENSE",
"README.md",
"Rakefile",
+ "auspost-drc.gemspec",
"lib/aus_post/drc.rb",
"lib/aus_post/drc/calculator.rb",
"lib/aus_post/drc/parcel.rb",

0 comments on commit 901f472

Please sign in to comment.