13749 Commits

Author SHA1 Message Date
Gautham Goli
af5cd1a1da add tests for man+'man[1-8]' 2017-08-14 15:41:03 +05:30
Gautham Goli
76f4eccdce add test for using ARGV to check options 2017-08-14 15:22:44 +05:30
Gautham Goli
dc4d10ff6a add test for build.include? having dashed args 2017-08-14 02:49:52 +05:30
Gautham Goli
3ff8be1216 add test for build.include? 2017-08-14 02:47:29 +05:30
Gautham Goli
5a7cbb762f add test for build.with? "--with-foo" 2017-08-14 02:43:54 +05:30
Gautham Goli
02a1406a2e add test for build.without --without-foo 2017-08-14 02:32:29 +05:30
Gautham Goli
3efba57cd9 Add negated? method to formula cop and add tests for negated build.without? 2017-08-14 02:18:46 +05:30
Gautham Goli
e14fedd1b3 Add test for negated build.with? 2017-08-14 02:14:20 +05:30
Gautham Goli
ec2b0df10e Add tests for unless build.with? 2017-08-14 01:55:47 +05:30
Gautham Goli
f968776e84 Add tests for unless build.without? 2017-08-14 01:52:48 +05:30
Gautham Goli
6dad9d8b44 Add test for top level method def 2017-08-14 01:25:44 +05:30
Gautham Goli
7dfe09ccae Add tests for fileUtils call in system 2017-08-14 01:09:06 +05:30
Gautham Goli
a73c29fef2 add tests for non glob dirs audit 2017-08-14 00:02:44 +05:30
Gautham Goli
77105b809a Add tests for macOS check 2017-08-13 14:50:29 +05:30
Gautham Goli
686fc514cf Add tests for assert match and depends_on instance audit rules 2017-08-12 23:28:08 +05:30
Gautham Goli
087c1ca8d6 audit: Port rules from line_problems to rubocop part 4(WIP-3) 2017-08-12 20:50:43 +05:30
Gautham Goli
4295a4ca78 audit: Port rules from line_problems to rubocop part 4(WIP-2) 2017-08-10 19:57:53 +05:30
Gautham Goli
a92e1eda27 audit: Port rules from line_problems to rubocop part 4(WIP) 2017-08-07 14:08:22 +05:30
Gautham Goli
d9c81901c3 audit: Add tests for rubocop methods in line_cop.rb 2017-08-06 18:36:09 +05:30
Gautham Goli
b8f811cca6 audit: Port rules from line_problems to rubocop part 3 2017-08-06 18:36:09 +05:30
Gautham Goli
3edae73cd9 audit: Add tests for audit rules ported from line_problems method to rubocops 2017-08-06 18:36:09 +05:30
Gautham Goli
b5da76e28d audit: Port FileUtils, inreplace audit rules in audit_lines to rubocop 2017-08-06 18:36:09 +05:30
Gautham Goli
bc2bcef1ba audit: Port classname and template comments audit rules from line_problems method to rubocop 2017-08-06 18:36:09 +05:30
Markus Reiter
f57a172cd2 Merge pull request #3013 from reitermarkus/fix-pkg-uninstallation
Fix `Pkg#uninstall` not calling `MacOS.undeletable?` for all files.
2017-08-06 14:00:53 +02:00
Markus Reiter
ffc47388bd Fix Pkg#uninstall not calling MacOS.undeletable? for all files. 2017-08-06 13:19:30 +02:00
Mike McQuaid
c2cbfc1526 Merge pull request #3010 from rwhogg/remove-homebrew-x11-reference
formula: Remove reference to homebrew/x11
2017-08-06 09:55:56 +01:00
Markus Reiter
cf6a568f98 Merge pull request #3009 from reitermarkus/fix-cask-url-ext
Fix parsing extension from URL.
2017-08-05 23:16:44 +02:00
Markus Reiter
bd25c2e219 Fix parsing extension from URL. 2017-08-05 22:05:04 +02:00
Bob W. Hogg
06ecad2950 formula: Remove reference to homebrew/x11
That tap is now defunct.

