Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Updates tasks to use README.md, instead of README.rdoc

  • Loading branch information...
commit b08af136e438440daeffa28a1a8bddbf8ecc65ba 1 parent 9c634f1
Andy Lindeman alindeman authored
2  Rakefile
... ... @@ -1,6 +1,6 @@
1 1 desc 'Release Sunspot, Sunspot::Rails and Sunspot::Solr to Gemcutter'
2 2 task :release do
3   - FileUtils.cp('README.rdoc', 'sunspot/')
  3 + FileUtils.cp('README.md', 'sunspot/')
4 4
5 5 require File.expand_path('../sunspot/lib/sunspot/version', __FILE__)
6 6
4 sunspot/tasks/rdoc.rake
@@ -10,8 +10,8 @@ end
10 10 Rake::RDocTask.new(:doc) do |rdoc|
11 11 version = Sunspot::VERSION
12 12 rdoc.title = "Sunspot #{version} - Solr-powered search for Ruby objects - API Documentation"
13   - rdoc.main = 'README.rdoc'
14   - rdoc.rdoc_files.include('README.rdoc', 'lib/sunspot.rb', 'lib/sunspot/**/*.rb')
  13 + rdoc.main = 'README.md'
  14 + rdoc.rdoc_files.include('README.md', 'lib/sunspot.rb', 'lib/sunspot/**/*.rb')
15 15 rdoc.rdoc_dir = 'doc'
16 16 rdoc.options << "--webcvs=http://github.com/outoftime/sunspot/tree/v#{version}/%s" << '--title' << 'Sunspot - Solr-powered search for Ruby objects - API Documentation'
17 17 end
4 sunspot_rails/dev_tasks/rdoc.rake
@@ -8,8 +8,8 @@ rescue LoadError
8 8 end
9 9
10 10 Rake::RDocTask.new(:doc) do |rdoc|
11   - rdoc.main = 'README.rdoc'
12   - rdoc.rdoc_files.include('README.rdoc', 'lib/sunspot/rails/**/*.rb', 'lib/sunspot/rails.rb')
  11 + rdoc.main = 'README.md'
  12 + rdoc.rdoc_files.include('README.md', 'lib/sunspot/rails/**/*.rb', 'lib/sunspot/rails.rb')
13 13 rdoc.rdoc_dir = 'doc'
14 14 end
15 15

0 comments on commit b08af13

Please sign in to comment.
Something went wrong with that request. Please try again.