Sha256: 5cce1d4712d0876439e281be5bba425504ac4daea347f974288057964b72e2e6

Contents?: true

Size: 297 Bytes

Versions: 8

Compression:

Stored size: 297 Bytes

Contents

require 'pre-commit/checks/grep'

module PreCommit
  module Checks
    class Pry < Grep

      def message
        "binding.pry found:"
      end

      def pattern
        "binding\.pry"
      end

      def self.description
        "Finds files with 'binding.pry'."
      end

    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pre-commit-0.26.0 lib/plugins/pre_commit/checks/pry.rb
pre-commit-0.25.0 lib/plugins/pre_commit/checks/pry.rb
pre-commit-0.24.0 lib/plugins/pre_commit/checks/pry.rb
pre-commit-0.23.0 lib/plugins/pre_commit/checks/pry.rb
pre-commit-0.22.1 lib/plugins/pre_commit/checks/pry.rb
pre-commit-0.22.0 lib/plugins/pre_commit/checks/pry.rb
pre-commit-0.21.0 lib/plugins/pre_commit/checks/pry.rb
pre-commit-0.20.0 lib/plugins/pre_commit/checks/pry.rb