Class: Homebrew::DevCmd::AdvisoryMatch::Emitter Private
- 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
Instance Method Summary collapse
- #alias_protected?(_record_id) ⇒ Boolean private
- #emit(record, revalidated: false, initial_introduction: false) ⇒ void private
- #finish ⇒ void private
- #fixed_boundary_valid?(_record_id, _boundary) ⇒ Boolean private
- #history_required?(_record_id) ⇒ Boolean private
- #prepare_aliases(_formula_name, _groups) ⇒ Array<String> private
- #range_basis_changed?(_record) ⇒ Boolean private
- #record_history_unavailable(_formula_name) ⇒ void private
- #record_history_walk ⇒ void private
- #reintroduction_boundary_valid?(_record_id, _boundary) ⇒ Boolean private
- #reviewed_range_state(_record_id) ⇒ Symbol? private
Instance Method Details
#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.
477 |
# File 'dev-cmd/advisory-match.rb', line 477 def alias_protected?(_record_id) = false |
#emit(record, revalidated: false, initial_introduction: false) ⇒ 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.
503 |
# File 'dev-cmd/advisory-match.rb', line 503 def emit(record, revalidated: false, initial_introduction: false); end |
#finish ⇒ 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.
506 |
# File 'dev-cmd/advisory-match.rb', line 506 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.
486 |
# File 'dev-cmd/advisory-match.rb', line 486 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.
483 |
# File 'dev-cmd/advisory-match.rb', line 483 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.
474 |
# File 'dev-cmd/advisory-match.rb', line 474 def prepare_aliases(_formula_name, _groups) = [] |
#range_basis_changed?(_record) ⇒ 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.
480 |
# File 'dev-cmd/advisory-match.rb', line 480 def range_basis_changed?(_record) = false |
#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.
492 |
# File 'dev-cmd/advisory-match.rb', line 492 def record_history_unavailable(_formula_name); end |
#record_history_walk ⇒ 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.
489 |
# File 'dev-cmd/advisory-match.rb', line 489 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.
498 |
# File 'dev-cmd/advisory-match.rb', line 498 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.
495 |
# File 'dev-cmd/advisory-match.rb', line 495 def reviewed_range_state(_record_id); end |