flapjack 0.6.25 → 0.6.26
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/lib/flapjack/jabber.rb +2 -0
- data/lib/flapjack/version.rb +1 -1
- metadata +1 -1
data/lib/flapjack/jabber.rb
CHANGED
@@ -33,6 +33,7 @@ module Flapjack
|
|
33
33
|
Blather.logger = log
|
34
34
|
|
35
35
|
def initialize
|
36
|
+
super
|
36
37
|
@buffer = []
|
37
38
|
@hostname = Socket.gethostname
|
38
39
|
end
|
@@ -103,6 +104,7 @@ module Flapjack
|
|
103
104
|
return if @buffer.empty?
|
104
105
|
while stanza = @buffer.shift
|
105
106
|
@logger.debug("Sending a buffered jabber message to: #{stanza.to}, using: #{stanza.type}, message: #{stanza.body}")
|
107
|
+
write(stanza)
|
106
108
|
end
|
107
109
|
end
|
108
110
|
|
data/lib/flapjack/version.rb
CHANGED