Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

explicitly specify args

  • Loading branch information...
commit 6af724a51e3cd95baf7a66f77a791c96ec44343d 1 parent 29855b6
@seanohalpin authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  lib/smqueue/adapters/thread_queue.rb
View
3  lib/smqueue/adapters/thread_queue.rb
@@ -41,7 +41,7 @@ def initialize(*args, &block)
def put(body, headers = { }, &block)
body, headers = normalize_message(body, headers)
- msg = SMQueue::Message.new(body, headers)
+ msg = SMQueue::Message.new(:body => body, :headers => headers)
#p [:tput, args]
thread_queue.enq(msg)
end
@@ -61,4 +61,3 @@ def get(*args, &block)
end
end
end
-
Please sign in to comment.
Something went wrong with that request. Please try again.