From 0d119e384f0229e09fe49a412407e6bf3e5dda98 Mon Sep 17 00:00:00 2001 From: Gavin Laking Date: Thu, 24 Sep 2015 19:37:16 +0100 Subject: [PATCH] Change undescriptive 't' to 'task'. --- Rakefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Rakefile b/Rakefile index 307d52f62..4c63c3a26 100644 --- a/Rakefile +++ b/Rakefile @@ -3,16 +3,16 @@ require 'rake/testtask' require 'yard' require 'rubocop/rake_task' -Rake::TestTask.new(:test) do |t| - t.libs.push 'lib' - t.libs.push 'test' - t.pattern = 'test/**/*_test.rb' - t.verbose = false - t.warning = false # set to true for Ruby warnings (ruby -w) +Rake::TestTask.new(:test) do |task| + task.libs.push 'lib' + task.libs.push 'test' + task.pattern = 'test/**/*_test.rb' + task.verbose = false + task.warning = true # set to true for Ruby warnings (ruby -w) end -YARD::Rake::YardocTask.new(:yard) do |t| - t.files = [ +YARD::Rake::YardocTask.new(:yard) do |task| + task.files = [ 'lib/**/*.rb', '-', 'docs/api.md',