diff --git a/lib/rubocop_runner.rb b/lib/rubocop_runner.rb index 6b64525..0fd1af9 100644 --- a/lib/rubocop_runner.rb +++ b/lib/rubocop_runner.rb @@ -42,7 +42,7 @@ def files end end - RUBY_PATTERN = /\.(rb|gemspec)$/ + RUBY_PATTERN = /\.(rb|gemspec|rake)$/ RUBY_NAMES = %w(Guardfile Gemfile Rakefile config.ru).freeze def ruby_file?(filename)