<% sorted_dependencies.each_with_index do |dependency, i| -%> " id="<%= i %>" name="<%= dependency.name %>" package="Gemfile.lock" skipped="0" tests="1" timestamp="<%= Time.now.strftime("%Y-%m-%dT%H:%M:%S:%6N") %>"> > <%- unless dependency.approved? -%> Name: <%= dependency.name %> Version: <%= dependency.version %> Licence: <%- if dependency.licenses.any? -%> <%- dependency.licenses.each do |license| -%>- <%=license.name %>: <%=license.url %><% end %> <%- end -%> URL: <%= dependency.package_url %> Homepage: <%= dependency.homepage %> Summary: <%= REXML::Text.new(dependency.summary, false, nil, false) %> Description: <%= REXML::Text.new(dependency.description, false, nil, false) %> <% if dependency.parents.any? %> Dependencies: <% dependency.parents.to_a.each do |dep| -%> - <%= dep %> <% end -%> <% end -%> <%- if dependency.children.any? -%> Requirements: <%- dependency.children.each do |req| -%> - <%= req %> <% end -%> <% end -%> stdout stderr <%- end -%> <% end -%>