Module: OS::Mac::Bottles::Collector Private
- Extended by:
- T::Helpers
- Included in:
- Utils::Bottles::Collector
- Defined in:
- extend/os/mac/utils/bottles.rb
This module is part of a private API. This module may only be used in the Homebrew/brew repository. Third parties should avoid using this module if possible, as it may be removed or changed without warning.
Instance Method Summary collapse
Instance Method Details
#find_matching_tag(tag, no_older_versions: false) ⇒ Utils::Bottles::Tag?
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.
27 28 29 30 31 32 33 34 35 36 37 |
# File 'extend/os/mac/utils/bottles.rb', line 27 def find_matching_tag(tag, no_older_versions: false) # Used primarily by developers testing beta macOS releases. if no_older_versions || (OS::Mac.version.prerelease? && Homebrew::EnvConfig.developer? && Homebrew::EnvConfig.skip_or_later_bottles?) super(tag) else super(tag) || find_older_compatible_tag(tag) end end |