about summary refs log tree commit homepage
path: root/lib/olddoc/readme.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/olddoc/readme.rb')
-rw-r--r--lib/olddoc/readme.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/olddoc/readme.rb b/lib/olddoc/readme.rb
index 18f0205..e593517 100644
--- a/lib/olddoc/readme.rb
+++ b/lib/olddoc/readme.rb
@@ -16,9 +16,9 @@ module Olddoc::Readme
   # parses the README file in the top-level directory for project metadata
   def readme_metadata
     l = File.readlines(readme_path)[0].strip!
-    l.gsub!(/^=\s+/, '') or abort "#{l.inspect} doesn't start with '='"
+    l.gsub!(/^=\s+/, '')
     title = l.dup
-    if l.gsub!(/^(\w+\!)\s+/, '') # Rainbows!
+    if l.gsub!(/^(\w+\!)\s+/, '') # special case for Rainbows!
       return $1, l, title
     else
       return (l.split(/\s*[:-]\s*/, 2)).push(title)