From b502b70ceaab329b0382a48a3cbb35b475717fb0 Mon Sep 17 00:00:00 2001 From: "Gun.io Whitespace Robot" Date: Fri, 21 Oct 2011 05:35:35 -0400 Subject: [PATCH] Remove whitespace [Gun.io WhitespaceBot] --- History.txt | 14 +++++++------- Rakefile | 12 ++++++------ lib/runt/expressionbuilder.rb | 18 +++++++++--------- setup.rb | 14 +++++++------- site/blue-robot3.css | 29 ++++++++++++++--------------- 5 files changed, 43 insertions(+), 44 deletions(-) diff --git a/History.txt b/History.txt index ae3fa0d..e59f0fe 100644 --- a/History.txt +++ b/History.txt @@ -9,7 +9,7 @@ * Fixed bug #20723: using modified patch contributed by Justin Cunningham. This partially reverted changes made by bug fix #5749, REDay by default now returns true for less precise arguments but accepts an optional constructor parameter which will override this behavior * Removed deprecated "autorequire" property configuration from Rakefile - + * Added properly spelled constant Runt::Eighth to the Runt module * Added month constants defined in Date class to runt.rb for use by shortcuts @@ -22,7 +22,7 @@ * Changed runttest.rb to use local Time so test doesn't fail when run from another time zone -* Fixed usage of deprecated methods in Date when accessing them from PDate subclass +* Fixed usage of deprecated methods in Date when accessing them from PDate subclass * Applied patches providing week precision and expanded RFC2445 compliance tests contributed by Larry Karnowski @@ -52,9 +52,9 @@ * Added update method to Schedule allowing clients to update existing expressions -* Added select method to Schedule allowing clients to query Events using arbitrary criteria +* Added select method to Schedule allowing clients to query Events using arbitrary criteria -* Added events method to Schedule which returns an Array of the currrently held Events +* Added events method to Schedule which returns an Array of the currrently held Events * Added time-related shortcuts to Runt module contributed by Ara T. Howard @@ -84,12 +84,12 @@ == Version 0.3.0 -* TExpr (finally!) becomes a Module instead of a superclass +* TExpr (finally!) becomes a Module instead of a superclass * Added overlap? method for all temporal expressions and DateRange * Added REMonth expression which matches a range of dates each month - + * Contributed by Emmett Shear: TExpr#dates method which returns an array of dates occurring within the supplied DateRange * Rakefile fixes: @@ -114,7 +114,7 @@ * Renamed file dateprecisiontest.rb to dprecisiontest.rb * Renamed several methods on PDate: - second -> sec - - minute -> min + - minute -> min - hour_of_day -> hour - day_of_month -> day diff --git a/Rakefile b/Rakefile index f468c0c..747d957 100644 --- a/Rakefile +++ b/Rakefile @@ -38,9 +38,9 @@ PKG_FILES = FileList[ if(RUBY_PLATFORM =~ /win32/i) PKG_EXEC_TAR = false else - PKG_EXEC_TAR = true + PKG_EXEC_TAR = true end - + # build directory TARGET_DIR = "target" @@ -75,7 +75,7 @@ end Rake::TestTask.new do |t| t.libs << "test" << "examples" t.pattern = '**/*test.rb' - t.verbose = false + t.verbose = false t.warning = false end @@ -114,16 +114,16 @@ else s.homepage = 'http://runt.rubyforge.org' s.has_rdoc = true s.rdoc_options += %w{--main README --title Runt} - s.extra_rdoc_files = FileList["README","CHANGES","TODO","LICENSE.txt","doc/*.rdoc"] + s.extra_rdoc_files = FileList["README","CHANGES","TODO","LICENSE.txt","doc/*.rdoc"] s.test_files = Dir['**/*test.rb'] s.rubyforge_project = 'runt' s.description = <:on - creates an "and" (&) -# * :possibly - creates an "or" (|) +# * :possibly - creates an "or" (|) # * :except - creates a "not" (-) # * :every - alias for :on method # * :occurs - alias for :on method -# * :maybe - alias for :possibly method -# +# * :maybe - alias for :possibly method +# class ExpressionBuilder include Runt @@ -40,7 +40,7 @@ def initialize def define(&block) instance_eval(&block) end - + def on(expr) add(expr, :&) end @@ -54,7 +54,7 @@ def add(expr, op) def except(expr) add(expr, :-) end - + def possibly(expr) add(expr, :|) end diff --git a/setup.rb b/setup.rb index f1c9d9a..e6b0cba 100644 --- a/setup.rb +++ b/setup.rb @@ -120,7 +120,7 @@ class ConfigTable ((major == 1) and ((minor >= 5) or ((minor == 4) and (teeny >= 4))))) - + subprefix = lambda {|path| path.sub(/\A#{Regexp.quote(c['prefix'])}/o, '$prefix') } @@ -303,7 +303,7 @@ def []=(k, v) unless ConfigTable.config_key?(k) @table[k] = v end - + def [](key) return nil unless @table[key] @table[key].gsub(%r<\$([^/]+)>) { self[$1] } @@ -479,7 +479,7 @@ def command(str) def ruby(str) command config('ruby-prog') + ' ' + str end - + def make(task = '') command config('make-prog') + ' ' + task end @@ -572,7 +572,7 @@ def srcexist?(path) def srcdirectory?(path) File.dir?(srcfile(path)) end - + def srcfile?(path) File.file? srcfile(path) end @@ -708,7 +708,7 @@ def parsearg_global when '-v', '--version' puts "#{File.basename($0)} version #{Version}" exit 0 - + when '--copyright' puts Copyright exit 0 @@ -1165,9 +1165,9 @@ def install_files(list, dest, mode) def ruby_scripts collect_filenames_auto().select {|n| /\.rb\z/ =~ n } end - + # picked up many entries from cvs-1.11.1/src/ignore.c - reject_patterns = %w( + reject_patterns = %w( core RCSLOG tags TAGS .make.state .nse_depinfo #* .#* cvslog.* ,* .del-* *.olb *~ *.old *.bak *.BAK *.orig *.rej _$* *$ diff --git a/site/blue-robot3.css b/site/blue-robot3.css index 7635683..f068d5c 100644 --- a/site/blue-robot3.css +++ b/site/blue-robot3.css @@ -36,7 +36,7 @@ a { a:link {color:#09c;} a:visited {color:#07a;} a:hover {background-color:#eee;} - + /* All the content boxes belong to the content class. */ .content { @@ -70,21 +70,21 @@ a:hover {background-color:#eee;} padding:10px; z-index:2; -/* Here is the ugly brilliant hack that protects IE5/Win from its own stupidity. -Thanks to Tantek Celik for the hack and to Eric Costello for publicizing it. -IE5/Win incorrectly parses the "\"}"" value, prematurely closing the style -declaration. The incorrect IE5/Win value is above, while the correct value is +/* Here is the ugly brilliant hack that protects IE5/Win from its own stupidity. +Thanks to Tantek Celik for the hack and to Eric Costello for publicizing it. +IE5/Win incorrectly parses the "\"}"" value, prematurely closing the style +declaration. The incorrect IE5/Win value is above, while the correct value is below. See http://glish.com/css/hacks.asp for details. */ voice-family: "\"}\""; voice-family:inherit; width:128px; } -/* I've heard this called the "be nice to Opera 5" rule. Basically, it feeds correct -length values to user agents that exhibit the parsing error exploited above yet get +/* I've heard this called the "be nice to Opera 5" rule. Basically, it feeds correct +length values to user agents that exhibit the parsing error exploited above yet get the CSS box model right and understand the CSS2 parent-child selector. ALWAYS include a "be nice to Opera 5" rule every time you use the Tantek Celik hack (above). */ body>#navAlpha {width:128px;} - + #navBeta { position:absolute; width:190px; @@ -113,20 +113,19 @@ body>#navBeta {width:168px;} font-size:10px; } - -#logo { + +#logo { border: 0px solid ; - width: 97px; + width: 97px; height: 33px; vertical-align: -50%; } #dcl-logo { - border: 0px solid ; - width: 140px; - height: 29px; + border: 0px solid ; + width: 140px; + height: 29px; vertical-align: -110%; margin: 2px; } - \ No newline at end of file