Skip to content

Commit

Permalink
--inline-source is no longer an option in rdoc v2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
rmm5t committed Feb 28, 2009
1 parent b31720a commit 2b8d59f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Expand Up @@ -18,7 +18,7 @@ end
Rake::RDocTask.new { |rdoc| Rake::RDocTask.new { |rdoc|
rdoc.rdoc_dir = 'doc' rdoc.rdoc_dir = 'doc'
rdoc.title = "Shoulda -- Making tests easy on the fingers and eyes" rdoc.title = "Shoulda -- Making tests easy on the fingers and eyes"
rdoc.options << '--line-numbers' << '--inline-source' rdoc.options << '--line-numbers'
rdoc.template = "#{ENV['template']}.rb" if ENV['template'] rdoc.template = "#{ENV['template']}.rb" if ENV['template']
rdoc.rdoc_files.include('README.rdoc', 'CONTRIBUTION_GUIDELINES.rdoc', 'lib/**/*.rb') rdoc.rdoc_files.include('README.rdoc', 'CONTRIBUTION_GUIDELINES.rdoc', 'lib/**/*.rb')
} }
Expand Down Expand Up @@ -50,7 +50,7 @@ spec = Gem::Specification.new do |s|


s.has_rdoc = true s.has_rdoc = true
s.extra_rdoc_files = ["README.rdoc", "CONTRIBUTION_GUIDELINES.rdoc"] s.extra_rdoc_files = ["README.rdoc", "CONTRIBUTION_GUIDELINES.rdoc"]
s.rdoc_options = ["--line-numbers", "--inline-source", "--main", "README.rdoc"] s.rdoc_options = ["--line-numbers", "--main", "README.rdoc"]


s.authors = ["Tammer Saleh"] s.authors = ["Tammer Saleh"]
s.email = "tsaleh@thoughtbot.com" s.email = "tsaleh@thoughtbot.com"
Expand Down

0 comments on commit 2b8d59f

Please sign in to comment.