openlogcleaner 0.1.2 → 0.1.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.
- data/VERSION +1 -1
- data/lib/openlogcleaner/html_document.rb +1 -1
- data/openlogcleaner.gemspec +1 -1
- data/spec/fixtures/manual_testlog.htm +1 -1
- metadata +1 -1
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.3
|
|
@@ -76,7 +76,7 @@ module OpenLogCleaner
|
|
|
76
76
|
def add_post(msg)
|
|
77
77
|
if msg.children.size == 1
|
|
78
78
|
first_childs_first_node = msg.children.first.children.first
|
|
79
|
-
if first_childs_first_node.text? and first_childs_first_node.text =~ /\A\*\*/
|
|
79
|
+
if !first_childs_first_node.nil? and first_childs_first_node.text? and first_childs_first_node.text =~ /\A\*\*/
|
|
80
80
|
add_message(Emote.from_html(msg))
|
|
81
81
|
end
|
|
82
82
|
return
|
data/openlogcleaner.gemspec
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
</tr>
|
|
27
27
|
</table><!-- Created: Thursday November 9 23:55:12 PDT 2003 -->
|
|
28
28
|
|
|
29
|
-
</div><div class="post"><font color="#ff8000">Moving to room 'Test room'..</font></div><div class="post"><font color="#ff8000">User (enter): 21:42</font></div><div class="post"><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
|
29
|
+
</div><div class="post">Another User is creating room 'test room'</div><div class="post"><font color="#ff8000">Moving to room 'Test room'..</font></div><div class="post"><font color="#ff8000">User (enter): 21:42</font></div><div class="post"><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
|
30
30
|
<html>
|
|
31
31
|
|
|
32
32
|
<table cellspacing=3 cellpadding=4 width="100%">
|