Mike McQuaid
9fca172d03
Fix HOMEBREW_RUBY_WARNINGS="-w"
...
Fix various circular requirements, method redefinitions, etc.
2018-04-07 20:28:56 +01:00
Markus Reiter
b63a5cbd4b
Don't require "thread"
.
2017-10-24 19:39:40 +02:00
Markus Reiter
175ca909ee
Clean up code style and remove .rubocop_todo.yml
.
2017-10-08 16:10:37 +02:00
Mike McQuaid
021cef4b2b
Autocorrect Rubocop Style/SpecialGlobalVars.
2017-06-12 09:11:42 +01:00
Mike McQuaid
e8ef50d075
readall: fix tapping taps without aliases.
...
Fixes https://github.com/caskroom/homebrew-cask/issues/32840 .
Fixes https://github.com/Homebrew/brew/issues/2529 .
2017-04-22 21:43:45 +01:00
Mike McQuaid
cd5924950e
readall: check for shadowed aliases.
...
If an alias has the same name as a formula then weirdness will result
so ensure this causes `readall` to fail.
2017-04-22 17:08:36 +01:00
ilovezfs
b59bf2ff64
Revert "audit: check for version aliases."
2017-02-21 11:31:18 -08:00
Mike McQuaid
68bd744d0e
readall: check for shadowed aliases.
...
This will become particularly relevant when there’s a new version of a
formula and the existing alias needs to be removed.
2017-02-21 15:36:50 +00:00
Maxim Belkin
9a0127e7ab
readall: do not require itself.
2016-09-21 11:45:47 -05:00
Markus Reiter
7b8bae710e
Use ThreadError
to break loop.
2016-08-22 08:57:47 +02:00
Mike McQuaid
4da990587f
tap: run readall when tapping. ( #396 )
...
* readall: move readall logic to new class.
* tap: run readall when tapping.
This will prevent tapping an tap with syntax errors from causing issues
for users.
Fixes #58 .
2016-07-09 13:51:19 +01:00