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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 29cc8c4c02ffe39935546b7fec4aea86bb445538
4
- data.tar.gz: e7a969565a996a37c76ea94acb6f8011ca8ff6eb
3
+ metadata.gz: cee941190f40e19a2c2a3e08d63cf39cfcfbc61a
4
+ data.tar.gz: a2012c1428d386be1a304961a463d59157f1f5cf
5
5
  SHA512:
6
- metadata.gz: fc5dff0ab0695c08c08b76e596cf1353f4dbb36ad6e09542f524fc10aa271105672ba16ce89bc747f11dd85d34eb83c412ce962596554b0cc3ffba5f33075b4b
7
- data.tar.gz: 7e4ba7803effc7765b7c7b699d4dc1d20516a9579df83783ec4c4cfde98c33761160e0aad8ca19b4d5284bb8b76aa019b1aecb9a1720c4e74d720674e681049e
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 `multi-json` dependecy
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
@@ -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 MultiJson.dump(vulns, :pretty => true)
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 MultiJson.dump(vulns, :pretty => true)
71
+ puts JSON.pretty_generate(vulns)
71
72
  end
72
73
 
73
74
  if options[:exit_on_warn] && vulns[:new].count > 0
@@ -1,3 +1,3 @@
1
1
  module Brakeman
2
- Version = "3.2.0"
2
+ Version = "3.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brakeman
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Collins