guard-brakeman 0.8.5 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/guard/brakeman.rb +4 -3
  3. metadata +9 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e638bf4913242e7d3c14aef4e494c7f36f7ae80021761fdea35052341c1f9f1
4
- data.tar.gz: 8594c693f7c79426b5f7d7a03aada27bb28ae753cba824cc3315d9b693be1771
3
+ metadata.gz: ada362319fb3862c05ce2dd1ec09e6c463893487d99b2b4fd9fb308ee021a651
4
+ data.tar.gz: bf611d03b37f4cc902b2c94e512ab91c1441da6147733e66a3a84f3b99cf4acb
5
5
  SHA512:
6
- metadata.gz: cedfa43b252201fc70df63ca73a0c179fda9a015cda2a2adde5dbbacb4e546422adda3330cfe0b4af20cc4d0c64d6207fd8f5095f4c2faecd58ff5075d4ca583
7
- data.tar.gz: ea87a798fdbd216f44a2f4400f8883c95e01b5fc8c2a8a2ff7aebfb1e38230f9ff9dbe3d8888b3f89f300006e2c4f35bbbee522b797a326e7e0a01b6eb301f41
6
+ metadata.gz: '058b3210f0dc0d94afd6722b476fc437fc3028a16d4bf25873841cc1fb3108c73ce21ffccd1f54c621bf57497a6491ebb30644936b1625dc388e88a42692805d'
7
+ data.tar.gz: 16b483fdef376bae8b32087d0e6455467cd3709479f1a884490459769d3675105cf83ef1a2af407eeede8c3ab570d6f0b9909380e94b137a9b2213cca87a8244
@@ -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], color
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.8.5
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: 2019-08-14 00:00:00.000000000 Z
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 Scaner https://github.com/presidentbeef/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.0.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: []