17 Commits

Author SHA1 Message Date
Markus Reiter
e9b9ea49a1 Update to RuboCop 0.59.1. 2018-09-17 03:45:59 +02:00
Andrew Janke
e0a8a79921 Style fixes for Rubocop 0.57.1 2018-06-30 19:40:14 -04:00
Mike McQuaid
9fca172d03 Fix HOMEBREW_RUBY_WARNINGS="-w"
Fix various circular requirements, method redefinitions, etc.
2018-04-07 20:28:56 +01:00
Josh Hagins
5b64fa6fb1 metafiles: convert Metafiles class to module 2016-10-24 16:21:08 -04:00
Josh Hagins
9628a613cf metafiles: use Set.new instead of Array#to_set 2016-10-24 16:21:08 -04:00
Josh Hagins
ce33f593b4 metafiles: convert EXTENSIONS and BASENAMES from Array to Set 2016-10-24 16:21:08 -04:00
Mike McQuaid
6693915399 rubocop --auto-correct all remaining files.
But remove some manual `.freeze`s on constants that shouldn't be
constants.
2016-09-17 16:14:13 +01:00
Xu Cheng
b109e4f1f1 metafile: extend ext list
Closes Homebrew/homebrew#35820.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-13 16:35:24 -05:00
Jack Nagel
6d0f0cb195 metafiles: simplify #copy? further 2014-06-07 23:40:28 -05:00
Jack Nagel
fcacb25cd5 Eliminate FORMULA_META_FILES constant 2014-06-07 21:15:56 -05:00
Jack Nagel
fef866aae4 metafiles: combine #should_copy? and #include? 2014-06-07 21:15:55 -05:00
Jack Nagel
3aa75f5e18 metafiles: remove unused method 2014-06-07 21:15:55 -05:00
Jack Nagel
e2c79aaea4 metafiles: extract constant arrays 2014-06-07 21:15:54 -05:00
Jack Nagel
6524dfc17b metafiles: reduce pathname conversions in #include? 2014-06-07 21:15:24 -05:00
Jack Nagel
9db0e68eb6 Unify indentation of access modifiers
These are class method calls, not some special keyword, and should be
indented as such (also all standard Ruby indenters do this).
2013-04-07 20:59:49 -05:00
Adam Vandenberg
f1f6807c07 Add more files and extensions to metafiles 2012-11-11 11:20:21 -08:00
Adam Vandenberg
4b72e44461 Use a class for FORMULA_META_FILES
* lets more text types get picked up
* better filter for `brew list`
2012-11-11 10:27:03 -08:00