Skip to content

Commit

Permalink
Merge pull request #49 from smok-serwis/develop
Browse files Browse the repository at this point in the history
1.2.7
  • Loading branch information
piotrmaslanka committed Jul 9, 2020
2 parents ab818cc + f1ed148 commit a34869b
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ omit=
stress_tests/*
coolamqp/framing/definitions.py
compile_definitions/*
setup.py

6 changes: 2 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ The changelog is kept as [release notes](https://github.com/smok-serwis/coolamqp
on GitHub. This file serves to only note what changes
have been made so far, between releases.

# v1.2.6

* repr improved for methods that were received from the server and had memoryview's in them
* is far more friendly on Windows, which doesn't have epoll
# v1.2.7

* fixed queue being defined as a different one in consumer if it was anonymous
2 changes: 1 addition & 1 deletion coolamqp/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.2.6'
__version__ = '1.2.7'
2 changes: 1 addition & 1 deletion coolamqp/attaches/consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ def on_setup(self, payload): # type: (coolamqp.framing.base.AMQPMethodPayload)

elif isinstance(payload, QueueDeclareOk):
# did we need an anonymous name?
if self.queue.anonymous:
if not self.queue.name:
self.queue.name = payload.queue.tobytes()

queue_declared = False
Expand Down
1 change: 1 addition & 0 deletions coolamqp/attaches/declarer.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ def _callback(self, payload):
else:
if isinstance(payload, QueueDeclareOk) and self.obj.anonymous:
self.obj.name = payload.queue
self.obj.anonymous = False

self.span_finished()
if self.fut is not None:
Expand Down
5 changes: 5 additions & 0 deletions docs/coolamqp/cluster.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
CoolAMQP cluster
================

.. autoclass:: coolamqp.clustering.Cluster
:members:
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Welcome to CoolAMQP's documentation!
:maxdepth: 2
:caption: Contents

coolamqp/cluster
tutorial
caveats
frames
Expand Down

0 comments on commit a34869b

Please sign in to comment.