scintillation 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/scintillation.rb +1 -3
- data/scintillation.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.9
|
data/lib/scintillation.rb
CHANGED
@@ -55,9 +55,7 @@ module Scintillation
|
|
55
55
|
end
|
56
56
|
|
57
57
|
def display_messages(msgs)
|
58
|
-
|
59
|
-
("<ul>\n " + msgs.map { |m| "<li class=\"#{m.tone}\">#{m}</li>" }.join("\n ") + "\n</ul>").html_safe
|
60
|
-
end
|
58
|
+
content_tag(:ul) { msgs.map { |m| content_tag(:li, m, :class => m.tone) } }
|
61
59
|
end
|
62
60
|
end
|
63
61
|
end
|
data/scintillation.gemspec
CHANGED