brakeman 3.2.0 → 3.2.1
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/CHANGES +5 -1
- data/bin/brakeman +3 -2
- data/lib/brakeman/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cee941190f40e19a2c2a3e08d63cf39cfcfbc61a
|
4
|
+
data.tar.gz: a2012c1428d386be1a304961a463d59157f1f5cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90c5c330b93e0041081a9ca95f049439e966f6bf2a2302c48db40ff3a5979347fbbb1ad5c3acea9f7645ad7f0bac4186ff8aef1550a5e0c675eaff8457b16e78
|
7
|
+
data.tar.gz: 25ecb1dd2e6e4c469edf9ac9be75ff6f72fb532714af9df5f5f335d7159c646548444127043e096172d50fc1693ed990b7c7811a13d8e58b20c4517d5259914e
|
data/CHANGES
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
# 3.2.1
|
2
|
+
|
3
|
+
* Remove `multi_json` dependency from `bin/brakeman`
|
4
|
+
|
1
5
|
# 3.2.0
|
2
6
|
|
3
7
|
* Skip Symbol DoS check on Rails 5
|
@@ -7,7 +11,7 @@
|
|
7
11
|
* Update ruby_parser dependency to 3.8.1
|
8
12
|
* Remove `fastercsv` dependency
|
9
13
|
* Fix finding calls with `targets: nil`
|
10
|
-
* Remove `
|
14
|
+
* Remove `multi_json` dependecy
|
11
15
|
* Handle CoffeeScript in HAML
|
12
16
|
* Avoid render warnings about params[:action]/params[:controller]
|
13
17
|
* Index calls in class bodies but outside methods
|
data/bin/brakeman
CHANGED
@@ -58,16 +58,17 @@ end
|
|
58
58
|
|
59
59
|
begin
|
60
60
|
if options[:previous_results_json]
|
61
|
+
require 'json'
|
61
62
|
vulns = Brakeman.compare options.merge(:quiet => options[:quiet])
|
62
63
|
|
63
64
|
if options[:comparison_output_file]
|
64
65
|
File.open options[:comparison_output_file], "w" do |f|
|
65
|
-
f.puts
|
66
|
+
f.puts JSON.pretty_generate(vulns)
|
66
67
|
end
|
67
68
|
|
68
69
|
Brakeman.notify "Comparison saved in '#{options[:comparison_output_file]}'"
|
69
70
|
else
|
70
|
-
puts
|
71
|
+
puts JSON.pretty_generate(vulns)
|
71
72
|
end
|
72
73
|
|
73
74
|
if options[:exit_on_warn] && vulns[:new].count > 0
|
data/lib/brakeman/version.rb
CHANGED