Sha256: 5a25a3a4bccb3446206d02f50f11910137a3bb13930bb48b09a9e9586b32530e
Contents?: true
Size: 693 Bytes
Versions: 5
Compression:
Stored size: 693 Bytes
Contents
# frozen_string_literal: true module Quality module Tools # Adds 'punchlist' tool support to quality gem class Punchlist < Tool def punchlist_args glob = "--glob '#{source_and_doc_files_glob}'" regexp = " --regexp '#{punchlist_regexp}'" if punchlist_regexp exclude = " --exclude-glob '#{source_files_exclude_glob}'" unless source_files_exclude_glob == '{}' args = glob args += regexp if regexp args += exclude if exclude args end def quality_punchlist ratchet_quality_cmd('punchlist', args: punchlist_args) do |_line| 1 end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems