tobiassvn/sidetiq — pull request #32 by nata79 (2013-09-12 10:14:03+00:00)
Title: fix to work with workers with one optional argument

when checking for the arity of a worker perform method, if that worker has one optional argument, it will return -1
http://www.ruby-doc.org/core-1.9.3/Method.html#method-i-arity

that causes sidetiq to schedule the worker with 2 arguments, which causes a crash.