Skip to content
Browse files

fixing the version and name of the rdoc documentation

  • Loading branch information...
1 parent 97ee631 commit 7bf30330178de2d3dc964661e0e41a0cf43cd352 @bokmann committed Oct 4, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 Rakefile
View
5 Rakefile
@@ -15,11 +15,12 @@ require 'rdoc/rdoc'
require 'rdoc/task'
+require File.expand_path('../lib/sentient_user/version.rb', __FILE__)
+
Rake::RDocTask.new do |rdoc|
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
rdoc.rdoc_dir = 'rdoc'
- rdoc.title = "business_time #{version}"
+ rdoc.title = "sentient_user #{SentientUser::VERSION}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end

0 comments on commit 7bf3033

Please sign in to comment.
Something went wrong with that request. Please try again.