Sha256: b8939e1dc2533665a949c01f375f29714b661fc6ea4de4ce4233db18b74ff882
Contents?: true
Size: 884 Bytes
Versions: 14
Compression:
Stored size: 884 Bytes
Contents
"interesting_files": [ <% unless @findings.empty? -%> { <% last_index = @findings.size - 1 %> <% @findings.each.with_index do |finding, index| -%> <%= finding.url.to_s.to_json %>: { "found_by": <%= finding.found_by.to_s.to_json %>, "confidence": <%= finding.confidence.to_json %>, "confirmed_by": [ <% unless (confirmed = finding.confirmed_by).empty? -%> <% c_last_index = confirmed.size - 1 %> { <% confirmed.each.with_index do |c, i| -%> <%= c.found_by.to_s.to_json %>: { "confidence": <%= c.confidence.to_json %> }<% unless i == c_last_index %>,<% end %> <% end -%> } <% end -%> ], "references": <%= finding.references.to_json %>, "interesting_entries": <%= finding.interesting_entries.to_json %> }<% unless index == last_index %>,<% end %> <% end -%> } <% end -%> ],
Version data entries
14 entries across 14 versions & 1 rubygems