lib/brakeman/checks/check_mass_assignment.rb in brakeman-1.4.0 vs lib/brakeman/checks/check_mass_assignment.rb in brakeman-1.5.0

- old
+ new

@@ -83,10 +83,10 @@ else true end end - LITERALS = Set.new([:lit, :true, :false, :nil, :string]) + LITERALS = Set[:lit, :true, :false, :nil, :string] def all_literals? args args.all? do |arg| if sexp? arg if arg.node_type == :hash