pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/ruby-amq-protocol
Module Name: pkgsrc
Committed By: taca
Date: Mon Dec 17 12:37:51 UTC 2012
Modified Files:
pkgsrc/net/ruby-amq-protocol: Makefile PLIST distinfo
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/ruby-amq-protocol/Makefile \
pkgsrc/net/ruby-amq-protocol/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/net/ruby-amq-protocol/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index