@ -149,3 +149,8 @@ end
task :default => :spec
task :precommit => ["spec", "spec:jruby", "spec:integration"]
desc 'Removes trailing whitespace'
task :whitespace do
sh %{find . -name '*.rb' -exec sed -i '' 's/ *$//g' {} \\;}
end