summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2005-09-28 20:24:55 +0000
committermurphy <murphy@rubychan.de>2005-09-28 20:24:55 +0000
commit3f34c17e170839c019cb5992a567a3da02cb970b (patch)
treed90d3fbd508c0b90971e3f1d160f22ccc619e274
parent0cffb71d357e50dad6f1223e1df9152807e3b56f (diff)
downloadcoderay-3f34c17e170839c019cb5992a567a3da02cb970b.tar.gz
modified trunk/LICENSE: RDoc format
modified trunk/rake_helpers/rdoctask2.rb: Fix --title; quotes deleted
-rw-r--r--LICENSE7
-rw-r--r--rake_helpers/rdoctask2.rb2
2 files changed, 6 insertions, 3 deletions
diff --git a/LICENSE b/LICENSE
index 783e0c7..3fe39d8 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,11 +1,14 @@
- GNU GENERAL PUBLIC LICENSE
- Version 2, June 1991
+= GNU GENERAL PUBLIC LICENSE
+
+== Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
+(Slighty changed for use with RDoc - 2005 by murphy.)
+
Preamble
The licenses for most software are designed to take away your
diff --git a/rake_helpers/rdoctask2.rb b/rake_helpers/rdoctask2.rb
index 26a2673..1e6bedd 100644
--- a/rake_helpers/rdoctask2.rb
+++ b/rake_helpers/rdoctask2.rb
@@ -106,7 +106,7 @@ module Rake
def option_list
result = @options.dup
result << "--main" << main if main
- result << "--title" << "'#{title}'" if title
+ result << "--title" << "#{title}" if title
result << "-T" << template if template
result
end