capistrano-bundle_audit 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/capistrano/bundle_audit/version.rb +1 -1
- data/lib/capistrano/tasks/bundle_audit.rake +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f230c1a491169dcabe3a0e9950ef3466cd6d7874
|
4
|
+
data.tar.gz: 33a6602955be8c13d2ba67ce1abce5cd34f44d45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8a86accb17dc3e751de77a08a4e75191ff109eb561de38146bf806a23abba46dcfce0c0ece0f5a51d7c073fef4e0a87869c083b1385de2cd778016ac3fe591e
|
7
|
+
data.tar.gz: fc09ff830469a1add155c77c63b6438532c6cc05fb48b1ea9ecc092763e44cee4da00ae9d41678c8752512f1cdcd0e5632d612089f4834b75ea1e6bf1af4f60f
|
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'bundler'
|
1
2
|
require 'shellwords'
|
2
3
|
require 'tmpdir'
|
3
4
|
|
@@ -5,6 +6,7 @@ namespace :deploy do
|
|
5
6
|
namespace :check do
|
6
7
|
desc "Audit the Gemfile.lock for known vulnerabilities"
|
7
8
|
task :bundle_audit do
|
9
|
+
|
8
10
|
on roles(:app), in: :sequence do |host|
|
9
11
|
|
10
12
|
# Download the relevant files and run bundle-audit on them locally
|
@@ -39,7 +41,7 @@ namespace :deploy do
|
|
39
41
|
end
|
40
42
|
end
|
41
43
|
|
42
|
-
after 'deploy:
|
44
|
+
after 'deploy:bundle', 'deploy:check:bundle_audit' unless ENV['SKIP_BUNDLE_AUDIT']
|
43
45
|
end
|
44
46
|
|
45
47
|
namespace :load do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-bundle_audit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Beer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|