Sha256: a716b1d83fa146bee3a0380f79de131d3e87d7d0d3bc6538073ca0a2460c524f

Contents?: true

Size: 642 Bytes

Versions: 3

Compression:

Stored size: 642 Bytes

Contents

require 'diecut/report-builder'

module Diecut
  module ReportBuilders
    class InvalidPlugin < ReportBuilder
      def report_name
        "General plugin health"
      end

      def report_fields
        ["Plugin name", "Problem description"]
      end

      def collect
      end

      def add(*args)
        report.add(*args)
      end

      def other_summary
        "There were problems defining plugins"
      end

      def other_advice
        <<-EOA
        The plugins above had unrecoverable issues while being defined. They
        should be fixed, or not included during generation.
        EOA
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
diecut-0.0.5 lib/diecut/report-builders/invalid-plugin.rb
diecut-0.0.4 lib/diecut/report-builders/invalid-plugin.rb
diecut-0.0.3 lib/diecut/report-builders/invalid-plugin.rb