<commit_before>#!/bin/bash

run_tests() {
    rspec1.9.1 --format html -o testresults/rspec.html -r rspec_junit_formatter --format RspecJunitFormatter -o testresults/rspec.xml --format nested --color --tag ~skip spec
    cucumber1.9.1 --color --tags ~@wip --format pretty --format html --out result.html
}

get_pkg() {
    wget -O sphere-cli.pkg -nv "${JENKINS_URL}job/sphere-cli-on-mac/ws/cli/sphere-cli.pkg"
}

revert_git_changes() {
    git checkout -- debian/changelog lib/sphere-cli/version.rb
}

set_version() {
    local BASE_VERSION=$(grep -o -e "[0-9]\+\.[0-9]\+\.[0-9]\+" lib/sphere-cli/version.rb)
    VERSION="${BASE_VERSION}.$(date +%Y%m%d%H%M%S)"
    sed -i "s/@VERSION@/${VERSION}/g" debian/changelog
    sed -i "s/'.*'/'${VERSION}'/g" lib/sphere-cli/version.rb
}

build_gem() {
    rm -rf *.gem
    gem build sphere-cli.gemspec
    ln -s sphere-cli-${VERSION}.gem sphere-cli.gem
}
    
package_deb() {
    rm -rf ../*.deb
    dpkg-buildpackage -uc -us
    rm -rf *.deb
    mv ../*.deb .
}<commit_msg>Fix url to get OS X package file.<commit_after>#!/bin/bash

run_tests() {
    rspec1.9.1 --format html -o testresults/rspec.html -r rspec_junit_formatter --format RspecJunitFormatter -o testresults/rspec.xml --format nested --color --tag ~skip spec
    cucumber1.9.1 --color --tags ~@wip --format pretty --format html --out result.html
}

get_pkg() {
    wget -O sphere-cli.pkg -nv "${JENKINS_URL}job/sphere-cli-on-mac/ws/sphere-cli.pkg"
}

revert_git_changes() {
    git checkout -- debian/changelog lib/sphere-cli/version.rb
}

set_version() {
    local BASE_VERSION=$(grep -o -e "[0-9]\+\.[0-9]\+\.[0-9]\+" lib/sphere-cli/version.rb)
    VERSION="${BASE_VERSION}.$(date +%Y%m%d%H%M%S)"
    sed -i "s/@VERSION@/${VERSION}/g" debian/changelog
    sed -i "s/'.*'/'${VERSION}'/g" lib/sphere-cli/version.rb
}

build_gem() {
    rm -rf *.gem
    gem build sphere-cli.gemspec
    ln -s sphere-cli-${VERSION}.gem sphere-cli.gem
}
    
package_deb() {
    rm -rf ../*.deb
    dpkg-buildpackage -uc -us
    rm -rf *.deb
    mv ../*.deb .
}
{'fraction_non_alphanumeric': 0.197265625, 'fraction_numerical': 0.01171875, 'mean_word_length': 2.6985559566787005, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '1125398', 'n_tokens_mistral': 844, 'n_tokens_neox': 796, 'n_words': 167}