Rakefile in phonetics-1.5.1 vs Rakefile in phonetics-1.5.2

- old
+ new

@@ -1,8 +1,11 @@ +# frozen_string_literal: true + require 'bundler/gem_tasks' require 'rake/extensiontask' require 'rspec/core/rake_task' +require 'rubocop/rake_task' Rake::ExtensionTask.new('c_levenshtein') do |extension| extension.ext_dir = 'ext/c_levenshtein' extension.lib_dir = 'lib/phonetics' end @@ -20,6 +23,8 @@ end task compile: 'compile:phonetic_cost' RSpec::Core::RakeTask.new(:spec) -task :default => :spec +RuboCop::RakeTask.new + +task default: [:compile, :rubocop, :spec]