Sha256: 79fd7f9602e73e19bb0884281d4823d0ed8311602cda00f25a891d75bf0024ec
Contents?: true
Size: 887 Bytes
Versions: 18
Compression:
Stored size: 887 Bytes
Contents
"interesting_findings": [ <% 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
18 entries across 18 versions & 1 rubygems