amq-client 0.9.5 → 0.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
| @@ -133,7 +133,7 @@ module AMQ | |
| 133 133 | 
             
                    # Acknowledge one or all messages on the channel.
         | 
| 134 134 | 
             
                    #
         | 
| 135 135 | 
             
                    # @api public
         | 
| 136 | 
            -
                    # @see  | 
| 136 | 
            +
                    # @see files.travis-ci.org/docs/amqp/0.9.1/AMQP091Reference.pdf AMQP 0.9.1 protocol reference (Section 1.8.3.13.)
         | 
| 137 137 | 
             
                    def acknowledge(delivery_tag, multiple = false)
         | 
| 138 138 | 
             
                      @connection.send_frame(Protocol::Basic::Ack.encode(self.id, delivery_tag, multiple))
         | 
| 139 139 |  | 
| @@ -143,7 +143,7 @@ module AMQ | |
| 143 143 | 
             
                    # Reject a message with given delivery tag.
         | 
| 144 144 | 
             
                    #
         | 
| 145 145 | 
             
                    # @api public
         | 
| 146 | 
            -
                    # @see  | 
| 146 | 
            +
                    # @see files.travis-ci.org/docs/amqp/0.9.1/AMQP091Reference.pdf AMQP 0.9.1 protocol reference (Section 1.8.3.14.)
         | 
| 147 147 | 
             
                    def reject(delivery_tag, requeue = true)
         | 
| 148 148 | 
             
                      @connection.send_frame(Protocol::Basic::Reject.encode(self.id, delivery_tag, requeue))
         | 
| 149 149 |  | 
| @@ -156,7 +156,7 @@ module AMQ | |
| 156 156 | 
             
                    # @return [Channel]  self
         | 
| 157 157 | 
             
                    #
         | 
| 158 158 | 
             
                    # @note RabbitMQ as of 2.3.1 does not support basic.recover with requeue = false.
         | 
| 159 | 
            -
                    # @see  | 
| 159 | 
            +
                    # @see files.travis-ci.org/docs/amqp/0.9.1/AMQP091Reference.pdf AMQP 0.9.1 protocol reference (Section 1.8.3.16.)
         | 
| 160 160 | 
             
                    # @api public
         | 
| 161 161 | 
             
                    def recover(requeue = true, &block)
         | 
| 162 162 | 
             
                      @connection.send_frame(Protocol::Basic::Recover.encode(@id, requeue))
         | 
| @@ -181,7 +181,7 @@ module AMQ | |
| 181 181 |  | 
| 182 182 | 
             
                      self.redefine_callback :qos, &block
         | 
| 183 183 | 
             
                      self
         | 
| 184 | 
            -
                    end # qos | 
| 184 | 
            +
                    end # qos
         | 
| 185 185 |  | 
| 186 186 | 
             
                    # Asks the peer to pause or restart the flow of content data sent to a consumer.
         | 
| 187 187 | 
             
                    # This is a simple flowcontrol mechanism that a peer can use to avoid overflowing its
         | 
| @@ -191,7 +191,7 @@ module AMQ | |
| 191 191 | 
             
                    #
         | 
| 192 192 | 
             
                    # @param [Boolean] active Desired flow state.
         | 
| 193 193 | 
             
                    #
         | 
| 194 | 
            -
                    # @see  | 
| 194 | 
            +
                    # @see files.travis-ci.org/docs/amqp/0.9.1/AMQP091Reference.pdf AMQP 0.9.1 protocol reference (Section 1.5.2.3.)
         | 
| 195 195 | 
             
                    # @api public
         | 
| 196 196 | 
             
                    def flow(active = false, &block)
         | 
| 197 197 | 
             
                      @connection.send_frame(Protocol::Channel::Flow.encode(@id, active))
         | 
| @@ -412,11 +412,6 @@ module AMQ | |
| 412 412 | 
             
                    # @private
         | 
| 413 413 | 
             
                    def handle_close(channel_close)
         | 
| 414 414 | 
             
                      self.status = :closed
         | 
| 415 | 
            -
                      # Confirm closing the channel so that the broker will actually release all resources.
         | 
| 416 | 
            -
                      # TODO: channel.close-ok in the Java client takes no arguments. Almost certainly
         | 
| 417 | 
            -
                      #       this is an issue with our code generator. MK.
         | 
| 418 | 
            -
                      @connection.send_frame(Protocol::Channel::CloseOk.encode(@id))
         | 
