Permalink
Commits on Apr 6, 2018
  1. Version bump to 0.38.1

    jish committed Apr 6, 2018
  2. Update changelog for 0.38.1

    jish committed Apr 6, 2018
  3. Merge pull request #268 from fgrehm/fix-version-ignore

    jish committed Apr 6, 2018
    Fix grep version detection on busybox / alpine
Commits on Apr 5, 2018
  1. Fix grep version detection on busybox / alpine

    fgrehm committed Apr 5, 2018
Commits on Apr 1, 2018
  1. Version bump to 0.38.0

    jish committed Apr 1, 2018
  2. Update changelog for 0.38.0

    jish committed Apr 1, 2018
  3. Merge pull request #267 from jish/security-rubocop

    jish committed Apr 1, 2018
    Security: Depend on RuboCop ~> 0.49
  4. Security: Depend on RuboCop ~> 0.49

    jish committed Apr 1, 2018
    RuboCop 0.48.1 and earlier does not use /tmp in safe way, allowing
    local users to exploit this to tamper with cache files belonging to
    other users.
    
    _cf._ https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-8418
Commits on Mar 30, 2018
  1. Update changelog

    jish committed Mar 30, 2018
  2. Merge pull request #266 from jish/grep-version

    jish committed Mar 30, 2018
    Ignore standard error when checking grep version
Commits on Mar 29, 2018
  1. Test any version of jruby on Travis CI 🤞

    jish committed Mar 29, 2018
  2. Ignore standard error when checking grep version

    jish committed Mar 29, 2018
    We are currently shelling out to the `grep` command for some
    functionality of the pre-commit gem. In order to do this we need to
    reason about the `grep` executable running on the system.
    
    To introspect the command we check the output of the `grep --version`
    command and decide what to do next. On Alpine Linux grep does not
    report its version and instead outputs an error message. Here we
    ignore the standard error stream when checking grep's version.
Commits on Oct 19, 2017
  1. Document the CI check

    jish committed Oct 19, 2017
Commits on Oct 18, 2017
  1. Document the Yaml check

    jish committed Oct 18, 2017
    Move the class method description up to the top and mark the rest of
    the methods private.
Commits on Oct 17, 2017
  1. Add an RDoc task

    jish committed Oct 17, 2017
Commits on Oct 15, 2017
  1. Version bump to 0.37.0

    jish committed Oct 15, 2017
  2. Update changelog for 0.37.0

    jish committed Oct 15, 2017
  3. Merge pull request #262 from jish/josh/quick-extension-filter

    jish committed Oct 15, 2017
    Do not run pre-commit checks on images
  4. Add more binary and source file extensions

    jish committed Oct 15, 2017
    Opening files and examining their contents to determine if they are
    binary files or source files is expensive. In order to avoid some of
    this extra overhead, we maintain two separate lists of file
    extensions.
    
    If a file extension is in the binary list, we assume it is binary and
    we do not run any checks on it. If the file extension is in the source
    file list then we do run checks on it.
Commits on Oct 11, 2017
  1. Group multiple reject blocks together

    jish committed Oct 11, 2017
    We do not want to iterate over the entire list over and over again
    when we can group the conditions together.
  2. Do not ignore markdown files

    jish committed Oct 11, 2017
Commits on Oct 10, 2017
  1. Make up your mind RuboCop

    jish committed Oct 10, 2017
Commits on Oct 8, 2017
  1. Do not run pre-commit checks on images

    jish committed Oct 8, 2017
    We have a mechanism to determine if we should run our list of checks
    on the files being committed. Generally these checks are pretty
    simplistic. For example, does the file exist, or is it a directory?
    
    Also, in order to avoid running checks on large binary files we run
    a heuristic against every file currently being committed.
    Unfortunately, this binary check is prone to errors and is now causing
    performance issues.
    
    In order to avoid this binary file test, we do some quick filtering
    based on file extension. If the file is an image, we definitely do not
    want to run checks on it. If the file is a Ruby source code file, we
    definitely do want to run checks on it.
    
    This will allow us to avoid running the binary test in most cases.
Commits on Sep 5, 2017
  1. Version bump to 0.36.0

    jish committed Sep 5, 2017
  2. Update changelog for 0.36.0

    jish committed Sep 5, 2017
Commits on Aug 12, 2017
  1. Combine the two RSpec focus checks into one

    jish committed Aug 12, 2017
  2. Merge branch 'rspec-focus-syntactic-sugar' of github.com:prpetten/pre…

    jish committed Aug 12, 2017
    …-commit into prpetten-focus-syntatic-sugar
Commits on Jul 1, 2017
  1. Version bump to 0.35.0

    jish committed Jul 1, 2017
  2. Update changelog for 0.35.0

    jish committed Jul 1, 2017
  3. Merge pull request #261 from jish/bugfix/add-missing-require-plugin-t…

    jish committed Jul 1, 2017
    …o-go_fmt
    
    Add missing require plugin line in go_fmt plugin
Commits on Jun 30, 2017
  1. Add missing require plugin line in go_fmt plugin

    mpapis committed Jun 30, 2017
    Problem was found in #258, but not related to the issue
Commits on Jun 12, 2017
  1. Version bump to 0.34.0

    jish committed Jun 12, 2017
  2. Update changelog for 0.34.0

    jish committed Jun 12, 2017
  3. Merge pull request #259 from jish/bugfix/update_pluginator

    jish committed Jun 12, 2017
    Update to latest pluginator version to fix bug with bundler 1.15
  4. Update to latest pluginator version to fix bug with bundler 1.15, fixes

    mpapis committed May 25, 2017