Sha256: 58a7192c0ffbae33b193d0cae270ad2746c56e8c67d78cde5e300e1e13b57dae

Contents?: true

Size: 299 Bytes

Versions: 11

Compression:

Stored size: 299 Bytes

Contents

require 'pre-commit/checks/grep'

module PreCommit
  module Checks
    class Pry < Grep

      def message
        "binding.pry found:\n"
      end

      def pattern
        "binding\.pry"
      end

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

    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
pre-commit-0.19.0 lib/plugins/pre_commit/checks/pry.rb
pre-commit-0.18.0 lib/plugins/pre_commit/checks/pry.rb
pre-commit-0.17.0 lib/plugins/pre_commit/checks/pry.rb
pre-commit-0.16.3 lib/plugins/pre_commit/checks/pry.rb
pre-commit-0.16.2 lib/plugins/pre_commit/checks/pry.rb
pre-commit-0.16.1 lib/plugins/pre_commit/checks/pry.rb
pre-commit-0.16.0 lib/plugins/pre_commit/checks/pry.rb
pre-commit-0.15.0 lib/plugins/pre_commit/checks/pry.rb
pre-commit-0.14.1 lib/plugins/pre_commit/checks/pry.rb
pre-commit-0.14.0 lib/plugins/pre_commit/checks/pry.rb
pre-commit-0.13.0 lib/plugins/pre_commit/checks/pry.rb