amqp 0.6.4 → 0.6.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README +1 -1
  2. data/amqp.gemspec +2 -2
  3. data/lib/ext/em.rb +1 -44
  4. metadata +2 -2
data/README CHANGED
@@ -7,7 +7,7 @@ Simple AMQP driver for Ruby/EventMachine
7
7
  http://groups.google.com/group/ruby-amqp
8
8
  http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2008-July/001417.html
9
9
 
10
- This library works with Ruby 1.8, Ruby 1.9 and JRuby.
10
+ This library works with Ruby 1.8, Ruby 1.9, JRuby and Rubinius, and is licensed under the Ruby License.
11
11
 
12
12
  This library was tested primarily with RabbitMQ, although it should be compatible with any
13
13
  server implementing the AMQP 0-8 spec.
@@ -1,7 +1,7 @@
1
1
  spec = Gem::Specification.new do |s|
2
2
  s.name = 'amqp'
3
- s.version = '0.6.4'
4
- s.date = '2009-01-09'
3
+ s.version = '0.6.5'
4
+ s.date = '2009-10-27'
5
5
  s.summary = 'AMQP client implementation in Ruby/EventMachine'
6
6
  s.email = "amqp@tmm1.net"
7
7
  s.homepage = "http://amqp.rubyforge.org/"
@@ -5,47 +5,4 @@ rescue LoadError
5
5
  require 'eventmachine'
6
6
  end
7
7
 
8
- #:stopdoc:
9
-
10
- if EM::VERSION < '0.12.2'
11
-
12
- def EventMachine::run blk=nil, tail=nil, &block
13
- @tails ||= []
14
- tail and @tails.unshift(tail)
15
-
16
- if reactor_running?
17
- (b = blk || block) and b.call # next_tick(b)
18
- else
19
- @conns = {}
20
- @acceptors = {}
21
- @timers = {}
22
- begin
23
- @reactor_running = true
24
- initialize_event_machine
25
- (b = blk || block) and add_timer(0, b)
26
- run_machine
27
- ensure
28
- release_machine
29
- @reactor_running = false
30
- end
31
-
32
- until @tails.empty?
33
- @tails.pop.call
34
- end
35
- end
36
- end
37
-
38
- def EventMachine::fork_reactor &block
39
- Kernel.fork do
40
- if self.reactor_running?
41
- self.stop_event_loop
42
- self.release_machine
43
- self.instance_variable_set( '@reactor_running', false )
44
- end
45
- self.run block
46
- end
47
- end
48
-
49
- end
50
-
51
- require 'ext/emfork'
8
+ require 'ext/emfork'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amqp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.4
4
+ version: 0.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aman Gupta
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-01-09 00:00:00 -08:00
12
+ date: 2009-10-27 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency