tasks/rubocop.rake in trema-0.4.7 vs tasks/rubocop.rake in trema-0.4.8

- old
+ new

@@ -1,22 +1,8 @@ begin require 'rubocop/rake_task' - Rubocop::RakeTask.new do |task| - task.patterns = - [ - 'Gemfile', - 'Rakefile', - 'bin/*', - 'cruise.rb', - 'features/**/*.rb', - 'ruby/**/*.rb', - 'spec/**/*.rb', - 'src/**/*.rb', - 'tasks/*.rake', - 'trema.gemspec' - ] - end + RuboCop::RakeTask.new rescue LoadError task :rubocop do - $stderr.puts 'Rubocop is disabled' + $stderr.puts 'RuboCop is disabled' end end