Rakefile in url_regexp-0.1.1 vs Rakefile in url_regexp-0.1.2
- old
+ new
@@ -1,6 +1,11 @@
require "bundler/gem_tasks"
require "rspec/core/rake_task"
+require 'rubocop/rake_task'
RSpec::Core::RakeTask.new(:spec)
-task :default => :spec
+RuboCop::RakeTask.new do |task|
+ task.requires << 'rubocop-rspec'
+end
+
+task :default => [:spec, :rubocop]