aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
AgeCommit message (Collapse)Author
2017-06-28Refactor using `Forwardable` and `DelegateClass`.Markus Reiter
2017-06-12Merge pull request #2769 from MikeMcQuaid/rubocop-no-perl-backrefs1.2.3Mike McQuaid
rubocop: don’t allow Perl regex backrefs.
2017-06-12Autocorrect Rubocop Style/SpecialGlobalVars.Mike McQuaid
2017-06-10Autocorrect Rubocop Style/PerlBackrefs.Mike McQuaid
2017-06-06Fix undefined variable ruby_versionconstXife
2017-06-03String: backport #match? from 2.4.0Misty De Meo
2017-06-02Re-revert "Fix operator spacing."Markus Reiter
2017-06-01Revert "Fix operator spacing."ilovezfs
2017-05-31Fix operator spacing.Markus Reiter
2017-05-31Merge pull request #2700 from sjackman/env-std-linuxMike McQuaid
Stdenv: Add ENV.libxml2 and ENV.x11 for Linux
2017-05-30Pathname: use Digest::SHA256 aliasMisty De Meo
Digest::SHA2 wasn't exposed under that name in older versions of Ruby.
2017-05-30Stdenv: Add ENV.libxml2 and ENV.x11 for LinuxBob W. Hogg
Add ENV.libxml2 primarily for the use of test do blocks. Add a dummy ENV.x11 function. See Linuxbrew/brew#356 and Linuxbrew/brew#382
2017-05-29Use parallel RuboCopMike McQuaid
This requires updating to Rubocop 0.49.0 which will require some fixes to rules, in Homebrew/brew and Homebrew/homebrew-core but opening this for now so I remember.
2017-05-27diagnostic: move some more macOS doctor checks.Mike McQuaid
Move some `brew doctor` checks that are pretty macOS specific so they are only run on macOS.
2017-05-08Remove `to_s` from some `Pathname`s.Markus Reiter
2017-04-30Use `PATH#select`.Markus Reiter
2017-04-30Rename `PATH#validate` to `PATH#existing`.Markus Reiter
2017-04-30Use `PATH` where possible.Markus Reiter
2017-04-30Remove `Array#to_path_s`.Markus Reiter
2017-04-30Use `to_path_s` for `determine_pkg_config_libdir`.Markus Reiter
2017-04-23Fix and remove various TODOs.Mike McQuaid
Fix those that can be done so without tearing Homebrew to pieces and remove the comments for those that can never be done.
2017-04-23Merge pull request #2524 from MikeMcQuaid/more-env-filtering-fixesMike McQuaid
Hide sensitive tokens from install/test/post.
2017-04-22super: re-add set_cpu_flags.Mike McQuaid
It's used by ENV.fortran. Fixes https://github.com/Homebrew/brew/issues/2530 Fixes https://github.com/Homebrew/homebrew-science/issues/5485
2017-04-22Hide sensitive tokens from install/test/post.Mike McQuaid
Hide these tokens to avoid malicious subprocesses e.g. sending them over the network. Also, support using these tokens with environment filtering and clear `HOMEBREW_PATH` from subprocesses to stop them sniffing it. Finally, use `HOMEBREW_PATH` to detect Homebrew’s user’s PATH for e.g. `brew doctor` etc.
2017-04-22More deprecations.Mike McQuaid
Deprecate more methods. Internal APIs have been verified to be unused elsewhere and removed. External APIs have had deprecation methods added. Existing deprecations have been either upgraded to produce warnings or no longer deprecated and the reasoning documented.
2017-04-20Merge pull request #2274 from rwhogg/fuse-requirementMike McQuaid
Port OsxfuseRequirement to Linux
2017-04-20Ensure `readline_nonblock` returns an UTF-8 string.Markus Reiter
2017-04-18audit: allow skipping audit methods.Mike McQuaid
Add `--only` and `--except` methods which can be used to selectively enable or disable audit groups.
2017-04-15OsxfuseRequirement: Port to LinuxBob W. Hogg
2017-04-15Mac Hardware: provide a more Mac-specific implementation of can_run?Misty De Meo
2017-04-05Merge pull request #2442 from tdsmith/fix-symlink-relocationMike McQuaid
Virtualenv relocation fixes
2017-04-04Revert "keg_relocate: Don't relocate dylib IDs containing metavariables."Mike McQuaid
2017-04-02Add Skylake to Linux hardware listMaxim Belkin
2017-04-02diagnostic: also ignore outdated CLT on Travis CI.Mike McQuaid
2017-04-02Use extend/OS mechanism for grep argsTim D. Smith
2017-03-28update suggested Xcode/CLT download URLsEricFromCanada
2017-03-20blacklist: move to missing_formula class instead.Mike McQuaid
This will allow extending this class so it can be used by more than just blacklisting.
2017-03-17Merge pull request #2337 from sjackman/linux-system-configMike McQuaid
Add extend/os/linux/system_config.rb
2017-03-17Merge pull request #2279 from sjackman/determine_pathMike McQuaid
determine_path: Fix tests FormulaUnavailableError
2017-03-16Add extend/os/linux/system_config.rbShaun Jackman
Report the Linux kernel, OS, and gcc versions.
2017-03-14secure urls + remove -k from in-doc curl commandViktor Szakats
2017-03-11env: make prepend_path ignore system pathsilovezfs
`ENV.prepend_path "PATH", which("emacs").dirname` in the emacs requirement was causing us to end up invoking /usr/bin/clang instead of /usr/local/Homebrew/Library/Homebrew/shims/super/clang.
2017-03-10linux: Add ARM to CPU.typeShaun Jackman
2017-03-07determine_path: Fix tests FormulaUnavailableErrorShaun Jackman
Fix the brew tests error: InstallTests#test_a_basic_install: FormulaUnavailableError: No available formula with the name "gcc" Library/Homebrew/formulary.rb:231:in `get_formula' Library/Homebrew/formulary.rb:259:in `factory' Library/Homebrew/extend/ENV/shared.rb:287:in `gcc_version_formula' Library/Homebrew/extend/ENV/super.rb:124:in `determine_path' Library/Homebrew/extend/ENV/super.rb:44:in `setup_build_environment' Library/Homebrew/build.rb:87:in `install' Library/Homebrew/build.rb:201:in `<main>'
2017-03-05Merge pull request #2244 from jonchang/javaMike McQuaid
java_requirement: don't consider macOS Java stub
2017-03-05Don't check Subversion HTTPS pre-Sierra.Mike McQuaid
The system Subversion doesn't handle new certificate authorities (e.g. Let's Encrypt) well enough for this check to be useful.
2017-03-05mac/java_requirement: avoid adding/removing stub.Mike McQuaid
2017-03-02java_requirement: avoid nil in possible_javasJonathan Chang
2017-03-02java_requirement: don't consider macOS Java stubJonathan Chang
2017-02-28Merge pull request #2183 from vladshablinsky/questions_mean_boolUladzislau Shablinski
ARGV.include? should return boolean