Rakefile in clowne-0.0.1 vs Rakefile in clowne-0.1.0.beta1

- old
+ new

@@ -1,10 +1,8 @@ -require "bundler/gem_tasks" -require "rake/testtask" +require 'bundler/gem_tasks' +require 'rspec/core/rake_task' +require 'rubocop/rake_task' -Rake::TestTask.new(:test) do |t| - t.libs << "test" - t.libs << "lib" - t.test_files = FileList["test/**/*_test.rb"] -end +RSpec::Core::RakeTask.new(:spec) +RuboCop::RakeTask.new -task :default => :test +task default: [:rubocop, :spec]