whoops 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -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: