guard-brakeman 0.8.5 → 1.0.0
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/guard/brakeman.rb +4 -3
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ada362319fb3862c05ce2dd1ec09e6c463893487d99b2b4fd9fb308ee021a651
|
4
|
+
data.tar.gz: bf611d03b37f4cc902b2c94e512ab91c1441da6147733e66a3a84f3b99cf4acb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '058b3210f0dc0d94afd6722b476fc437fc3028a16d4bf25873841cc1fb3108c73ce21ffccd1f54c621bf57497a6491ebb30644936b1625dc388e88a42692805d'
|
7
|
+
data.tar.gz: 16b483fdef376bae8b32087d0e6455467cd3709479f1a884490459769d3675105cf83ef1a2af407eeede8c3ab570d6f0b9909380e94b137a9b2213cca87a8244
|
data/lib/guard/brakeman.rb
CHANGED
@@ -38,7 +38,8 @@ module Guard
|
|
38
38
|
:run_on_start => false,
|
39
39
|
:chatty => false,
|
40
40
|
:min_confidence => 2,
|
41
|
-
:quiet => false
|
41
|
+
:quiet => false,
|
42
|
+
:support_rescanning => true, # Will be needed for Brakeman 7.0
|
42
43
|
}.merge!(options)
|
43
44
|
@scanner_opts = ::Brakeman::set_options({:app_path => '.'}.merge(@options))
|
44
45
|
end
|
@@ -203,8 +204,8 @@ module Guard
|
|
203
204
|
:white
|
204
205
|
end
|
205
206
|
|
206
|
-
msg = ::Brakeman::Warning::TEXT_CONFIDENCE[warning.confidence]
|
207
|
-
output = Guard::Compat::UI.color(msg)
|
207
|
+
msg = ::Brakeman::Warning::TEXT_CONFIDENCE[warning.confidence]
|
208
|
+
output = Guard::Compat::UI.color(msg, color)
|
208
209
|
output << " - #{warning.warning_type} - #{warning.message}"
|
209
210
|
output << " near line #{warning.line}" if warning.line
|
210
211
|
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-brakeman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Neil Matatall
|
8
8
|
- Justin Collins
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2025-01-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: guard
|
@@ -53,9 +53,9 @@ dependencies:
|
|
53
53
|
- - ">="
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: 2.1.1
|
56
|
-
description: Guard::Brakeman automatically scans your Rails app for vulnerabilities
|
57
|
-
using the Brakeman
|
58
|
-
email:
|
56
|
+
description: 'Guard::Brakeman automatically scans your Rails app for vulnerabilities
|
57
|
+
using the Brakeman scanner: https://github.com/presidentbeef/brakeman'
|
58
|
+
email:
|
59
59
|
executables: []
|
60
60
|
extensions: []
|
61
61
|
extra_rdoc_files: []
|
@@ -68,7 +68,7 @@ homepage: https://github.com/guard/guard-brakeman
|
|
68
68
|
licenses:
|
69
69
|
- MIT
|
70
70
|
metadata: {}
|
71
|
-
post_install_message:
|
71
|
+
post_install_message:
|
72
72
|
rdoc_options:
|
73
73
|
- "--charset=UTF-8"
|
74
74
|
- "--main=README.md"
|
@@ -86,8 +86,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
86
|
- !ruby/object:Gem::Version
|
87
87
|
version: '0'
|
88
88
|
requirements: []
|
89
|
-
rubygems_version: 3.
|
90
|
-
signing_key:
|
89
|
+
rubygems_version: 3.5.3
|
90
|
+
signing_key:
|
91
91
|
specification_version: 4
|
92
92
|
summary: Guard gem for Brakeman
|
93
93
|
test_files: []
|