lib/em-beanstalk/connection.rb in em-beanstalk-0.0.5 vs lib/em-beanstalk/connection.rb in em-beanstalk-0.0.6
- old
+ new
@@ -23,16 +23,17 @@
client.disconnected
end
protected
def real_send(command, args, data = nil)
- send_data(command.to_s)
- args.each{ |a| send_data(' '); send_data(a) }
+ send_data(command.to_s.downcase)
+ args.each{ |a| send_data(' '); send_data(a.to_s) }
send_data("\r\n")
if data
send_data(data)
send_data("\r\n")
end
+
end
end
end
end
\ No newline at end of file