lois 0.1.6 → 0.1.7

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
  SHA256:
3
- metadata.gz: e1506626d187241f1870ac18750c02d9be6834be2081ca26f47ad3520ab6a8be
4
- data.tar.gz: c78d0d7afa73910115e4691d5ae7c9b0d6b29723ceaf824cdc709476aab55331
3
+ metadata.gz: a368db62e247243f8deadef990f463985b43e82a579a948852be13ed38310313
4
+ data.tar.gz: e2576a5b18afac0b9a95953750efdff674ccc52b0116194a37ed4a026cc0a1d7
5
5
  SHA512:
6
- metadata.gz: 591a7c6444a1708b37676be4ab1173a570b317269fa0b49b351208037eb0b8026c214213b48157181867642be5a972542d5dd27865e013a37db716a13784e66f
7
- data.tar.gz: 76d62dce86570829fa68514932a033aeb3c73f74269d0407f25676fe35df77fb87ab42d46b2a2df78ed84c8989b91a5370d89525ae0387d8f4f1b70d16f8589e
6
+ metadata.gz: 97dbbba17f9e7fed7be56c7bef1fbcfee01b6503aefc11a7fde6144ab6aed40af3e19812bb5705d74df46f96cdc77dc13a5f9b064ff0f6034ce25da1886b9511
7
+ data.tar.gz: 9ad1a48f117e80ef3a709b0d118f7f368b6086d4ac9f8147bc62e5425582e129c917d4f0185d35d8dbd4aaf41fa0271a42ee0cfd4be6ff4761c81aa68dbfb228
@@ -31,11 +31,16 @@ module Lois
31
31
  default: 'circleci',
32
32
  aliases: '-c',
33
33
  desc: 'CI to load env vars from.'
34
+ method_option :ignore,
35
+ desc: 'Ignore a specific CVE vulnerability'
34
36
  def bundler_audit
35
37
  puts 'Checking bundler-audit'
36
38
  configure(options)
37
39
 
38
- output = `bundle-audit check --verbose --update`
40
+ ignore = " --ignore #{options[:ignore]}"
41
+ command = 'bundle-audit check --verbose --update'
42
+ command += ignore if options[:ignore]
43
+ output = `#{command}`
39
44
  result = $CHILD_STATUS
40
45
  File.write('lois/bundler-audit.log', output)
41
46
  puts output
@@ -1,3 +1,3 @@
1
1
  module Lois
2
- VERSION = '0.1.6'.freeze
2
+ VERSION = '0.1.7'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lois
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Hansen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-02-25 00:00:00.000000000 Z
11
+ date: 2019-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print
@@ -288,8 +288,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
288
288
  - !ruby/object:Gem::Version
289
289
  version: '0'
290
290
  requirements: []
291
- rubyforge_project:
292
- rubygems_version: 2.7.6
291
+ rubygems_version: 3.0.3
293
292
  signing_key:
294
293
  specification_version: 4
295
294
  summary: Lois reports statuses of CI results to Github Commit Statuses.