XPBytes/media_types-validation

View on GitHub
Rakefile

Summary

Maintainability
Test Coverage
Prefer single-quoted strings when you don't need string interpolation or special symbols.
require "bundler/gem_tasks"
Prefer single-quoted strings when you don't need string interpolation or special symbols.
require "rake/testtask"
 
Rake::TestTask.new(:test) do |t|
Prefer single-quoted strings when you don't need string interpolation or special symbols.
t.libs << "test"
Prefer single-quoted strings when you don't need string interpolation or special symbols.
t.libs << "lib"
Prefer single-quoted strings when you don't need string interpolation or special symbols.
t.test_files = FileList["test/**/*_test.rb"]
end
 
Use the new Ruby 1.9 hash syntax.
task :default => :test