<commit_before>#!/bin/sh

die ()
{
    echo "[ERROR]: $0: $1"
    exit 1
}

[ -d Gemfile.d ] || die "Not in correct place.  Could not find Gemfile.d dir"

cat << __EOF__ > Gemfile.d/ben.rb
gem 'awesome_print'
gem 'colorize'
__EOF__
<commit_msg>Add wirb custom gem<commit_after>#!/bin/sh

die ()
{
    echo "[ERROR]: $0: $1"
    exit 1
}

[ -d Gemfile.d ] || die "Not in correct place.  Could not find Gemfile.d dir"

cat << __EOF__ > Gemfile.d/ben.rb
gem 'awesome_print'
gem 'colorize'
gem 'wirb'
__EOF__
{'fraction_non_alphanumeric': 0.15873015873015872, 'fraction_numerical': 0.011904761904761904, 'mean_word_length': 3.2436974789915967, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7441936', 'n_tokens_mistral': 215, 'n_tokens_neox': 210, 'n_words': 61}