27 Commits

Author SHA1 Message Date
Issy Long
87e5fedc16
metafiles: Bump to Sorbet typed: strict 2024-08-10 00:21:12 +01:00
Markus Reiter
0f0055ede4
Make documentation @api private by default. 2024-04-26 19:04:20 +02:00
Bo Anderson
323ff660fa rubocop: use consistent array/hash indentation 2021-02-11 13:27:42 +00:00
EricFromCanada
d293431b87 apidoc: update URLs 2020-11-05 23:50:55 -05:00
Markus Reiter
24ae318a3d Move type annotations into files. 2020-10-10 14:59:39 +02:00
Rylan Polster
c92c78d1af metafiles: copy license files with hyphens 2020-08-28 01:30:58 -04:00
Rylan Polster
7c1af56e43 metafiles: copy all license files 2020-08-26 14:29:09 -04:00
Markus Reiter
491ef34cc2 Document Metafiles. 2020-08-26 03:13:58 +02:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files. 2019-04-20 13:27:36 +09:00
Mike McQuaid
d1ea6f38d3
Fix mutable constants violations. 2019-04-19 21:46:20 +09:00
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