Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/Homebrew/brew.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
  1. Jul 19, 2016
    • ilovezfs's avatar
      inreplace: support for audit arg in non-block form · 45bfd2b9
      ilovezfs authored
      
      Provides feature parity between the block and non-block forms of
      inreplace by creating a four-argument version of the non-block form,
      where the fourth argument is an optional Boolean value, defaulting to
      true, which specifies whether a failed inreplace should cause an
      InreplaceError error to be raised. The fourth argument is passed along
      to StringInreplaceExtension#gsub!, which already supports an optional
      audit_result argument.
      
      This resolves the Catch-22 that single replacements aren't permissible
      in the block form (in that they now cause `brew audit` to complain), but
      the audit_result argument is not available in the non-block form.
      
      Closes #552.
      
      Signed-off-by: default avatarilovezfs <ilovezfs@icloud.com>
      45bfd2b9
  2. Jul 18, 2016
  3. Jul 17, 2016
  4. Jul 16, 2016
  5. Jul 15, 2016
Loading