lib/pdk/validators/ruby/rubocop.rb in pdk-0.6.0 vs lib/pdk/validators/ruby/rubocop.rb in pdk-1.0.0

- old
+ new

@@ -14,11 +14,15 @@ def self.cmd 'rubocop' end + def self.pattern + '**/**.rb' + end + def self.spinner_text(_targets = nil) - _('Checking Ruby code style') + _('Checking Ruby code style (%{pattern})') % { pattern: pattern } end def self.parse_options(options, targets) cmd_options = ['--format', 'json']