Skip to content

Commit

Permalink
Merge pull request #6 from relaynetwork/master
Browse files Browse the repository at this point in the history
minor bug in the released gem w/default message format
  • Loading branch information
dougbarth committed Jul 19, 2011
2 parents 64d2407 + b3ab342 commit bcfc0ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/amqp_utils/message_formatter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ def generate(io, header, message)
end

def load(io)
io.gets
msg = io.gets
msg ? { 'message' => msg } : nil
end
end
end

0 comments on commit bcfc0ec

Please sign in to comment.