amq-client 0.8.4 → 0.8.5
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.
- data/lib/amq/client/async/consumer.rb +3 -1
 - data/lib/amq/client/version.rb +1 -1
 - metadata +4 -4
 
| 
         @@ -243,7 +243,9 @@ module AMQ 
     | 
|
| 
       243 
243 
     | 
    
         
             
                      metadata = content_frames.shift
         
     | 
| 
       244 
244 
     | 
    
         
             
                      payload  = content_frames.map { |frame| frame.payload }.join
         
     | 
| 
       245 
245 
     | 
    
         | 
| 
       246 
     | 
    
         
            -
                      consumer 
     | 
| 
      
 246 
     | 
    
         
            +
                      # Handle the delivery only if the consumer still exists.
         
     | 
| 
      
 247 
     | 
    
         
            +
                      # The broker has been known to deliver a few messages after the consumer has been shut down.
         
     | 
| 
      
 248 
     | 
    
         
            +
                      consumer.handle_delivery(basic_deliver, metadata, payload) if consumer
         
     | 
| 
       247 
249 
     | 
    
         
             
                    end
         
     | 
| 
       248 
250 
     | 
    
         | 
| 
       249 
251 
     | 
    
         | 
    
        data/lib/amq/client/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,13 +1,13 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification 
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: amq-client
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version 
         
     | 
| 
       4 
     | 
    
         
            -
              hash:  
     | 
| 
      
 4 
     | 
    
         
            +
              hash: 53
         
     | 
| 
       5 
5 
     | 
    
         
             
              prerelease: 
         
     | 
| 
       6 
6 
     | 
    
         
             
              segments: 
         
     | 
| 
       7 
7 
     | 
    
         
             
              - 0
         
     | 
| 
       8 
8 
     | 
    
         
             
              - 8
         
     | 
| 
       9 
     | 
    
         
            -
              -  
     | 
| 
       10 
     | 
    
         
            -
              version: 0.8. 
     | 
| 
      
 9 
     | 
    
         
            +
              - 5
         
     | 
| 
      
 10 
     | 
    
         
            +
              version: 0.8.5
         
     | 
| 
       11 
11 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       12 
12 
     | 
    
         
             
            authors: 
         
     | 
| 
       13 
13 
     | 
    
         
             
            - Jakub Stastny
         
     | 
| 
         @@ -18,7 +18,7 @@ autorequire: 
     | 
|
| 
       18 
18 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       19 
19 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       20 
20 
     | 
    
         | 
| 
       21 
     | 
    
         
            -
            date: 2011-10- 
     | 
| 
      
 21 
     | 
    
         
            +
            date: 2011-10-28 00:00:00 Z
         
     | 
| 
       22 
22 
     | 
    
         
             
            dependencies: 
         
     | 
| 
       23 
23 
     | 
    
         
             
            - !ruby/object:Gem::Dependency 
         
     | 
| 
       24 
24 
     | 
    
         
             
              name: eventmachine
         
     |