From 8c67d466ead2096d713515c88fcee17c473ecde5 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 19 Oct 2007 20:28:48 +0100 Subject: mostly paths for shared markup source (txt and pod), also... also current Debian/Sid ruby1.9 upgrade removes a bug, so a related test/warning in options.rb removed --- lib/sisu/v0/options.rb | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'lib/sisu/v0/options.rb') diff --git a/lib/sisu/v0/options.rb b/lib/sisu/v0/options.rb index 4c8afb58..273d4d4a 100644 --- a/lib/sisu/v0/options.rb +++ b/lib/sisu/v0/options.rb @@ -94,14 +94,7 @@ module SiSU_commandline end s << " #{y}" unless y.empty? end -if RUBY_VERSION > '1.9' -#debug strip -p 'problem with ruby 1.9.0 (2007-09-10 patchlevel 0) [i486-linux] on Debian Sid' -p 'p content.class == String == String == ' + s.class.to_s -p 'p s == -mv gpl.fsf.sst == -mv gpl.fsf.sst == ' + s -p 'p s.strip == -mv gpl.fsf.sst #expected == -mv #i get == ' + s.strip + ' #actual, you get' -end - s.strip! # String.strip is broken in ruby 1.9.0 (2007-09-10 patchlevel 0) [i486-linux], 2007-09-18:38/2 + s.strip! a=s.split(/\s+/) a.each do |x| if x =~/^-[a-z0-5]+/i \ -- cgit v1.2.3