From c195aede73228125833d4e848c6035f2799553c1 Mon Sep 17 00:00:00 2001 From: Vinny Diehl Date: Fri, 26 Oct 2012 14:44:21 -0400 Subject: 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] --- Rakefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Rakefile') 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) -- cgit v1.2.3