Sha256: c050fae4957396b732fd795303c5d4d875c9f5dc2c6e730883344ad6a80bd8cd

Contents?: true

Size: 520 Bytes

Versions: 8

Compression:

Stored size: 520 Bytes

Contents

module Quality
  module Tools
    # Adds 'punchlist' tool support to quality gem
    module Punchlist
      private

      def punchlist_args
        glob = "--glob '#{source_files_glob}'"
        regexp = " --regexp '#{punchlist_regexp}'" if punchlist_regexp

        args = glob
        args += regexp if regexp
        args
      end

      def quality_punchlist
        ratchet_quality_cmd('punchlist',
                            args: punchlist_args) do |_line|
          1
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
quality-14.0.0 lib/quality/tools/punchlist.rb
quality-13.0.0 lib/quality/tools/punchlist.rb
quality-12.0.0 lib/quality/tools/punchlist.rb
quality-11.0.0 lib/quality/tools/punchlist.rb
quality-10.0.0 lib/quality/tools/punchlist.rb
quality-9.0.0 lib/quality/tools/punchlist.rb
quality-8.1.1 lib/quality/tools/punchlist.rb
quality-8.1.0 lib/quality/tools/punchlist.rb