Rakefile in rubocop-git-0.0.5 vs Rakefile in rubocop-git-0.0.6

- old
+ new

@@ -1,14 +1,28 @@ require 'bundler/gem_tasks' +require 'rake/testtask' +require 'appraisal' + +Rake::TestTask.new(:test) do |t| + t.libs << 'test' + t.libs << 'lib' + t.test_files = FileList['test/**/*_test.rb'] +end + +if ENV['APPRAISAL_INITIALIZED'] || ENV['TRAVIS'] + task default: :test +else + task default: :appraisal +end