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
6
Rakefile
6
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')
|
||||||
|
@ -45,7 +45,7 @@ spec = Gem::Specification.new do |s|
|
||||||
s.summary = %q{factory_girl provides a framework and DSL for defining and
|
s.summary = %q{factory_girl provides a framework and DSL for defining and
|
||||||
using model instance factories.}
|
using model instance factories.}
|
||||||
s.description = %q{factory_girl provides a framework and DSL for defining and
|
s.description = %q{factory_girl provides a framework and DSL for defining and
|
||||||
using factories - less error-prone, more explicit, and
|
using factories - less error-prone, more explicit, and
|
||||||
all-around easier to work with than fixtures.}
|
all-around easier to work with than fixtures.}
|
||||||
|
|
||||||
s.files = FileList['[A-Z]*', 'lib/**/*.rb', 'test/**/*.rb']
|
s.files = FileList['[A-Z]*', 'lib/**/*.rb', 'test/**/*.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