| 419 | 
            -
                      
         | 
| 420 415 | 
             
                      self.connection.clear_frames_on(self.id)
         | 
| 421 416 |  | 
| 422 417 | 
             
                      self.exec_callback_yielding_self(:error, channel_close)
         | 
    
        data/lib/amq/client/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,15 +1,10 @@ | |
| 1 | 
            -
            --- !ruby/object:Gem::Specification | 
| 1 | 
            +
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: amq-client
         | 
| 3 | 
            -
            version: !ruby/object:Gem::Version | 
| 4 | 
            -
               | 
| 3 | 
            +
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            +
              version: 0.9.6
         | 
| 5 5 | 
             
              prerelease: 
         | 
| 6 | 
            -
              segments: 
         | 
| 7 | 
            -
              - 0
         | 
| 8 | 
            -
              - 9
         | 
| 9 | 
            -
              - 5
         | 
| 10 | 
            -
              version: 0.9.5
         | 
| 11 6 | 
             
            platform: ruby
         | 
| 12 | 
            -
            authors: | 
| 7 | 
            +
            authors:
         | 
| 13 8 | 
             
            - Jakub Stastny
         | 
| 14 9 | 
             
            - Michael S. Klishin
         | 
| 15 10 | 
             
            - Theo Hultberg
         | 
| @@ -17,50 +12,54 @@ authors: | |
| 17 12 | 
             
            autorequire: 
         | 
| 18 13 | 
             
            bindir: bin
         | 
| 19 14 | 
             
            cert_chain: []
         | 
| 20 | 
            -
             | 
| 21 | 
            -
             | 
| 22 | 
            -
             | 
| 23 | 
            -
            - !ruby/object:Gem::Dependency 
         | 
| 15 | 
            +
            date: 2012-11-14 00:00:00.000000000 Z
         | 
| 16 | 
            +
            dependencies:
         | 
| 17 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 24 18 | 
             
              name: eventmachine
         | 
| 25 | 
            -
               | 
| 26 | 
            -
              requirement: &id001 !ruby/object:Gem::Requirement 
         | 
| 19 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 27 20 | 
             
                none: false
         | 
| 28 | 
            -
                requirements: | 
| 29 | 
            -
                - -  | 
| 30 | 
            -
                  - !ruby/object:Gem::Version | 
| 31 | 
            -
                     | 
| 32 | 
            -
                    segments: 
         | 
| 33 | 
            -
                    - 0
         | 
| 34 | 
            -
                    version: "0"
         | 
| 21 | 
            +
                requirements:
         | 
| 22 | 
            +
                - - ! '>='
         | 
| 23 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 24 | 
            +
                    version: '0'
         | 
| 35 25 | 
             
              type: :runtime
         | 
| 36 | 
            -
              version_requirements: *id001
         | 
| 37 | 
            -
            - !ruby/object:Gem::Dependency 
         | 
| 38 | 
            -
              name: amq-protocol
         | 
| 39 26 | 
             
              prerelease: false
         | 
| 40 | 
            -
               | 
| 27 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 28 | 
            +
                none: false
         | 
| 29 | 
            +
                requirements:
         | 
| 30 | 
            +
                - - ! '>='
         | 
| 31 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 32 | 
            +
                    version: '0'
         | 
| 33 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 34 | 
            +
              name: amq-protocol
         | 
| 35 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 41 36 | 
             
                none: false
         | 
| 42 | 
            -
                requirements: | 
| 43 | 
            -
                - -  | 
| 44 | 
            -
                  - !ruby/object:Gem::Version | 
| 45 | 
            -
                    hash: 51
         | 
| 46 | 
            -
                    segments: 
         | 
| 47 | 
            -
                    - 0
         | 
| 48 | 
            -
                    - 9
         | 
| 49 | 
            -
                    - 4
         | 
| 37 | 
            +
                requirements:
         | 
| 38 | 
            +
                - - ! '>='
         | 
| 39 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 50 40 | 
             
                    version: 0.9.4
         | 
| 51 41 | 
             
              type: :runtime
         | 
| 52 | 
            -
               | 
| 53 | 
            -
             | 
| 54 | 
            -
             | 
| 55 | 
            -
             | 
| 42 | 
            +
              prerelease: false
         | 
| 43 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 44 | 
            +
                none: false
         | 
| 45 | 
            +
                requirements:
         | 
