Commit Graph

5 Commits

Author SHA1 Message Date
Josh Hagins 2d70f2c784 Memoize casks in Scopes.all for speed 2016-01-07 23:45:40 -05:00
Josh Hagins 8ee120b1e6 Fix explanatory comment in Scopes.all_tokens 2016-01-07 23:45:16 -05:00
Josh Hagins 2edb8af7d4 Minor optimization to speed up recurring calls to Hbc.installed 2016-01-06 10:33:03 -05:00
Roland Walker b40b0c99e1 strip constants from homebrew-fork global.rb
and corresponding testing_env.rb.
* recast HOMEBREW_BREW_FILE as Hbc.homebrew_executable,
  defined in Hbc::Locations
* recast HOMEBREW_REPOSITORY as Hbc.homebrew_repository
* recast HOMEBREW_PREFIX as Hbc.homebrew_prefix
* remove HOMEBREW_LIBRARY
* recast existing Hbc.tapspath as Hbc.homebrew_tapspath
  to match new methods

fixes #8705
2015-01-07 09:09:53 -05:00
Roland Walker 202d6019f8 Move all code under an Hbc:: namespace
* convert existing Cask:: namespace to Hbc::
* move Homebrew-fork code under Hbc::
* move freestanding classes such as Tty and TopologicalHash under Hbc::
* recast HOMEBREW_CASK_ constants as HBC_
* modify our Homebrew Formula for backward compatibility
* devscripts and dev docs
2015-01-02 07:27:03 -05:00