Sha256: 8db82c9f2cc24e1843e0ffff88438963564bb73f87f07f55b947b445fa338195

Contents?: true

Size: 389 Bytes

Versions: 1

Compression:

Stored size: 389 Bytes

Contents

module YSI
  class ChangeLog < Assertion
    attr_reader :error

    def initialize(engine)
      @engine = engine
    end

    def display_name
      "change log"
    end

    def check
      if !File.exist?("CHANGELOG.md")
        @error = "Expected change log in CHANGELOG.md"
        return nil
      end

      "CHANGELOG.md"
    end

    def assert(dry_run: false)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yes_ship_it-0.0.1 assertions/change_log.rb