Mike McQuaid
b39f87e710
audit: check for alpha/beta/rc usage in URLs.
...
Stable URLs should not use unstable versions.
2016-10-24 14:54:28 +01:00
Mike McQuaid
762b76e437
audit: check the version does not decrease.
...
This will prevent `brew upgrade` from working correctly.
2016-10-24 10:21:07 +01:00
Mike McQuaid
1f963267b6
Update Rubocop style.
...
Another look at the current Rubocop rules and how they fit with our
existing and desired future style. Almost all of these changes were
automatic. Split some rules between formulae/brew where brew doesn't
have millions of cases that need fixed.
2016-10-22 13:32:46 +01:00
Mike McQuaid
56ae868cf1
audit: don't complain about trailing whitespace.
...
This is handled by `brew style` now.
2016-10-18 08:11:02 +01:00
Max Nordlund
c7fde5ddc9
Fix when clause ordering.
2016-10-15 18:31:06 +02:00
Max Nordlund
d9242c540d
Fix wrong ordering on when clauses in audit.rb
...
It looks like a rebase/merge conflict remmenet.
2016-10-14 23:05:34 +02:00
Mike McQuaid
26e4899fde
Deprecate apr requirement.
...
It's not used on enough configurations now that there's little point in
keeping it around. See e.g. `:autoconf` for prior art.
2016-10-12 15:37:33 +01:00
Jonathan Chang
5b360c57e3
audit: forbid deprecated_option
in new formulae
2016-10-05 15:59:16 -07:00
Markus Reiter
0ab750bf24
Use module_function
for commands.
2016-10-02 00:24:47 +02:00
Markus Reiter
573aea0b3d
RuboCop: Style/IfUnlessModifier
2016-09-25 19:55:34 +02:00
Markus Reiter
58e36c7319
Fix Style/GuardClause.
2016-09-24 12:24:35 +02:00
Markus Reiter
a5b11a6a5c
Fix Style/GuardClause.
2016-09-23 15:30:07 +02:00
Markus Reiter
240e49052c
Fix Performance/FixedSize.
2016-09-23 15:30:06 +02:00
Mike McQuaid
3982950e61
rubocop --auto-correct all hash-rocket usage.
2016-09-17 16:14:13 +01:00
Mike McQuaid
264afb67df
dev-cmd/audit: fix Rubocop warnings.
2016-09-11 19:14:55 +01:00
Mike McQuaid
af8605ea4b
Move developer-focused commands to dev-cmd.
2016-09-08 20:46:37 +01:00