Permalink
Browse files

Updated to use newer RDoc.

  • Loading branch information...
1 parent 444e06e commit bc4872ae436ad6def6d09dbdeae0dc513315e7bd @notahat committed Jun 21, 2011
Showing with 6 additions and 3 deletions.
  1. +2 −0 Gemfile.lock
  2. +3 −3 Rakefile
  3. +1 −0 machinist.gemspec
View
@@ -23,6 +23,7 @@ GEM
mysql (2.8.1)
rake (0.9.2)
rcov (0.9.9)
+ rdoc (3.6.1)
rspec (2.6.0)
rspec-core (~> 2.6.0)
rspec-expectations (~> 2.6.0)
@@ -42,4 +43,5 @@ DEPENDENCIES
mysql
rake
rcov
+ rdoc
rspec
View
@@ -4,7 +4,7 @@ Bundler::GemHelper.install_tasks
require 'rake'
require 'rspec/core/rake_task'
-require 'rake/rdoctask'
+require 'rdoc/task'
RSpec::Core::RakeTask.new
@@ -18,10 +18,10 @@ desc 'Run the specs.'
task :default => :rcov
-Rake::RDocTask.new(:rdoc) do |rdoc|
+RDoc::Task.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'doc'
rdoc.title = 'Machinist'
- rdoc.options << '--line-numbers' << '--inline-source'
+ rdoc.options << '--line-numbers'
rdoc.rdoc_files.include('lib')
end
View
@@ -23,4 +23,5 @@ Gem::Specification.new do |s|
s.add_development_dependency "rake"
s.add_development_dependency "rcov"
s.add_development_dependency "rspec"
+ s.add_development_dependency "rdoc"
end

1 comment on commit bc4872a

sjain commented on bc4872a Aug 4, 2011

Is machinist2 rails3 only? I couldn't find a change log. Can I upgrade my rails2 project from machinist-1.0.6 to 2.0.beta? What should I expect?

Please sign in to comment.