lois 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/lois/cli.rb +6 -1
- data/lib/lois/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a368db62e247243f8deadef990f463985b43e82a579a948852be13ed38310313
|
|
4
|
+
data.tar.gz: e2576a5b18afac0b9a95953750efdff674ccc52b0116194a37ed4a026cc0a1d7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 97dbbba17f9e7fed7be56c7bef1fbcfee01b6503aefc11a7fde6144ab6aed40af3e19812bb5705d74df46f96cdc77dc13a5f9b064ff0f6034ce25da1886b9511
|
|
7
|
+
data.tar.gz: 9ad1a48f117e80ef3a709b0d118f7f368b6086d4ac9f8147bc62e5425582e129c917d4f0185d35d8dbd4aaf41fa0271a42ee0cfd4be6ff4761c81aa68dbfb228
|
data/lib/lois/cli.rb
CHANGED
|
@@ -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
|
-
|
|
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
|
data/lib/lois/version.rb
CHANGED
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.
|
|
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:
|
|
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
|
-
|
|
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.
|