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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6ea145f68dcfb596d6495508735045ecfe748e4e
4
- data.tar.gz: c1654a55b6549127642a85d61a3fa727e414bdf0
3
+ metadata.gz: f230c1a491169dcabe3a0e9950ef3466cd6d7874
4
+ data.tar.gz: 33a6602955be8c13d2ba67ce1abce5cd34f44d45
5
5
  SHA512:
6
- metadata.gz: 1eab1bf796254f443ed10da984355c6947a3ce1fd4807f0c87a353c9b3cd0bd5be4f20b8629427cb8f4f346d6d40de1f794efc6b05d8d61dd5cb37baf68173dc
7
- data.tar.gz: ab18c1f831df47f7a3fc33ef27e7436bbc74ee3866940d450ed408e8f4644bd95b9290b4469da32e690bdd8f9531157d823f8a0fd5e15ca6e8596f95f0ad9309
6
+ metadata.gz: b8a86accb17dc3e751de77a08a4e75191ff109eb561de38146bf806a23abba46dcfce0c0ece0f5a51d7c073fef4e0a87869c083b1385de2cd778016ac3fe591e
7
+ data.tar.gz: fc09ff830469a1add155c77c63b6438532c6cc05fb48b1ea9ecc092763e44cee4da00ae9d41678c8752512f1cdcd0e5632d612089f4834b75ea1e6bf1af4f60f
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module BundleAudit
3
- VERSION = "0.1.0"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
@@ -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:updating', 'deploy:check:bundle_audit' unless ENV['SKIP_BUNDLE_AUDIT']
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.1.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-06-23 00:00:00.000000000 Z
11
+ date: 2016-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano