aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/bottle_hooks_spec.rb
AgeCommit message (Collapse)Author
2017-12-01hooks/bottles: remove bottle hooks.Mike McQuaid
These were removed from Boxen in: https://github.com/boxen/puppet-homebrew/pull/108
2017-09-28pour_bottle?: Fix when formula.bottle is nilShaun Jackman
formula.bottle is nil when bottle.compatible_cellar? is false. Use formula.bottle_specification.compatible_cellar? rather than formula.bottle.compatible_cellar?.
2017-07-30Tweak preserve link status on reinstall/upgrade.Mike McQuaid
Treat a `brew install` command as normal i.e. link by default unless keg-only and only specify whether a keg should be linked when upgrading or reinstalling. Also, adjust the naming accordingly so it's more obvious that this is the case.
2017-07-30Preserve link status on reinstall/upgrade.Mike McQuaid
This means if a user has manually `brew unlink` or `brew link --force`d something then that status will be preserved after they `brew upgrade` or `brew reinstall` that formula. This generally should make things that are keg-only by default easier to swallow.
2017-05-15Use scoped RSpec matchers.Markus Reiter
2017-02-15Convert Homebrew::Hooks::Bottles test to spec.Markus Reiter