Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Aug 04, 2011

  1. Michael Klishin

    Edited README.md via GitHub

    michaelklishin authored

Aug 03, 2011

  1. Michael Klishin

    Edited README.md via GitHub

    michaelklishin authored

Jan 06, 2011

  1. Added info about contributions and link to amqp-dev@conf.netlab.cz.

    Jakub Šťastný aka Botanicus authored
  2. Updated copyright info and created CONTRIBUTORS file.

      * CONTRIBUTORS file includes all the contributors since the
        beginning of the project sorted by count of their commits.
      * I added "rake contributors" task for re-generating CONTRIBUTORS.
    Jakub Šťastný aka Botanicus authored

Jan 05, 2011

  1. Added warning about Thin/Rails combination to the README.

    Jakub Šťastný aka Botanicus authored
  2. We don't need the old/ directory anymore.

    Jakub Šťastný aka Botanicus authored
  3. Updates in CHANGELOG.

    Jakub Šťastný aka Botanicus authored
  4. Version 0.7, so far I released only 0.7.pre, get in touch if somethin…

    …g doesn't work for you!
    Jakub Šťastný aka Botanicus authored
  5. Added changelog file.

    Jakub Šťastný aka Botanicus authored
  6. More flexible gemspec.

    Jakub Šťastný aka Botanicus authored
  7. Added info about the current maintainer.

    Jakub Šťastný aka Botanicus authored

Nov 18, 2010

  1. MQ::Collection#<< always returns the item even if it already existed …

    …in the collection.
    Jakub Šťastný aka Botanicus authored

Nov 16, 2010

  1. Expose sync API for MQ#close (Channel.Close) [issue #34]

      * MQ#close can take a callback.
    Jakub Šťastný aka Botanicus authored

Nov 15, 2010

  1. Update status

    Jakub Šťastný aka Botanicus authored
  2. Exchange.Declare, Queue.Declare and Queue.Bind can take a callback,

    so then they behave synchronously. If the name is generated at the
    server, it's properly updated (branch sync_queues_exchanges).
    
    == Support for auto-generated names [issue #29] ==
    * Added MQ::Collection which is basically an array-like collection
      behaving kind of like Hash, but give us chance to update keys
      (resp. names) later, which we need for auto-generated queue names.
    * Raise MQ::Collection::IncompatibleItemError if user tries
      to add an item which doesn't respond to the #name method.
    * Do not add an item to the collection if the collection already
      includes item with such name. The only exception is for items
      with an empty name (nil), so lazy-loading will work.
    * MQ::Collection#add! will add an item to the collection even if item
      with such name already exists.
    * MQ#queues are instance of MQ::Collection rather than Hash.
    * MQ#exchanges are instance of MQ::Collection as well. This isn't
      actually necessary, as current AMQP implementations doesn't seem
      to work according to specification and implement auto-generation
      of names in the same way how it works for queues. However it's
      better to have same implementation for both queues and exchanges.
    * Added MQ::Queue#queue! for forcing Queue.Declare even if the queue
      already exist (in MQ#queues).
    
    == Callbacks for Queue.Declare, Queue.Bind and Exchange.Declare ==
    * Queue.new and Exchange.new as well as MQ#queue, MQ#fanout and similar
      methods can take an optional block as a callback. If the callback is
      provided, it will use {nowait: false} as a default option.
    * MQ::Queue#bind can take a callback as well.
    * Update MQ::Queue#name if an empty name was provided.
    * If user doesn't provide any name for a queue, the name will be taken
      from the Queue.Declare-Ok response as it was generated by the AMQP broker.
    Jakub Šťastný aka Botanicus authored
  3. Exchange.new can take a callback which is fired when we get back

    response containing Exchange.Declare-Ok.
    
      * MQ#exchanges are MQ::Collection rather than Hash. This isn't
        actually necessary, as current AMQP implementations doesn't seem
        to work according to specification and implement auto-generation
        of names in the same way how it works for queues. However it's
        better to have same implementation for both queues and exchanges.
    Jakub Šťastný aka Botanicus authored
  4. Updated the example

    Jakub Šťastný aka Botanicus authored

Nov 12, 2010

  1. More {nowait: false} related improvements.

      * MQ::Queue#bind can take a callback as well.
      * Added MQ::Queue#queue! for forcing Queue.Declare even if the queue already exist (in MQ#queues).
      * IncompatibleItemError inherits from ArgumentError rather than from StandardError.
      * MQ::Collection#add! will add an item to the collection even if item with such name already exists.
    Jakub Šťastný aka Botanicus authored
  2. Added some spec for the {nowait: false} fix.

    Jakub Šťastný aka Botanicus authored
  3. Better support for synchronous Queue.Declare (with {nowait: false}) a…

    …nd generated
    
    queue names. See https://github.com/tmm1/amqp/issues/issue/29 for more information.
    
      * Queue.new as well as MQ#queue can take an optional block as a callback. If
        the callback is provided, it will use {nowait: false} as a default option.
      * Update MQ::Queue#name if an empty name was provided.
      * If user doesn't provide any name for a queue, the name will be taken from
        the Queue.Declare-Ok response as it was generated by the AMQP broker.
    Jakub Šťastný aka Botanicus authored
  4. Added expected result to the example file.

    Jakub Šťastný aka Botanicus authored
  5. Further MQ::Collection improvements:

      * Raise MQ::Collection::IncompatibleItemError if user tries
        to add an item which doesn't respond to #name method.
      * Do not add an item to the collection if the collection already
        includes item with such name. The only exception is for items
        with an empty name (nil), so lazy-loading will work.
    Jakub Šťastný aka Botanicus authored
  6. Added an example to check if the callbacks work.

    Jakub Šťastný aka Botanicus authored
  7. Added MQ::Collection which is basically an array-like collection

    behaving kind of like Hash. We need in order to fix issue #29.
    Jakub Šťastný aka Botanicus authored
  8. Merge branch 'amqp_url'

    Jakub Šťastný aka Botanicus authored
  9. Added gemspec for the prerelase version

    Jakub Šťastný aka Botanicus authored
  10. The gemspec is now executable, so you can build it by running ./amqp.…

    …gemspec
    Jakub Šťastný aka Botanicus authored
  11. Fixed gem build error, README was renamed to README.md

    Jakub Šťastný aka Botanicus authored
  12. Fixes #14 - With ruby 1.9, Queue#publish wouldn't work for multi-byte…

    … characters.
    
    Changed data.length to data.bytesize
    Kasper Bjørn Nielsen authored Jakub Šťastný aka Botanicus committed
  13. Phil Smith

    MQ::Queue only wraps headers with new MQ::Headers if they are not nil.

    This allows pops to tell more easily when they've requested a message from an empty queue.
    phs authored Jakub Šťastný aka Botanicus committed
  14. Tony Garnock-Jones

    Contents with no body frames are totally legit if the size is zero

    tonyg authored Jakub Šťastný aka Botanicus committed
  15. Fixed an ArgumentError

    Jakub Šťastný aka Botanicus authored
  16. Merge branch 'dev-improvements'

    Jakub Šťastný aka Botanicus authored

Nov 09, 2010

  1. Added em-spec for testing asynchronous stuff.

    Jakub Šťastný aka Botanicus authored
  2. Added bin/irb for easier interactive development.

    Jakub Šťastný aka Botanicus authored
Something went wrong with that request. Please try again.