lib/danger/plugin_support/templates/readme_table.html.erb in danger-2.0.1 vs lib/danger/plugin_support/templates/readme_table.html.erb in danger-2.1.0
- old
+ new
@@ -9,16 +9,18 @@
</blockquote>
<%- end %>
<%- unless plugin["attributes"].empty? %>
#### Attributes
-<%- plugin["attributes"].each do |attribute| %><tr>
+<%- plugin["attributes"].each do |attribute| %>
`<%= attribute.keys.first %>` - <%= attribute.values.first["write"]["body_md"] %>
<%- end %>
<%- end %>
+<%- unless plugin["methods"].empty? %>
#### Methods
<%- plugin["methods"].each do |method| %>
`<%= method["name"] %>` - <%= method["body_md"] %>
+<%- end %>
<%- end %>
<% end %>