-
- Downloads
Establish a convention for Requirement names
The name attribute of requirements is used when generating options for the :optional and :recommended dependency tags. Unless otherwise specified, the name attribute of a Requirement will be populated by stripping any module prefixes from the beginning and "Dependency" or "Requirement" from end of the class name and downcasing the result. Closes Homebrew/homebrew#17759.
Showing
- Library/Homebrew/dependency_collector.rb 3 additions, 3 deletionsLibrary/Homebrew/dependency_collector.rb
- Library/Homebrew/requirement.rb 8 additions, 0 deletionsLibrary/Homebrew/requirement.rb
- Library/Homebrew/requirements.rb 3 additions, 3 deletionsLibrary/Homebrew/requirements.rb
- Library/Homebrew/test/test_requirement.rb 8 additions, 0 deletionsLibrary/Homebrew/test/test_requirement.rb
Loading
Please register or sign in to comment