Class: Homebrew::DevCmd::AdvisoryMatch::Emitter Private

Inherits:
Object
  • Object
show all
Defined in:
dev-cmd/advisory-match.rb

Overview

This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.

--output and text mode write per-record and only accumulate counts; --json accumulates the array (single-formula / PR-bot use, so bounded).

Direct Known Subclasses

CountEmitter, DirEmitter, JsonEmitter

Instance Method Summary collapse

Instance Method Details

#<<(record) ⇒ void

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

This method returns an undefined value.

Parameters:



254
# File 'dev-cmd/advisory-match.rb', line 254

def <<(record); end

#alias_protected?(_record_id) ⇒ Boolean

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Parameters:

Returns:

  • (Boolean)


233
# File 'dev-cmd/advisory-match.rb', line 233

def alias_protected?(_record_id) = false

#finishvoid

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

This method returns an undefined value.



257
# File 'dev-cmd/advisory-match.rb', line 257

def finish; end

#fixed_boundary_valid?(_record_id, _boundary) ⇒ Boolean

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Parameters:

Returns:

  • (Boolean)


239
# File 'dev-cmd/advisory-match.rb', line 239

def fixed_boundary_valid?(_record_id, _boundary) = true

#history_required?(_record_id) ⇒ Boolean

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Parameters:

Returns:

  • (Boolean)


236
# File 'dev-cmd/advisory-match.rb', line 236

def history_required?(_record_id) = true

#prepare_aliases(_formula_name, _groups) ⇒ Array<String>

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Parameters:

Returns:



230
# File 'dev-cmd/advisory-match.rb', line 230

def prepare_aliases(_formula_name, _groups) = []

#record_history_unavailable(_formula_name) ⇒ void

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

This method returns an undefined value.

Parameters:



245
# File 'dev-cmd/advisory-match.rb', line 245

def record_history_unavailable(_formula_name); end

#record_history_walkvoid

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

This method returns an undefined value.



242
# File 'dev-cmd/advisory-match.rb', line 242

def record_history_walk; end

#reintroduction_boundary_valid?(_record_id, _boundary) ⇒ Boolean

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Parameters:

Returns:

  • (Boolean)


251
# File 'dev-cmd/advisory-match.rb', line 251

def reintroduction_boundary_valid?(_record_id, _boundary) = true

#reviewed_range_state(_record_id) ⇒ Symbol?

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Parameters:

Returns:



248
# File 'dev-cmd/advisory-match.rb', line 248

def reviewed_range_state(_record_id); end