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. Jan 12, 2017
    • ilovezfs's avatar
      InreplaceError: fix undefined method crash · ac7a5937
      ilovezfs authored
      When the first parameter to inreplace was an array, and the replacement
      failed, InreplaceError would end up crashing with an undefined method
      exception because the order of operations resulted in super not being
      passed the value of the entire inject block.
      ac7a5937
  2. Sep 12, 2016
  3. Aug 05, 2016
  4. 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
  5. Aug 29, 2015
  6. Aug 03, 2015
  7. Sep 28, 2014
  8. Jun 19, 2014
  9. Mar 27, 2014
  10. Nov 12, 2013
  11. Sep 18, 2013
  12. Aug 17, 2013
  13. Jul 13, 2013
Loading