lib/quality/rake/task.rb in quality-0.2.0 vs lib/quality/rake/task.rb in quality-0.2.1

- old
+ new

@@ -67,11 +67,11 @@ self end def run_task quality_cane - if Gem::Specification.find_by_name("reek").any? + if Gem::Specification.find_all_by_name("reek").any? quality_reek end quality_flog quality_flay quality_rubocop @@ -129,10 +129,10 @@ end end def quality_cane if ! File.exist?(".cane") - File.open(".cane", "w") {|f| f.write("-f {lib,test,.}/*.rb")} + File.open(".cane", "w") {|f| f.write("-f **/*.rb")} end ratchet_quality_cmd("cane", emacs_format: true) { |line| if line =~ /\(([0-9]*)\):$/ $1.to_i