mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
--inline-source is no longer an option in rdoc v2.4
This commit is contained in:
parent
b31720a32e
commit
2b8d59f580
1 changed files with 2 additions and 2 deletions
4
Rakefile
4
Rakefile
|
@ -18,7 +18,7 @@ end
|
|||
Rake::RDocTask.new { |rdoc|
|
||||
rdoc.rdoc_dir = 'doc'
|
||||
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.rdoc_files.include('README.rdoc', 'CONTRIBUTION_GUIDELINES.rdoc', 'lib/**/*.rb')
|
||||
}
|
||||
|
@ -50,7 +50,7 @@ spec = Gem::Specification.new do |s|
|
|||
|
||||
s.has_rdoc = true
|
||||
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.email = "tsaleh@thoughtbot.com"
|
||||
|
|
Loading…
Add table
Reference in a new issue