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 CHANGED
@@ -1 +1 @@
1
- 0.1.2
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{openlogcleaner}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jonathan Stott"]
@@ -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%">
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: openlogcleaner
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.2
5
+ version: 0.1.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jonathan Stott