whoops 0.5.2 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -151,7 +151,7 @@ li {
151
151
  text-align:right;
152
152
  }
153
153
 
154
- ul.detail {
154
+ ul.detail, ul.array {
155
155
  margin:0;
156
156
 
157
157
  li {
@@ -2,7 +2,7 @@ module EventsHelper
2
2
  def format_detail(detail)
3
3
  case detail
4
4
  when String, Numeric then detail
5
- when Array then "<ul>#{detail.collect{|d| "<li>- #{format_detail(d)}</li>" }.join}</ul>"
5
+ when Array then "<ul class='array'>#{detail.collect{|d| "<li>- #{format_detail(d)}</li>" }.join}</ul>".html_safe
6
6
  when Hash then detail_table(detail)
7
7
  else
8
8
  detail.to_s
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whoops
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: