Sha256: aef8b18621fcedf4afe08bf2815058b1b66496f346c066d56f50fdb72697c3ca

Contents?: true

Size: 1.06 KB

Versions: 22

Compression:

Stored size: 1.06 KB

Contents

#!/bin/bash

DIR_PARENT="${PWD%/*}"
DIR_TMP="$DIR_PARENT/tmp"
mkdir -p log
rm -rf tmp

echo '--------------'
echo 'bundle install'
bin/setup >/dev/null

echo
echo '----------------------'
echo 'bundle exec rubocop -D'
bundle exec rubocop -D

# Update the local ruby-advisory-db advisory database
echo '-------------------------------'
echo 'bundle exec bundle-audit update'
bundle exec bundle-audit update

# Audit the gems listed in Gemfile.lock for vulnerabilities
echo '------------------------'
echo 'bundle exec bundle-audit'
bundle exec bundle-audit

echo '----------------------------------------------------------'
echo 'bundle exec gemsurance --output log/gemsurance_report.html'
bundle exec gemsurance --output log/gemsurance_report.html
echo 'Gemsurance Report: log/gemsurance_report.html'

echo '------------------------------------------------------------------------'
echo 'bundle viz --file=log/diagram-gems --format=svg --requirements --version'
bundle viz --file=log/diagram-gems --format=jpg --requirements --version
echo 'Gem dependency diagram: log/diagram-gems.jpg'

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
generic_app-3.0.19 code_test.sh
generic_app-3.0.18 code_test.sh
generic_app-3.0.17 code_test.sh
string_in_file-1.0.1 code_test.sh
generic_app-3.0.16 code_test.sh
generic_app-3.0.15 code_test.sh
generic_app-3.0.14 code_test.sh
generic_app-3.0.13 code_test.sh
generic_app-3.0.12 code_test.sh
generic_app-3.0.11 code_test.sh
generic_app-3.0.10 code_test.sh
generic_app-3.0.9 code_test.sh
generic_app-3.0.8 code_test.sh
generic_app-3.0.7 code_test.sh
generic_app-3.0.6 code_test.sh
generic_app-3.0.5 code_test.sh
generic_app-3.0.4 code_test.sh
generic_app-3.0.3 code_test.sh
generic_app-3.0.2 code_test.sh
generic_app-3.0.1 code_test.sh