celluloid-zmq 0.12.0 → 0.13.0.pre

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ 0.13.0.pre
2
+ ----------
3
+ * FIXME: lots of stuff happened. Should document it yo
4
+
1
5
  0.12.0
2
6
  ------
3
7
  * Tracking release for Celluloid 0.12.0
data/Gemfile CHANGED
@@ -1,7 +1,7 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
- gem 'celluloid', :git => 'git://github.com/celluloid/celluloid'
4
- gem 'celluloid-io', :git => 'git://github.com/celluloid/celluloid-io'
3
+ #gem 'celluloid', :git => 'git://github.com/celluloid/celluloid'
4
+ #gem 'celluloid-io', :git => 'git://github.com/celluloid/celluloid-io'
5
5
 
6
6
  # Specify your gem's dependencies in celluloid-zmq.gemspec
7
7
  gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2012 Tony Arcieri
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -11,8 +11,8 @@ Gem::Specification.new do |gem|
11
11
  gem.name = "celluloid-zmq"
12
12
  gem.version = Celluloid::ZMQ::VERSION
13
13
 
14
- gem.add_dependency "celluloid", "~> 0.12.0"
15
- gem.add_dependency "celluloid-io", "~> 0.12.0"
14
+ gem.add_dependency "celluloid", ">= 0.13.0.pre"
15
+ gem.add_dependency "celluloid-io", ">= 0.13.0.pre"
16
16
  gem.add_dependency "ffi"
17
17
  gem.add_dependency "ffi-rzmq"
18
18
 
data/lib/celluloid/zmq.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  require 'ffi-rzmq'
2
2
 
3
3
  require 'celluloid/io'
4
+ require 'celluloid/zmq/mailbox'
4
5
  require 'celluloid/zmq/reactor'
5
6
  require 'celluloid/zmq/sockets'
6
7
  require 'celluloid/zmq/version'
@@ -15,7 +16,7 @@ module Celluloid
15
16
  # Included hook to pull in Celluloid
16
17
  def included(klass)
17
18
  klass.send :include, ::Celluloid
18
- klass.use_mailbox { Celluloid::IO::Mailbox.new ZMQ::Reactor.new }
19
+ klass.mailbox_class Celluloid::ZMQ::Mailbox
19
20
  end
20
21
 
21
22
  # Obtain a 0MQ context (or lazily initialize it)
@@ -0,0 +1,12 @@
1
+ require 'celluloid/io'
2
+
3
+ module Celluloid
4
+ module ZMQ
5
+ # Replacement mailbox for Celluloid::ZMQ actors
6
+ class Mailbox < Celluloid::IO::Mailbox
7
+ def initialize
8
+ super Celluloid::ZMQ::Reactor.new
9
+ end
10
+ end
11
+ end
12
+ end
@@ -40,7 +40,7 @@ module Celluloid
40
40
 
41
41
  # Does the 0MQ socket support evented operation?
42
42
  def evented?
43
- actor = Thread.current[:actor]
43
+ actor = Thread.current[:celluloid_actor]
44
44
  return unless actor
45
45
 
46
46
  mailbox = actor.mailbox
@@ -53,6 +53,8 @@ module Celluloid
53
53
 
54
54
  # Readable 0MQ sockets have a read method
55
55
  module ReadableSocket
56
+ extend Forwardable
57
+
56
58
  # always set LINGER on readable sockets
57
59
  def bind(addr)
58
60
  self.linger = @linger
@@ -73,6 +75,9 @@ module Celluloid
73
75
  end
74
76
  buffer
75
77
  end
78
+
79
+ # Multiparts message ?
80
+ def_delegator :@socket, :more_parts?
76
81
  end
77
82
 
78
83
  # Writable 0MQ sockets have a send method
@@ -109,6 +114,26 @@ module Celluloid
109
114
  end
110
115
  end
111
116
 
117
+ # DealerSockets are like ReqSockets but more flexible
118
+ class DealerSocket < Socket
119
+ include ReadableSocket
120
+ include WritableSocket
121
+
122
+ def initialize
123
+ super :dealer
124
+ end
125
+ end
126
+
127
+ # RouterSockets are like RepSockets but more flexible
128
+ class RouterSocket < Socket
129
+ include ReadableSocket
130
+ include WritableSocket
131
+
132
+ def initialize
133
+ super :router
134
+ end
135
+ end
136
+
112
137
  # PushSockets are the counterpart of PullSockets (PUSH/PULL)
113
138
  class PushSocket < Socket
114
139
  include WritableSocket
@@ -1,5 +1,5 @@
1
1
  module Celluloid
