Rakefile in virtus-1.0.3 vs Rakefile in virtus-1.0.4

- old
+ new

@@ -1,5 +1,15 @@ -# encoding: utf-8 +require "rspec/core/rake_task" -require 'devtools' +RSpec::Core::RakeTask.new(:spec) +task default: [:spec] -Devtools.init_rake_tasks +begin + require "rubocop/rake_task" + + Rake::Task[:default].enhance [:rubocop] + + RuboCop::RakeTask.new do |task| + task.options << "--display-cop-names" + end +rescue LoadError +end