Rakefile in mongoid_search-0.3.4 vs Rakefile in mongoid_search-0.3.5

- old
+ new

@@ -1,10 +1,13 @@ require 'rubygems' require 'rake' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) do |spec| - spec.rspec_opts = ["-c", "-f progress"] + spec.rspec_opts = ['-c', '-f progress'] spec.pattern = 'spec/**/*_spec.rb' end -task :default => :spec +require 'rubocop/rake_task' +RuboCop::RakeTask.new(:rubocop) + +task default: %i[rubocop spec]