diff options
author | Ralph Amissah <ralph@amissah.com> | 2007-10-19 20:28:48 +0100 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2007-10-19 20:28:48 +0100 |
commit | 8c67d466ead2096d713515c88fcee17c473ecde5 (patch) | |
tree | 5caa22e8124a0ba158e6a31c36c20449364edc77 /lib/sisu/v0/options.rb | |
parent | mostly adjustment to image paths (for local and remote operations) (diff) |
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
Diffstat (limited to 'lib/sisu/v0/options.rb')
-rw-r--r-- | lib/sisu/v0/options.rb | 9 |
1 files changed, 1 insertions, 8 deletions
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 \ |