jondot/sneakers — pull request #54 by norman (2014-06-27 17:13:05+00:00)
Title: Rename worker arguments to match the names used by Bunny

This changes the names of the variables passed to Sneakers workers, so that they match the names used in Bunny. Reading the source code of both libraries is confusing because of the arbitrarily different names.

It also makes the code seem odd when delivery_info is referred to as `hdrs`, because that implies they are "headers", but the props (now metadata) argument contains a "headers" key. For example:

```ruby
def work_with_params(msg, hdrs, props)
headers = props[:headers] # if these are "headers", what are "hdrs"?
...
end