Sha256: ea619231f1a25666bd4c927a1d51587fd26c975a739f864e462c5e1f1318f997

Contents?: true

Size: 280 Bytes

Versions: 28

Compression:

Stored size: 280 Bytes

Contents

#!/bin/bash
rake encodeify

# avoid committing :focus on rspec examples
focus=', :focus'
result=$(git grep -n -a "$focus" -- */**/*_spec.rb)

if [ "$result" != '' ]; then
  echo ""
  echo "Refusing to commit a :focus tag in specs: "
  echo ""
  echo $result
  echo ""
  exit 1
fi

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
adhearsion-2.3.1 pre-commit
adhearsion-2.3.0 pre-commit
adhearsion-2.2.1 pre-commit
adhearsion-2.2.0 pre-commit
adhearsion-2.1.3 pre-commit
adhearsion-2.1.2 pre-commit
adhearsion-2.1.1 pre-commit
adhearsion-2.1.0 pre-commit