Signed-off-by: Bob W. Hogg <rwhogg@linux.com>
2017-08-05 12:54:39 -07:00
Markus Reiter
7a17a166ec Merge pull request #3006 from reitermarkus/unfocus
Delete `:focus`.
2017-08-05 21:05:08 +02:00
Mike McQuaid
441bd37fd0 Merge pull request #3004 from MikeMcQuaid/travis-only-master
travis.yml: only build the master branch.
2017-08-05 18:02:06 +01:00
Mike McQuaid
eaea27c960 formula_installer: restore build_bottle defaults. 2017-08-05 17:51:47 +01:00
Mike McQuaid
8405158d8d Merge pull request #2976 from GauthamGoli/audit_external_patches_rubocop
audit: Port patches audit code to a rubocop and add tests
2017-08-05 17:39:40 +01:00
Gautham Goli
66ffdb5b06 Refactor legacy_patches_cop to merge external patch audit rules in a single cop and add tests 2017-08-05 21:51:24 +05:30
Gautham Goli
43cec10000 audit: Port patches audit code to a rubocop 2017-08-05 21:51:24 +05:30
Mike McQuaid
df0abe08b2 travis.yml: only build the master branch.
This avoid two weird things:

- scary messages when building tags fails
- two builds being run instead of one when people create a PR and a
  branch on the Homebrew/brew repo (rather than their fork).
2017-08-05 17:09:32 +01:00
Markus Reiter
f5af3fe0cd Delete :focus. 2017-08-05 18:09:09 +02:00
Markus Reiter
c26c9204fa Merge pull request #2965 from reitermarkus/cask-tap
Detect `Tap` in `CaskLoader`.
2017-08-05 16:54:26 +02:00
Mike McQuaid
ae0b7cb824 Merge pull request #2991 from javian/additionalphpignores
audit: add additional php header ignore patterns
2017-08-05 15:16:05 +01:00
Markus Reiter
42cfb6d238 Merge pull request #2999 from mistydemeo/tap_each_enum
Tap.each: return an enumerable when no block given
2017-08-04 16:14:06 +02:00
Markus Reiter
77fb123139 Merge pull request #3000 from reitermarkus/remove-checkurl
Remove `brew cask _checkurl`.
2017-08-04 16:13:23 +02:00
Markus Reiter
12d4226bfc Remove _checkurl. 2017-08-04 15:39:32 +02:00
Misty De Meo
1c3ece12b9 Tap.each: return an enumerable when no block given 2017-08-03 17:23:16 -07:00
ilovezfs
1cae6dd677 Merge pull request #2997 from ilovezfs/non-libraries
formula_cellar_checks: check_non_libraries only for new formulae
2017-08-03 05:48:15 -07:00
ilovezfs
ee6b0e7c9b formula_cellar_checks: check_non_libraries only for new formulae
This check is overly opinionated and leads to audit failures no one
cares to fix, so let's only run it for new formulae.
2017-08-03 05:21:36 -07:00
Jan Viljanen
85da376233 audit: add additional php header ignore patterns 2017-08-03 06:13:15 +02:00
JCount
2ad03b8eb3 Merge pull request #2990 from JCount/formula_desc_cop-x86
formula_desc_cop: add 'x86' to VALID_LOWERCASE_WORDS
2017-08-01 13:43:18 -04:00
JCount
68878d73ef formula_desc_cop: add 'x86' to VALID_LOWERCASE_WORDS 2017-08-01 11:36:44 -04:00
Mike McQuaid
877c911025 Merge pull request #2963 from cclauss/patch-2
Put the five executables in a list
2017-08-01 11:40:02 +01:00
Mike McQuaid
f4983ab16b Merge pull request #2975 from GauthamGoli/audit_urls_rubocop_strict
audit: Port audit_urls strict rules to rubocop, add tests, autocorrect
2017-08-01 11:39:01 +01:00