<commit_before>BUILD_DIR=$1
EXTENSIONS_TEMP=$2

echo "BUILD_DIR=$BUILD_DIR"
echo "EXTENSIONS_TEMP=$EXTENSIONS_TEMP"

# Add auth extension
cat $BUILD_DIR/lib/purecloudplatformclientv2.rb extensions/auth.rb > $EXTENSIONS_TEMP/purecloudplatformclientv2.tmp
mv $EXTENSIONS_TEMP/purecloudplatformclientv2.tmp $BUILD_DIR/lib/purecloudplatformclientv2.rb

# Build
cd $BUILD_DIR
gem build purecloudplatformclientv2.gemspec
<commit_msg>fixing path<commit_after>BUILD_DIR=$1
EXTENSIONS_TEMP=$2

echo "BUILD_DIR=$BUILD_DIR"
echo "EXTENSIONS_TEMP=$EXTENSIONS_TEMP"

# Add auth extension
cat $BUILD_DIR/lib/purecloudplatformclientv2.rb $EXTENSIONS_TEMP/auth.rb > $EXTENSIONS_TEMP/purecloudplatformclientv2.tmp
mv $EXTENSIONS_TEMP/purecloudplatformclientv2.tmp $BUILD_DIR/lib/purecloudplatformclientv2.rb

# Build
cd $BUILD_DIR
gem build purecloudplatformclientv2.gemspec

{'fraction_non_alphanumeric': 0.08508158508158509, 'fraction_numerical': 0.016317016317016316, 'mean_word_length': 9.226190476190476, 'pattern_counts': {'":': 0, '<': 3, '<?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': '2642621', 'n_tokens_mistral': 321, 'n_tokens_neox': 312, 'n_words': 45}