<commit_before>#!/bin/bash

cd /home/app/pinw

# Use last as a file stating when pinw has been restart for the last time
# If there is a newer commit on master, restart the app
LAST=/tmp/last-restart-pinw
test -f "${LAST}" || touch  "${LAST}"
git pull --all
test .git/ref/heads/master -nt "${LAST}" && passenger-config restart-app /home/app/pinw && touch "${LAST}"
<commit_msg>update gems too<commit_after>#!/bin/bash

cd /home/app/pinw

# Use last as a file stating when pinw has been restart for the last time
# If there is a newer commit on master, restart the app
LAST=/tmp/last-restart-pinw
test -f "${LAST}" || touch  "${LAST}"
git pull --all
test .git/ref/heads/master -nt "${LAST}" && passenger-config restart-app /home/app/pinw && touch "${LAST}"
bundle install

{'fraction_non_alphanumeric': 0.14785992217898833, 'fraction_numerical': 0.0, 'mean_word_length': 3.8553459119496853, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4186985', 'n_tokens_mistral': 255, 'n_tokens_neox': 249, 'n_words': 98}