Sha256: b86a1c2bf17b21b56e9fa41876e57d29d3d7d5ec77a5351f7c9cc489db7f2ead

Contents?: true

Size: 1.71 KB

Versions: 2

Compression:

Stored size: 1.71 KB

Contents

<?xml version="1.0" encoding="UTF-8"?>
<notice version="2.0.18">
  <api-key><%=h defaults[:api_key] %></api-key>
  <notifier>
    <name><%=h defaults[:notifier_name] %></name>
    <version><%=h defaults[:notifier_version] %></version>
    <url><%=h defaults[:notifier_url] %></url>
  </notifier>
  <error>
    <class><%=h defaults[:error].class.name %></class>
    <message><%=h defaults[:error].class.name %>: <%=h defaults[:error].message %></message>
    <backtrace>
      <% defaults[:backtrace].each do |line| %>
        <line method="<%=h line.method %>" file="<%=h line.file %>" number="<%=h line.number %>"/>
      <% end %>
    </backtrace>
  </error>
  <request>
    <url><%=h defaults[:url] %></url>
    <component><%=h defaults[:component] %></component>
    <% if defaults[:action] %>
    <action><%=h defaults[:action] %></action>
    <% end %>
    <% if defaults[:request] && defaults[:request].params.any? %>
    <params>
      <% defaults[:request].params.each do |key,value| %>
        <var key="<%=h key %>"><%=h value %></var>
      <% end %>
    </params>
    <% end %>
    <% if defaults[:session] && defaults[:session].any? %>
    <session>
      <% defaults[:session].each do |key,value| %>
        <var key="<%=h key %>"><%=h value %></var>
      <% end %>
    </session>
    <% end %>
    <% if defaults[:environment] && defaults[:environment].any? %>
    <cgi-data>
      <% defaults[:environment].each do |key,value| %>
        <var key="<%=h key %>"><%=h value %></var>
      <% end %>
    </cgi-data>
    <% end %>
  </request>
  <server-environment>
    <project-root><%=h defaults[:project_root] %></project-root>
    <environment-name><%=h defaults[:framework_env] %></environment-name>
  </server-environment>
</notice>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gbuesing-toadhopper-0.3.0 lib/notice.xml.erb
gbuesing-toadhopper-0.2.0 lib/notice.xml.erb