method

validate_authors

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: Entry
validate_authors() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File tools/rail_inspector/lib/rail_inspector/changelog.rb, line 38
        def validate_authors
          return if no_changes?

          authors =
            lines.reverse.find { |line| line.match?(/^ *\*[^*\s].*[^*\s]\*$/) }

          return if authors

          add_offense(
            header,
            line_in_file(0),
            1..header.length,
            "CHANGELOG entry is missing authors."
          )
        end
Register or log in to add new notes.