Rakefile in citrulu-0.1.0 vs Rakefile in citrulu-0.1.1

- old
+ new

@@ -15,12 +15,12 @@ Jeweler::Tasks.new do |gem| # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options gem.name = "citrulu" gem.homepage = "https://github.com/dxw/citrulu-api-ruby.git" gem.license = "MIT" - gem.summary = %Q{ Wrapper for the api exposed by Citrulu } - gem.description = %Q{ Citrulu exposes an api for creating, editing and compiling test files (http://www.citrulu.com/api). This gem provides a wrapper around that api which allows you to work with TestFile objects locally. } + gem.summary = %Q{Wrapper for the api exposed by Citrulu} + gem.description = %Q{Citrulu exposes an api for creating, editing and compiling test files (http://www.citrulu.com/api). This gem provides a wrapper around that api which allows you to work with TestFile objects locally.} gem.email = ["contact@dxw.com", "duncan@dxw.com"] gem.authors = ["Duncan Stuart"] # dependencies defined in Gemfile end Jeweler::RubygemsDotOrgTasks.new @@ -36,14 +36,14 @@ spec.rcov = true end task :default => :spec -# require 'rdoc/task' -# Rake::RDocTask.new do |rdoc| -# version = File.exist?('VERSION') ? File.read('VERSION') : "" -# -# rdoc.rdoc_dir = 'rdoc' -# rdoc.title = "citrulu-api #{version}" -# rdoc.rdoc_files.include('README*') -# rdoc.rdoc_files.include('lib/**/*.rb') -# end +require 'rdoc/task' +Rake::RDocTask.new do |rdoc| + version = File.exist?('VERSION') ? File.read('VERSION') : "" + + rdoc.rdoc_dir = 'rdoc' + rdoc.title = "citrulu-api #{version}" + rdoc.rdoc_files.include('README*') + rdoc.rdoc_files.include('lib/**/*.rb') +end