11526 Commits

Author SHA1 Message Date
mansimarkaur
d9c0b8ce9f Added clear_svn_version_cache 2017-08-29 16:16:17 +05:30
mansimarkaur
53be6bb4bd Added check for svn availability 2017-08-29 16:16:17 +05:30
mansimarkaur
cf96d8d970 Improved tests for svn_available? 2017-08-29 16:16:17 +05:30
mansimarkaur
13fb14a95f Added tests fir utils/svn 2017-08-29 16:16:17 +05:30
mansimarkaur
01714b17ee Used let for sec_in_a_day and removed redundant after(:each) block 2017-08-27 01:18:41 +05:30
mansimarkaur
5f7a93bceb Corrected test name 2017-08-27 01:18:41 +05:30
mansimarkaur
ec30de69c3 Added tests for existence of files 2017-08-27 01:18:41 +05:30
mansimarkaur
9a83856a49 Added attr_reader disk_cleanup_size 2017-08-27 01:18:41 +05:30
mansimarkaur
e7c2efa42f Corrected disk_cleanup_size test 2017-08-27 01:18:41 +05:30
mansimarkaur
6b5e4bb938 Use let over instance_var 2017-08-27 01:18:40 +05:30
mansimarkaur
86f7d208d0 Added tests for prune? 2017-08-27 01:18:40 +05:30
mansimarkaur
134539aa55 Added tests for cleaning up old files in HOMEBREW_CACHE 2017-08-27 01:18:40 +05:30
mansimarkaur
265d43444b improved prune all test 2017-08-27 01:18:40 +05:30
mansimarkaur
5e17d63010 Added tests for ARGV prune 'all' 2017-08-27 01:18:40 +05:30
mansimarkaur
c1799bb497 Added tests for disk_cleanup and unremovable kegs 2017-08-27 01:18:40 +05:30
ilovezfs
78a742c1ff Revert "Add check for HEAD ref in diagnostics" 2017-08-26 10:15:35 -07:00
ilovezfs
784a85f885 Revert "diagnostic: don't check CI core branch."
This reverts commit cb5b14307ca4640e1ba68cfd28e7fef34a3b771b.
2017-08-26 10:14:23 -07:00
ilovezfs
b1e0998f58 Revert "diagnostic: also don't check Jenkins core branch."
This reverts commit db41f9d1182ff8c4c3b42b458e38d5c58b496ffb.
2017-08-26 10:13:43 -07:00
Mike McQuaid
db41f9d118 diagnostic: also don't check Jenkins core branch. 2017-08-26 14:50:55 +01:00
Mike McQuaid
cb5b14307c diagnostic: don't check CI core branch. 2017-08-26 14:44:26 +01:00
Mike McQuaid
4d90ae2f4d Merge pull request #3087 from GauthamGoli/patches_missing_rule_fix
audit: Add previously unported GH patch audit rule in Patches cop
2017-08-26 14:23:39 +01:00
Mike McQuaid
db8af67aa3 Merge pull request #3089 from BenMusch/check-for-branch
Add check for HEAD ref in diagnostics
2017-08-26 14:12:05 +01:00
Gautham Goli
d00c515dd8 audit: Add previously unported GH patch audit rule in Patches cop 2017-08-26 18:06:00 +05:30
Ben Muschol
7b31dd6062 Prefer if over unless, simplify messaging 2017-08-26 08:25:08 -04:00
Ben Muschol
b351c3f3ff Fix method name 2017-08-25 21:04:23 -04:00
Ben Muschol
abe47b79c8 Add check for HEAD ref in diagnostics 2017-08-25 20:25:58 -04:00
Shaun Jackman
7b96fd008e safe_fork: Improve the error message 2017-08-25 12:43:07 -07:00
Mike McQuaid
8b7defb3eb Merge pull request #3086 from MikeMcQuaid/audit-taps-shush
audit: don't output when searching taps.
2017-08-24 11:17:31 +01:00
JCount
6023e408da Merge pull request #2995 from GauthamGoli/audit_line_rubocop_part_2
audit: Port line_problems to rubocop and add tests part 2
2017-08-23 16:16:07 -04:00
Mike McQuaid
f0605f4a30 audit: don't output when searching taps.
This messaging was added for the `brew search` command and having it in
audit is annoying:
(https://github.com/Homebrew/brew/pull/3059#issuecomment-323638672)

As a side note: this is why randomly including `cmd/*` is a bad idea.
2017-08-23 18:40:30 +01:00
Mike McQuaid
2c43e069c2 Merge pull request #3083 from puredanger/remove-clojure-blacklist
blacklist - remove clojure
2017-08-23 18:37:15 +01:00
Markus Reiter
7d5971e84c Merge pull request #3075 from reitermarkus/fix-pull
Fix `pull`.
2017-08-23 18:23:21 +02:00
Mike McQuaid
97c75bfd40 Merge pull request #3077 from vszakats/https1708
upgrade more urls to https
2017-08-22 22:22:09 +01:00
puredanger
9bc706f1fc remove blacklisting of Clojure to allow adding a Clojure formula 2017-08-22 12:17:11 -05:00
Viktor Szakats
b44c7a1022 upgrade more urls to https 2017-08-22 10:31:21 +00:00
Camden Narzt
c9f4d1c35d
style 2017-08-21 19:25:37 -06:00
Camden Narzt
ab8a6f31e8
Add test 2017-08-21 19:22:17 -06:00
Camden Narzt
c53af2952e
Fix curl --user flag being broken in dc5a2c17 2017-08-21 19:22:16 -06:00
Markus Reiter
15e572702e Fix pull. 2017-08-21 22:41:13 +02:00
JCount
85fd43d4fe Merge pull request #3063 from GauthamGoli/rubocop_spec_multiline_offenses_fix
audit: In Cops and their tests convert all multiline strings to heredocs
2017-08-21 13:13:09 -04:00
Markus Reiter
4b34ca5b35 Merge pull request #3001 from reitermarkus/cask-conflicts-with
Implement `conflicts_with :cask`.
2017-08-20 17:50:54 +02:00
Markus Reiter
56ef168e70 Move fix from #3070 inside GitHub module. 2017-08-20 16:31:46 +02:00
Francisco Souza
f284300495
Skip search_remote on cask search when HOMEBREW_NO_GITHUB_API is set
Fixes #3069.
2017-08-19 19:59:33 -04:00
Markus Reiter
3b92f69869 Merge pull request #3054 from BenMusch/github-refactor
Clean-up code in GitHub module to reduce duplication & coupling w/ Github API
2017-08-18 16:26:30 +02:00
Ben Muschol
ca05c7f010 Change var name 2017-08-17 14:38:50 -04:00
Ben Muschol
564a06dfbb Fix typo in spec 2017-08-17 13:44:18 -04:00
Ben Muschol
e096836b7b Improve rspec readability 2017-08-17 11:57:58 -04:00
Ben Muschol
7a93638105 Make test more resilient 2017-08-17 11:40:32 -04:00
Gautham Goli
db20b0c281 audit: In Cops and their tests convert all multiline strings to heredocs 2017-08-17 11:41:58 +05:30
JCount
daa0ea4b8a Merge pull request #3060 from JCount/gpg-stop-pinentry-launch
gpg: prevent pinentry from launching when creating test key
2017-08-15 11:14:26 -04:00