Changeset 297
- Timestamp:
- 04/15/2008 08:41:50 (7 months ago)
- Files:
-
- 1 modified
-
trunk/Rakefile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Rakefile
r291 r297 9 9 NAME = "redcloth" 10 10 OLD_NAME = "RedCloth" 11 SUMMARY = "a fast library for formatting Textile a nd Markdown as HTML"11 SUMMARY = "a fast library for formatting Textile as HTML" 12 12 REV = `svn info`[/Revision: (\d+)/, 1] rescue nil 13 13 VERS = ENV['VERSION'] || "3" + (REV ? ".#{REV}" : "") … … 128 128 file name => [source, "#{ext}/redcloth_common.rl", "#{ext}/redcloth.h"] do 129 129 @ragel_v ||= `ragel -v`[/(version )(\S*)/,2].split('.').map{|s| s.to_i} 130 if @ragel_v[0] > 6 || (@ragel_v[0] == 6 && @ragel_v[ 2] >= 1)130 if @ragel_v[0] > 6 || (@ragel_v[0] == 6 && @ragel_v[1] >= 1) 131 131 sh %{ragel #{source} -G2 -o #{name}} 132 132 else … … 154 154 s.name = OLD_NAME 155 155 s.version = VERS 156 s.platform = Gem::Platform::WIN32156 s.platform = 'mswin32' 157 157 s.has_rdoc = false 158 158 s.extra_rdoc_files = ["README", "CHANGELOG", "COPYING"]