File: no-amqp-client.patch

package info (click to toggle)
ruby-em-synchrony 1.0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 556 kB
  • ctags: 304
  • sloc: ruby: 3,508; sh: 37; sql: 7; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 509 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Decription: remove usage of client in AMQP, as it has disappeared since amqp 1.1.x
Bug: https://github.com/igrigorik/em-synchrony/issues/178
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818258
Author: Cédric Boutillier <boutil@debian.org>
Last-Update: 2016-07-06


--- a/lib/em-synchrony/amqp.rb
+++ b/lib/em-synchrony/amqp.rb
@@ -186,7 +186,6 @@
           module_eval(code, __FILE__, line)
         end
       end
-      ::AMQP.client = ::EM::Synchrony::AMQP::Session
     end
   end
 end