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.6.4 pre-commit
adhearsion-2.6.3 pre-commit
adhearsion-3.0.0.rc1 pre-commit
adhearsion-3.0.0.beta2 pre-commit
adhearsion-3.0.0.beta1 pre-commit
adhearsion-2.6.2 pre-commit
adhearsion-2.6.1 pre-commit
adhearsion-2.6.0 pre-commit
adhearsion-2.5.4 pre-commit
adhearsion-2.5.3 pre-commit
adhearsion-2.5.2 pre-commit
adhearsion-2.5.0 pre-commit
adhearsion-2.4.0 pre-commit
adhearsion-2.4.0.beta3 pre-commit
adhearsion-2.4.0.beta2 pre-commit
adhearsion-2.4.0.beta1 pre-commit
adhearsion-2.3.5 pre-commit
adhearsion-2.3.4 pre-commit
adhearsion-2.3.3 pre-commit
adhearsion-2.3.2 pre-commit