bin/brakeman in brakeman-0.8.3 vs bin/brakeman in brakeman-0.8.4
- old
+ new
@@ -99,10 +99,14 @@
type = "s" if type == :text
options[:output_format] = ("to_" << type.to_s).to_sym
end
+ opts.on "--css-file CSSFile" do |file|
+ options[:html_style] = File.expand_path file
+ end
+
opts.on "-l", "--[no]-combine-locations", "Combine warning locations (Default)" do |combine|
options[:combine_locations] = combine
end
opts.on "-m", "--routes", "Report controller information" do
@@ -115,13 +119,17 @@
opts.on "-o", "--output FILE", "Specify file for output. Defaults to stdout" do |file|
options[:output_file] = file
end
+ opts.on "--separate-models", "Warn on each model without attr_accessible" do
+ options[:collapse_mass_assignment] = false
+ end
+
opts.on "-w",
"--confidence-level LEVEL",
["1", "2", "3"],
- "Set minimal confidence level (1 - 3). Default: 1" do |level|
+ "Set minimal confidence level (1 - 3)" do |level|
options[:min_confidence] = 3 - level.to_i
end
opts.separator ""