Kill trailing whitespace in ruby files

This commit is contained in:
小太
2013-03-19 23:10:10 +11:00
parent c107f96cec
commit cba839ba76
319 changed files with 2710 additions and 2710 deletions

View File

@@ -659,7 +659,7 @@ module FileOperations
def ruby(*args)
command config('rubyprog'), *args
end
def make(task = nil)
command(*[config('makeprog'), task].compact)
end
@@ -722,7 +722,7 @@ module HookScriptAPI
def srcdirectory?(path)
File.dir?(srcfile(path))
end
def srcfile?(path)
File.file?(srcfile(path))
end
@@ -826,7 +826,7 @@ class ToplevelInstaller
__send__ "exec_#{task}"
end
end
def run_metaconfigs
@config.load_script "#{@ardir}/metaconfig"
end
@@ -1404,7 +1404,7 @@ class Installer
end
# picked up many entries from cvs-1.11.1/src/ignore.c
JUNK_FILES = %w(
JUNK_FILES = %w(
core RCSLOG tags TAGS .make.state
.nse_depinfo #* .#* cvslog.* ,* .del-* *.olb
*~ *.old *.bak *.BAK *.orig *.rej _$* *$

View File

@@ -3,9 +3,9 @@ require './test/test_helper.rb'
class TestImageSize < Test::Unit::TestCase
def setup
@files = ['4_1_2.gif', '2-4-7.png', 'tokyo_tower.jpg', 'bmp.bmp',
'ppm.ppm', 'pgm.pgm', 'pbm.pbm',
'cursor.xbm', 'tiff.tiff', 'test.xpm',
@files = ['4_1_2.gif', '2-4-7.png', 'tokyo_tower.jpg', 'bmp.bmp',
'ppm.ppm', 'pgm.pgm', 'pbm.pbm',
'cursor.xbm', 'tiff.tiff', 'test.xpm',
'tower_e.gif.psd', 'detect.swf']
@results = [
['GIF' ,668,481],