messagefactory 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/messagefactory/Factory.rb +5 -1
- metadata +1 -1
data/Rakefile
CHANGED
@@ -13,7 +13,7 @@ require 'spec/rake/spectask'
|
|
13
13
|
|
14
14
|
spec = Gem::Specification.new do |s|
|
15
15
|
s.name = 'messagefactory'
|
16
|
-
s.version = '0.0.
|
16
|
+
s.version = '0.0.4'
|
17
17
|
s.has_rdoc = true
|
18
18
|
s.extra_rdoc_files = ['README.rdoc', 'LICENSE']
|
19
19
|
s.summary = 'Objectifies content from an IRC server'
|
@@ -45,7 +45,11 @@ module MessageFactory
|
|
45
45
|
load_handlers
|
46
46
|
s = process(string, false)
|
47
47
|
else
|
48
|
-
|
48
|
+
s = Message.new
|
49
|
+
s.direction = :incoming
|
50
|
+
s.received = Time.now
|
51
|
+
s.raw = string.dup
|
52
|
+
s.type = :UNKNOWN
|
49
53
|
end
|
50
54
|
end
|
51
55
|
s
|