Skip to content

Commit

Permalink
Merge branch 'release/1.0.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
FGRibreau committed Jan 28, 2013
2 parents 4ba47a2 + 3e36e3a commit 887ab05
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ The `amqp` argument is simply hashtable with the following properties:
$ npm test

## Release History
v1.0.2 - Critical bug fix
v1.0.1 - .bind & .subscribe can now be called multiple times. This is the behavior that should have been in place since the beginning.

## License
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"amqp",
"dsl"
],
"version": "1.0.2",
"version": "1.0.3",
"homepage": "https://github.com/FGRibreau/node-amqp-dsl",
"repository": "",
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions src/AmqpDsl.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,12 @@ module.exports = class AmqpDsl
queue.openCallback(queueRef)

queue.bindTo.forEach((bind) ->
{exchange, routingKey} = bind
[exchange, routingKey] = bind
queueRef.bind exchange, routingKey
)

queue.listenTo.forEach((listen) ->
{option, listener} = listen
[option, listener] = listen
queueRef.subscribe option, listener
)

Expand Down

0 comments on commit 887ab05

Please sign in to comment.