lib/quality/rake/task.rb in quality-1.1.1 vs lib/quality/rake/task.rb in quality-1.2.0
- old
+ new
@@ -40,12 +40,12 @@
# Defaults to []
attr_accessor :skip_tools
# Array of directory names which contain ruby files to analyze.
#
- # Defaults to %w{lib test features}, which translates to *.rb in
- # the base directory, as well as lib, test, and features.
+ # Defaults to %w{lib test spec feature}, which translates to *.rb in
+ # the base directory, as well as lib, test, and feature.
attr_writer :ruby_dirs
# Relative path to output directory where *_high_water_mark
# files will be read/written
#
@@ -179,10 +179,10 @@
end
end
end
def ruby_dirs
- @ruby_dirs ||= %w{lib test features}
+ @ruby_dirs ||= %w{lib test spec feature}
end
def ruby_files
@globber.glob('*.rb')
.concat(@globber.glob(File.join("{#{ruby_dirs.join(',')}}",