pkgsrc/net/ruby-amq-protocol/distinfo
taca 8dcda45998 Update ruby-amq-protocol to 1.0.1.
## Changes between 1.0.0 and 1.0.1

### Missing require

`amq-protocol` now makes sure `DateTime` is loaded before trying to use it.


## Changes between 1.0.0.pre6 and 1.0.0.pre7

### AMQ::Settings

`AMQ::Settings` extracts settings merging logic and AMQP/AMQPS URI parsing from `amq-client`.
Parsing follows the same convention amqp gem and RabbitMQ Java client follow.

Examples:

``` ruby
AMQ::Settings.parse_amqp_url("amqp://dev.rabbitmq.com")            # => vhost is nil, so default (/) will be used
AMQ::Settings.parse_amqp_url("amqp://dev.rabbitmq.com/")           # => vhost is an empty string
AMQ::Settings.parse_amqp_url("amqp://dev.rabbitmq.com/%2Fvault")   # => vhost is /vault
AMQ::Settings.parse_amqp_url("amqp://dev.rabbitmq.com/production") # => vhost is production
AMQ::Settings.parse_amqp_url("amqp://dev.rabbitmq.com/a.b.c")      # => vhost is a.b.c
AMQ::Settings.parse_amqp_url("amqp://dev.rabbitmq.com/foo/bar")    # => ArgumentError
```


### AMQ::Protocol::TLS_PORT

`AMQ::Protocol::TLS_PORT` is a new constant that contains default AMQPS 0.9.1 port,
5671.
2012-12-17 12:37:51 +00:00

5 lines
248 B
Text

$NetBSD: distinfo,v 1.4 2012/12/17 12:37:51 taca Exp $
SHA1 (amq-protocol-1.0.1.gem) = f2940171a0237f2cb8e65578ca09dc33f3de25f6
RMD160 (amq-protocol-1.0.1.gem) = 83cca015efb6aa4679a301efb0de04982e1dbd47
Size (amq-protocol-1.0.1.gem) = 42496 bytes