pkgsrc/net/ruby-amq-protocol
taca e1f89f54a7 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
..
DESCR
distinfo Update ruby-amq-protocol to 1.0.1. 2012-12-17 12:37:51 +00:00
Makefile Update ruby-amq-protocol to 1.0.1. 2012-12-17 12:37:51 +00:00
PLIST Update ruby-amq-protocol to 1.0.1. 2012-12-17 12:37:51 +00:00