| 46 | 
            +
                - - ! '>='
         | 
| 47 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 48 | 
            +
                    version: 0.9.4
         | 
| 49 | 
            +
            description: amq-client is a fully-featured, low-level AMQP 0.9.1 client with pluggable
         | 
| 50 | 
            +
              networking I/O adapters (EventMachine, cool.io, Eventpanda and so on) and supposed
         | 
| 51 | 
            +
              to back more opinionated AMQP clients (such as amqp gem) or be used directly in
         | 
| 52 | 
            +
              cases when access to more advanced AMQP 0.9.1 features is more important that convenient
         | 
| 53 | 
            +
              APIs
         | 
| 54 | 
            +
            email:
         | 
| 55 | 
            +
            - !binary |-
         | 
| 56 | 
            +
              c3Rhc3RueUAxMDFpZGVhcy5jeg==
         | 
| 56 57 | 
             
            - michael@novemberain.com
         | 
| 57 58 | 
             
            executables: []
         | 
| 58 | 
            -
             | 
| 59 59 | 
             
            extensions: []
         | 
| 60 | 
            -
             | 
| 61 | 
            -
            extra_rdoc_files: 
         | 
| 60 | 
            +
            extra_rdoc_files:
         | 
| 62 61 | 
             
            - README.textile
         | 
| 63 | 
            -
            files: | 
| 62 | 
            +
            files:
         | 
| 64 63 | 
             
            - .gitignore
         | 
| 65 64 | 
             
            - .gitmodules
         | 
| 66 65 | 
             
            - .rspec
         | 
| @@ -224,37 +223,26 @@ files: | |
| 224 223 | 
             
            - tasks.rb
         | 
| 225 224 | 
             
            homepage: http://github.com/ruby-amqp/amq-client
         | 
| 226 225 | 
             
            licenses: []
         | 
| 227 | 
            -
             | 
| 228 226 | 
             
            post_install_message: 
         | 
| 229 227 | 
             
            rdoc_options: []
         | 
| 230 | 
            -
             | 
| 231 | 
            -
            require_paths: 
         | 
| 228 | 
            +
            require_paths:
         | 
| 232 229 | 
             
            - lib
         | 
| 233 | 
            -
            required_ruby_version: !ruby/object:Gem::Requirement | 
| 230 | 
            +
            required_ruby_version: !ruby/object:Gem::Requirement
         | 
| 234 231 | 
             
              none: false
         | 
| 235 | 
            -
              requirements: | 
| 236 | 
            -
              - -  | 
| 237 | 
            -
                - !ruby/object:Gem::Version | 
| 238 | 
            -
                   | 
| 239 | 
            -
             | 
| 240 | 
            -
                  - 0
         | 
| 241 | 
            -
                  version: "0"
         | 
| 242 | 
            -
            required_rubygems_version: !ruby/object:Gem::Requirement 
         | 
| 232 | 
            +
              requirements:
         | 
| 233 | 
            +
              - - ! '>='
         | 
| 234 | 
            +
                - !ruby/object:Gem::Version
         | 
| 235 | 
            +
                  version: '0'
         | 
| 236 | 
            +
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 243 237 | 
             
              none: false
         | 
| 244 | 
            -
              requirements: | 
| 245 | 
            -
              - -  | 
| 246 | 
            -
                - !ruby/object:Gem::Version | 
| 247 | 
            -
                   | 
| 248 | 
            -
                  segments: 
         | 
| 249 | 
            -
                  - 0
         | 
| 250 | 
            -
                  version: "0"
         | 
| 238 | 
            +
              requirements:
         | 
| 239 | 
            +
              - - ! '>='
         | 
| 240 | 
            +
                - !ruby/object:Gem::Version
         | 
| 241 | 
            +
                  version: '0'
         | 
| 251 242 | 
             
            requirements: []
         | 
| 252 | 
            -
             | 
| 253 243 | 
             
            rubyforge_project: amq-client
         | 
| 254 244 | 
             
            rubygems_version: 1.8.24
         | 
| 255 245 | 
             
            signing_key: 
         | 
| 256 246 | 
             
            specification_version: 3
         | 
| 257 247 | 
             
            summary: amq-client is a fully-featured, low-level AMQP 0.9.1 client
         | 
| 258 248 | 
             
            test_files: []
         | 
| 259 | 
            -
             | 
| 260 | 
            -
            has_rdoc: 
         |