summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 5876080f..71e3d959 100644
--- a/Rakefile
+++ b/Rakefile
@@ -78,7 +78,7 @@ file 'lib/rack/lint.rb'
file "SPEC.rdoc" => 'lib/rack/lint.rb' do
File.open("SPEC.rdoc", "wb") { |file|
IO.foreach("lib/rack/lint.rb") { |line|
- if line =~ /## (.*)/
+ if line =~ /^\s*## ?(.*)/
file.puts $1
end
}