aboutsummaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorVinny Diehl <gbchaosmaster926@gmail.com>2012-10-26 14:44:21 -0400
committerVinny Diehl <gbchaosmaster926@gmail.com>2012-10-26 18:50:35 -0400
commitc195aede73228125833d4e848c6035f2799553c1 (patch)
tree70cdc36797bad03189cf7ed01874f8a91521e3ca /Rakefile
parent59a53f45258d10e689fc9dc0f0cf18746dd13579 (diff)
downloadrails-c195aede73228125833d4e848c6035f2799553c1.tar.gz
rails-c195aede73228125833d4e848c6035f2799553c1.tar.bz2
rails-c195aede73228125833d4e848c6035f2799553c1.zip
Organize README
* Organized code status badges into a "Code Status" section. * Moved the OSI MIT License link inline (bullets are for unordered lists). * Removed all EOL whitespace. [ci skip]
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Rakefile b/Rakefile
index 99a27595e9..1caa69cf92 100644
--- a/Rakefile
+++ b/Rakefile
@@ -75,10 +75,10 @@ RDoc::Task.new do |rdoc|
rdoc_main.gsub!(/^(?=\S).*?\b(?=Rails)\b/) { "#$&\\" }
rdoc_main.gsub!(%r{link:/rails/rails/blob/master/(\w+)/README\.rdoc}, "link:files/\\1/README_rdoc.html")
- # Remove Travis and Gemnasium status images from API pages. Only GitHub
- # README page gets these images. Travis' https build image is used to avoid
- # GitHub caching: http://about.travis-ci.org/docs/user/status-images
- rdoc_main.gsub!(%r{^== (Build|Dependency) Status.*}, '')
+ # Remove Travis and Gemnasium status images from API pages. Only the GitHub
+ # README page gets these images. Travis's HTTPS build image is used to
+ # avoid GitHub caching: http://about.travis-ci.org/docs/user/status-images
+ rdoc_main.gsub!(/^== Code Status(\n(?!==).*)*/, '')
File.open(RDOC_MAIN, 'w') do |f|
f.write(rdoc_main)