2238 Commits

Author SHA1 Message Date
Ben Muschol
603bdd01a8 Implement PR feedback 2017-08-14 11:08:56 -04:00
Gautham Goli
65ae6bacd8 add tests for hardcoded compilers in ENV 2017-08-14 20:10:45 +05:30
Gautham Goli
77468fdae3 add tests for hard coded compilers in system calls 2017-08-14 19:58:39 +05:30
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
Ben Muschol
24da1ecd3d Fix url encoded in expected values 2017-08-13 17:16:45 -04:00
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
Ben Muschol
e93ec12b32 Remove duplicate url generation logic in Github module 2017-08-13 15:03:44 -04:00
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
Mike McQuaid
ae8235c555 Revert "Raise an exception when double loading a formula" 2017-08-12 15:00:36 +01:00
Mike McQuaid
b93f1e3569 Merge pull request #3046 from alyssais/double_formula_load_error
Raise an exception when double loading a formula
2017-08-12 13:00:10 +01:00
Alyssa Ross
4760f4e803
Raise an exception when double loading a formula
(As proposed in #2673)
2017-08-11 22:40:08 +01:00
Ben Muschol
eb009503ed Fix test typo 2017-08-11 15:52:50 -04:00
Ben Muschol
b06fceda57 Add a test 2017-08-11 15:49:57 -04:00
Markus Reiter
2cba322200 Allow curl args to be overriden. 2017-08-08 23:06:40 +02:00
Markus Reiter
ae4bafdb36 Simplify CurlDownloadStrategy. 2017-08-08 18:10:13 +02:00
Markus Reiter
b6b8e8863f Simplify SubversionDownloadStrategy. 2017-08-08 18:10:01 +02:00
Mike McQuaid
00c8d71a23 Merge pull request #3019 from rwhogg/new-fedora-pkgsearch
cmd/search: use new Fedora package search
2017-08-08 11:00:40 +01:00
Bob W. Hogg
3b7113b304 cmd/search: use new Fedora package search
pkgdb has been put into read-only mode,
so it won't be updated for new Fedora releases
going forward. Use apps.fedoraproject.org/packages instead.

Signed-off-by: Bob W. Hogg <rwhogg@linux.com>
2017-08-07 18:22:26 -07:00
ilovezfs
986887b413 Revert "Refactor SVN and cURL download strategies." 2017-08-07 14:31:56 -07:00
Markus Reiter
dc5a2c1764 Simplify CurlDownloadStrategy. 2017-08-07 21:31:17 +02:00
Markus Reiter
fb59e79689 Simplify SubversionDownloadStrategy. 2017-08-07 21:31:17 +02:00
Gautham Goli
a3219ca09c Add node pattern methods to handle dependency audits in a better way 2017-08-07 16:02:50 +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
3edae73cd9 audit: Add tests for audit rules ported from line_problems method to rubocops 2017-08-06 18:36:09 +05:30
Markus Reiter
ffc47388bd Fix Pkg#uninstall not calling MacOS.undeletable? for all files. 2017-08-06 13:19:30 +02:00
Gautham Goli
781da49df8 audit: Add tests for audit rules ported from line_problems method to rubocops 2017-08-06 02:28:58 +05:30
Gautham Goli
affd9055c2 audit: Port classname and template comments audit rules from line_problems method to rubocop 2017-08-06 02:28:58 +05:30
Markus Reiter
7a17a166ec Merge pull request #3006 from reitermarkus/unfocus
Delete `:focus`.
2017-08-05 21:05:08 +02: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
Markus Reiter
f5af3fe0cd Delete :focus. 2017-08-05 18:09:09 +02:00
Markus Reiter
f89e09b785 Add spec for conflicts_with cask. 2017-08-05 16:21:14 +02: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
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
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
Mike McQuaid
c3c3575b70 Merge pull request #2964 from GauthamGoli/audit_line_rubocop_part_1
audit: Port dependency rules from line_problems to rubocop and add tests
2017-08-01 11:29:26 +01:00
Mike McQuaid
044f4d947b Tweak preserve link status on reinstall/upgrade.
Treat a `brew install` command as normal i.e. link by default unless
keg-only and only specify whether a keg should be linked when upgrading
or reinstalling. Also, adjust the naming accordingly so it's more
obvious that this is the case.
2017-07-30 21:44:43 +01:00
Mike McQuaid
e1fd69de42 Merge pull request #2961 from MikeMcQuaid/preserve-link-on-upgrade-reinstall
Preserve link status on reinstall/upgrade.
2017-07-30 18:42:06 +01:00