Commit graph

3 commits

Author SHA1 Message Date
Paul Hinze
63d748e14c core: [refactor] separate Hbc::Cask from Hbc
Hbc is the namespace, Hbc::Cask is the object representing a Cask

One step on the path to reducing the surface area of the God-object
we've grown over the years. :)
2015-02-07 16:37:32 -06:00
Roland Walker
8a81cb54a1 Use bold terminal escapes instead of white
Let the terminal decide how to display bold.  Fixes #9349.
The issue arose when integrating Homebrew's `Tty` class.
Homebrew's `Tty.white` actually emits escapes for bold.

Fixing `Tty.white` to do what the method name says caused
loss of visibility on light backgrounds.
2015-02-07 12:16:45 -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
Renamed from lib/cask/cli/info.rb (Browse further)