2
2
  module ZMQ
3
- VERSION = "0.12.0"
3
+ VERSION = "0.13.0.pre"
4
4
  end
5
5
  end
data/log/test.log ADDED
@@ -0,0 +1,122 @@
1
+ E, [2012-12-19T01:01:20.993664 #85808] ERROR -- : #<Class:0x007f9971a06ee8> crashed!
2
+ ExampleCrash: the spec purposely crashed me :(
3
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/spec/support/example_actor_class.rb:34:in `crash'
4
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/calls.rb:26:in `public_send'
5
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/calls.rb:26:in `dispatch'
6
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/actor.rb:327:in `block in handle_message'
7
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/tasks/task_fiber.rb:24:in `block in initialize'
8
+ E, [2012-12-19T01:01:20.998087 #85808] ERROR -- : #<Class:0x007f99719f4dd8> crashed!
9
+ ExampleCrash: the spec purposely crashed me :(
10
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/spec/support/example_actor_class.rb:34:in `crash'
11
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/calls.rb:26:in `public_send'
12
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/calls.rb:26:in `dispatch'
13
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/actor.rb:327:in `block in handle_message'
14
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/tasks/task_fiber.rb:24:in `block in initialize'
15
+ E, [2012-12-19T01:01:21.054224 #85808] ERROR -- : #<Class:0x007f9971aab448> crashed!
16
+ TypeError: Exception object/String expected, but Fixnum received
17
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid.rb:314:in `abort'
18
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/spec/support/example_actor_class.rb:44:in `crash_with_abort_raw'
19
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/calls.rb:26:in `public_send'
20
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/calls.rb:26:in `dispatch'
21
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/actor.rb:327:in `block in handle_message'
22
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/tasks/task_fiber.rb:24:in `block in initialize'
23
+ E, [2012-12-19T01:01:21.122093 #85808] ERROR -- : #<Class:0x007f997194b7d8> crashed!
24
+ ExampleCrash: the spec purposely crashed me :(
25
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/spec/support/example_actor_class.rb:34:in `crash'
26
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/calls.rb:26:in `public_send'
27
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/calls.rb:26:in `dispatch'
28
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/actor.rb:327:in `block in handle_message'
29
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/tasks/task_fiber.rb:24:in `block in initialize'
30
+ E, [2012-12-19T01:01:21.233064 #85808] ERROR -- : #<Class:0x007f9971acf528> crashed!
31
+ ExampleCrash: the spec purposely crashed me :(
32
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/spec/support/example_actor_class.rb:34:in `crash'
33
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/calls.rb:26:in `public_send'
34
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/calls.rb:26:in `dispatch'
35
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/actor.rb:327:in `block in handle_message'
36
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/tasks/task_fiber.rb:24:in `block in initialize'
37
+ E, [2012-12-19T01:01:21.356557 #85808] ERROR -- : #<Class:0x007f9971b96e98> crashed!
38
+ ExampleCrash: the spec purposely crashed me :(
39
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/spec/support/example_actor_class.rb:34:in `crash'
40
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/calls.rb:26:in `public_send'
41
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/calls.rb:26:in `dispatch'
42
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/actor.rb:327:in `block in handle_message'
43
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/tasks/task_fiber.rb:24:in `block in initialize'
44
+ D, [2012-12-19T01:01:25.445824 #85808] DEBUG -- : Terminating 67 actors...
45
+ E, [2012-12-19T01:01:25.467635 #85808] ERROR -- : #<Class:0x007f9971b96c18>: CLEANUP CRASHED!
46
+ Celluloid::MailboxError: dead recipient
47
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-io-b6acbc2ceaf2/lib/celluloid/io/mailbox.rb:32:in `rescue in <<'
48
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-io-b6acbc2ceaf2/lib/celluloid/io/mailbox.rb:35:in `<<'
49
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/links.rb:32:in `block in send_event'
50
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/links.rb:27:in `block in each'
51
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/links.rb:27:in `each'
52
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/links.rb:27:in `each'
53
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/links.rb:32:in `send_event'
54
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/actor.rb:401:in `cleanup'
55
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/actor.rb:373:in `shutdown'
56
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/actor.rb:207:in `run'
57
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/actor.rb:184:in `block in initialize'
58
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/thread_handle.rb:17:in `block in initialize'
59
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/internal_pool.rb:55:in `call'
60
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/internal_pool.rb:55:in `block in create'
61
+ D, [2012-12-19T01:01:25.474351 #85808] DEBUG -- : Shutdown completed cleanly
62
+ E, [2012-12-19T01:01:38.130683 #85833] ERROR -- : #<Class:0x007fe449ad5ea0> crashed!
63
+ ExampleCrash: the spec purposely crashed me :(
64
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/spec/support/example_actor_class.rb:34:in `crash'
65
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/calls.rb:26:in `public_send'
66
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/calls.rb:26:in `dispatch'
67
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/actor.rb:327:in `block in handle_message'
68
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/tasks/task_fiber.rb:24:in `block in initialize'
69
+ E, [2012-12-19T01:01:38.134696 #85833] ERROR -- : #<Class:0x007fe449ac56e0> crashed!
70
+ ExampleCrash: the spec purposely crashed me :(
71
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/spec/support/example_actor_class.rb:34:in `crash'
72
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/calls.rb:26:in `public_send'
73
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/calls.rb:26:in `dispatch'
74
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/actor.rb:327:in `block in handle_message'
75
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/tasks/task_fiber.rb:24:in `block in initialize'
76
+ E, [2012-12-19T01:01:38.191106 #85833] ERROR -- : #<Class:0x007fe449b6c738> crashed!
77
+ TypeError: Exception object/String expected, but Fixnum received
78
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid.rb:314:in `abort'
79
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/spec/support/example_actor_class.rb:44:in `crash_with_abort_raw'
80
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/calls.rb:26:in `public_send'
81
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/calls.rb:26:in `dispatch'
82
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/actor.rb:327:in `block in handle_message'
83
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/tasks/task_fiber.rb:24:in `block in initialize'
84
+ E, [2012-12-19T01:01:38.258936 #85833] ERROR -- : #<Class:0x007fe449a4a530> crashed!
85
+ ExampleCrash: the spec purposely crashed me :(
86
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/spec/support/example_actor_class.rb:34:in `crash'
87
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/calls.rb:26:in `public_send'
88
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/calls.rb:26:in `dispatch'
89
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/actor.rb:327:in `block in handle_message'
90
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/tasks/task_fiber.rb:24:in `block in initialize'
91
+ E, [2012-12-19T01:01:38.370524 #85833] ERROR -- : #<Class:0x007fe449b79780> crashed!
92
+ ExampleCrash: the spec purposely crashed me :(
93
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/spec/support/example_actor_class.rb:34:in `crash'
94
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/calls.rb:26:in `public_send'
95
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/calls.rb:26:in `dispatch'
96
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/actor.rb:327:in `block in handle_message'
97
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/tasks/task_fiber.rb:24:in `block in initialize'
98
+ E, [2012-12-19T01:01:38.494373 #85833] ERROR -- : #<Class:0x007fe449c58ea8> crashed!
99
+ ExampleCrash: the spec purposely crashed me :(
100
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/spec/support/example_actor_class.rb:34:in `crash'
101
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/calls.rb:26:in `public_send'
102
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/calls.rb:26:in `dispatch'
103
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/actor.rb:327:in `block in handle_message'
104
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/tasks/task_fiber.rb:24:in `block in initialize'
105
+ D, [2012-12-19T01:01:42.580985 #85833] DEBUG -- : Terminating 67 actors...
106
+ E, [2012-12-19T01:01:42.605059 #85833] ERROR -- : #<Class:0x007fe449ad65f8>: CLEANUP CRASHED!
107
+ Celluloid::MailboxError: dead recipient
108
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-io-b6acbc2ceaf2/lib/celluloid/io/mailbox.rb:32:in `rescue in <<'
109
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-io-b6acbc2ceaf2/lib/celluloid/io/mailbox.rb:35:in `<<'
110
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/links.rb:32:in `block in send_event'
111
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/links.rb:27:in `block in each'
112
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/links.rb:27:in `each'
113
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/links.rb:27:in `each'
114
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/links.rb:32:in `send_event'
115
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/actor.rb:401:in `cleanup'
116
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/actor.rb:373:in `shutdown'
117
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/actor.rb:207:in `run'
118
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/actor.rb:184:in `block in initialize'
119
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/thread_handle.rb:17:in `block in initialize'
120
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/internal_pool.rb:55:in `call'
121
+ /Users/tony/.rvm/gems/ruby-1.9.3-p327/bundler/gems/celluloid-b3573aca7649/lib/celluloid/internal_pool.rb:55:in `block in create'
122
+ D, [2012-12-19T01:01:42.610047 #85833] DEBUG -- : Shutdown completed cleanly
data/spec/spec_helper.rb CHANGED
@@ -1,2 +1,5 @@
1
1
  require 'bundler/setup'
2
- require 'celluloid/zmq'
2
+ require 'celluloid/zmq'
3
+
4
+ logfile = File.open(File.expand_path("../../log/test.log", __FILE__), 'a')
5
+ Celluloid.logger = Logger.new(logfile)
metadata CHANGED
@@ -1,41 +1,51 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: celluloid-zmq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
5
- prerelease:
4
+ version: 0.13.0.pre
5
+ prerelease: 7
6
6
  platform: ruby
7
7
  authors:
8
8
  - Tony Arcieri
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-04 00:00:00.000000000 Z
12
+ date: 2013-02-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: celluloid
16
- requirement: &70254147601380 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ~>
19
+ - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.12.0
21
+ version: 0.13.0.pre
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70254147601380
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 0.13.0.pre
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: celluloid-io
27
- requirement: &70254147600120 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
- - - ~>
35
+ - - ! '>='
31
36
  - !ruby/object:Gem::Version
32
- version: 0.12.0
37
+ version: 0.13.0.pre
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *70254147600120
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: 0.13.0.pre
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: ffi
38
- requirement: &70254147599660 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ! '>='
@@ -43,10 +53,15 @@ dependencies:
43
53
  version: '0'
44
54
  type: :runtime
45
55
  prerelease: false
46
- version_requirements: *70254147599660
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
47
62
  - !ruby/object:Gem::Dependency
48
63
  name: ffi-rzmq
49
- requirement: &70254147598820 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
50
65
  none: false
51
66
  requirements:
52
67
  - - ! '>='
@@ -54,10 +69,15 @@ dependencies:
54
69
  version: '0'
55
70
  type: :runtime
56
71
  prerelease: false
57
- version_requirements: *70254147598820
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
58
78
  - !ruby/object:Gem::Dependency
59
79
  name: rake
60
- requirement: &70254147597640 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
61
81
  none: false
62
82
  requirements:
63
83
  - - ! '>='
@@ -65,10 +85,15 @@ dependencies:
65
85
  version: '0'
66
86
  type: :development
67
87
  prerelease: false
68
- version_requirements: *70254147597640
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
69
94
  - !ruby/object:Gem::Dependency
70
95
  name: rspec
71
- requirement: &70254147596600 !ruby/object:Gem::Requirement
96
+ requirement: !ruby/object:Gem::Requirement
72
97
  none: false
73
98
  requirements:
74
99
  - - ! '>='
@@ -76,7 +101,12 @@ dependencies:
76
101
  version: '0'
77
102
  type: :development
78
103
  prerelease: false
79
- version_requirements: *70254147596600
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
80
110
  description: Celluloid bindings to the ffi-rzmq library
81
111
  email:
82
112
  - tony.arcieri@gmail.com
@@ -87,13 +117,15 @@ files:
87
117
  - celluloid-zmq.gemspec
88
118
  - CHANGES.md
89
119
  - Gemfile
120
+ - lib/celluloid/zmq/mailbox.rb
90
121
  - lib/celluloid/zmq/reactor.rb
91
122
  - lib/celluloid/zmq/sockets.rb
92
123
  - lib/celluloid/zmq/version.rb
93
124
  - lib/celluloid/zmq/waker.rb
94
125
  - lib/celluloid/zmq.rb
126
+ - LICENSE.txt
127
+ - log/test.log
95
128
  - logo.png
96
- - pkg/celluloid-zmq-0.10.0.gem
97
129
  - Rakefile
98
130
  - README.md
99
131
  - spec/celluloid/zmq/actor_spec.rb
@@ -111,15 +143,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
111
143
  - - ! '>='
112
144
  - !ruby/object:Gem::Version
113
145
  version: '0'
146
+ segments:
147
+ - 0
148
+ hash: 1401150291998754123
114
149
  required_rubygems_version: !ruby/object:Gem::Requirement
115
150
  none: false
116
151
  requirements:
117
- - - ! '>='
152
+ - - ! '>'
118
153
  - !ruby/object:Gem::Version
119
- version: '0'
154
+ version: 1.3.1
120
155
  requirements: []
121
156
  rubyforge_project:
122
- rubygems_version: 1.8.10
157
+ rubygems_version: 1.8.23
123
158
  signing_key:
124
159
  specification_version: 3
125
160
  summary: Celluloid::ZMQ provides concurrent Celluloid actors that can listen for 0MQ
@@ -128,4 +163,3 @@ test_files:
128
163
  - spec/celluloid/zmq/actor_spec.rb
129
164
  - spec/spec_helper.rb
130
165
  - .gitignore
131
- has_rdoc: