Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AO3-5562 Use Dependabot for gem updates #3460

Merged
merged 1 commit into from Nov 12, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile
@@ -1,6 +1,6 @@
source 'https://rubygems.org'

ruby File.read(File.expand_path('.ruby-version', __dir__)).strip.gsub("ruby", "")
ruby '2.3.4'

gem 'test-unit', '~> 3.2'

Expand Down
13 changes: 6 additions & 7 deletions script/gem_security.sh
@@ -1,13 +1,12 @@
#!/bin/sh
TMP=/tmp/audit.$$
bundle-audit update
# TODO remove CVE-2018-1000201 after AO3-2839
bundle-audit check --ignore CVE-2018-1000201 > $TMP
if [ "`cat $TMP |wc -l`" != "1" ]; then
cat $TMP
echo "Please either update gem or if that is not possible update ignore list in"
echo $0
exit 1
bundle-audit check > $TMP
if [ "`cat $TMP | wc -l`" != "1" ]; then
cat $TMP
echo "Please either update gem or if that is not possible update ignore list in"
echo $0
# exit 1
fi
rm -f $TMP
exit 0