mirror of
https://github.com/thoughtbot/factory_bot.git
synced 2022-11-09 11:43:51 -05:00
--inline-source is no longer an option in rdoc v2.4
Signed-off-by: Nick Quaranto <nick@quaran.to>
This commit is contained in:
parent
ab50abb53f
commit
44ca8fc5cd
1 changed files with 3 additions and 3 deletions
4
Rakefile
4
Rakefile
|
@ -28,7 +28,7 @@ desc 'Generate documentation for the factory_girl plugin.'
|
||||||
Rake::RDocTask.new(:rdoc) do |rdoc|
|
Rake::RDocTask.new(:rdoc) do |rdoc|
|
||||||
rdoc.rdoc_dir = 'rdoc'
|
rdoc.rdoc_dir = 'rdoc'
|
||||||
rdoc.title = 'Factory Girl'
|
rdoc.title = 'Factory Girl'
|
||||||
rdoc.options << '--line-numbers' << '--inline-source' << "--main" << "README.rdoc"
|
rdoc.options << '--line-numbers' << "--main" << "README.rdoc"
|
||||||
rdoc.rdoc_files.include('README.rdoc')
|
rdoc.rdoc_files.include('README.rdoc')
|
||||||
rdoc.rdoc_files.include('CONTRIBUTION_GUIDELINES.rdoc')
|
rdoc.rdoc_files.include('CONTRIBUTION_GUIDELINES.rdoc')
|
||||||
rdoc.rdoc_files.include('lib/**/*.rb')
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
||||||
|
@ -54,7 +54,7 @@ spec = Gem::Specification.new do |s|
|
||||||
|
|
||||||
s.has_rdoc = true
|
s.has_rdoc = true
|
||||||
s.extra_rdoc_files = ["README.rdoc"]
|
s.extra_rdoc_files = ["README.rdoc"]
|
||||||
s.rdoc_options = ['--line-numbers', '--inline-source', "--main", "README.rdoc"]
|
s.rdoc_options = ['--line-numbers', "--main", "README.rdoc"]
|
||||||
|
|
||||||
s.authors = ["Joe Ferris"]
|
s.authors = ["Joe Ferris"]
|
||||||
s.email = %q{jferris@thoughtbot.com}
|
s.email = %q{jferris@thoughtbot.com}
|
||||||
|
|
Loading…
Reference in a new issue