lib/koality/runner/rails_best_practices.rb in koality-1.0.0 vs lib/koality/runner/rails_best_practices.rb in koality-1.0.1
- old
+ new
@@ -28,10 +28,10 @@
def translate_options(options)
{
'silent' => true,
'only' => regexp_list(options[:rails_bp_accept_patterns]),
- 'except' => regexp_list(options[:rails_bp_ignore_patterns])
+ 'exclude' => regexp_list(options[:rails_bp_ignore_patterns])
}
end
def regexp_list(list)
list.map { |item| Regexp.new item }