celluloid_pubsub 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/.travis.yml +2 -2
- data/Rakefile +6 -3
- data/celluloid_pubsub.gemspec +1 -1
- data/lib/celluloid_pubsub/reactor.rb +11 -15
- data/lib/celluloid_pubsub/version.rb +1 -1
- data/lib/celluloid_pubsub/web_server.rb +3 -0
- data/spec/lib/celluloid_pubsub/client_pubsub_spec.rb +128 -0
- data/spec/lib/celluloid_pubsub/reactor_spec.rb +208 -0
- data/spec/lib/celluloid_pubsub/registry_spec.rb +4 -0
- data/spec/lib/celluloid_pubsub/web_server_spec.rb +43 -0
- data/spec/spec_helper.rb +8 -0
- metadata +12 -70
- data/bin/appraisal +0 -16
- data/bin/autospec +0 -16
- data/bin/bundler +0 -16
- data/bin/cdiff +0 -16
- data/bin/coderay +0 -16
- data/bin/colortab +0 -16
- data/bin/coveralls +0 -16
- data/bin/decolor +0 -16
- data/bin/erubis +0 -16
- data/bin/guard +0 -16
- data/bin/htmldiff +0 -16
- data/bin/inch +0 -16
- data/bin/ldiff +0 -16
- data/bin/listen +0 -16
- data/bin/nokogiri +0 -16
- data/bin/phare +0 -16
- data/bin/pry +0 -16
- data/bin/rackup +0 -16
- data/bin/rails +0 -16
- data/bin/rake +0 -16
- data/bin/restclient +0 -16
- data/bin/rspec +0 -16
- data/bin/rubocop +0 -16
- data/bin/ruby-parse +0 -16
- data/bin/ruby-rewrite +0 -16
- data/bin/sass +0 -16
- data/bin/sass-convert +0 -16
- data/bin/scss +0 -16
- data/bin/scss-lint +0 -16
- data/bin/sparkr +0 -16
- data/bin/term_display +0 -16
- data/bin/term_mandel +0 -16
- data/bin/thor +0 -16
- data/bin/yard +0 -16
- data/bin/yardoc +0 -16
- data/bin/yardstick +0 -16
- data/bin/yri +0 -16
- data/doc/CelluloidPubsub/Client/PubSubWorker.html +0 -3676
- data/doc/CelluloidPubsub/Client.html +0 -340
- data/doc/CelluloidPubsub/Reactor.html +0 -3502
- data/doc/CelluloidPubsub/Registry.html +0 -234
- data/doc/CelluloidPubsub/VERSION.html +0 -204
- data/doc/CelluloidPubsub/WebServer.html +0 -4275
- data/doc/CelluloidPubsub.html +0 -225
- data/doc/_index.html +0 -184
- data/doc/class_list.html +0 -58
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -57
- data/doc/css/style.css +0 -339
- data/doc/file.README.html +0 -150
- data/doc/file_list.html +0 -60
- data/doc/frames.html +0 -26
- data/doc/index.html +0 -150
- data/doc/js/app.js +0 -219
- data/doc/js/full_list.js +0 -181
- data/doc/js/jquery.js +0 -4
- data/doc/method_list.html +0 -357
- data/doc/top-level-namespace.html +0 -112
@@ -1,234 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>
|
7
|
-
Class: CelluloidPubsub::Registry
|
8
|
-
|
9
|
-
— Documentation by YARD 0.8.7.6
|
10
|
-
|
11
|
-
</title>
|
12
|
-
|
13
|
-
<link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
|
14
|
-
|
15
|
-
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
16
|
-
|
17
|
-
<script type="text/javascript" charset="utf-8">
|
18
|
-
hasFrames = window.top.frames.main ? true : false;
|
19
|
-
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!CelluloidPubsub/Registry.html";
|
21
|
-
</script>
|
22
|
-
|
23
|
-
|
24
|
-
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
25
|
-
|
26
|
-
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
27
|
-
|
28
|
-
|
29
|
-
</head>
|
30
|
-
<body>
|
31
|
-
<div id="header">
|
32
|
-
<div id="menu">
|
33
|
-
|
34
|
-
<a href="../_index.html">Index (R)</a> »
|
35
|
-
<span class='title'><span class='object_link'><a href="../CelluloidPubsub.html" title="CelluloidPubsub (module)">CelluloidPubsub</a></span></span>
|
36
|
-
»
|
37
|
-
<span class="title">Registry</span>
|
38
|
-
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
|
-
</div>
|
42
|
-
|
43
|
-
<div id="search">
|
44
|
-
|
45
|
-
<a class="full_list_link" id="class_list_link"
|
46
|
-
href="../class_list.html">
|
47
|
-
Class List
|
48
|
-
</a>
|
49
|
-
|
50
|
-
<a class="full_list_link" id="method_list_link"
|
51
|
-
href="../method_list.html">
|
52
|
-
Method List
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../file_list.html">
|
57
|
-
File List
|
58
|
-
</a>
|
59
|
-
|
60
|
-
</div>
|
61
|
-
<div class="clear"></div>
|
62
|
-
</div>
|
63
|
-
|
64
|
-
<iframe id="search_frame"></iframe>
|
65
|
-
|
66
|
-
<div id="content"><h1>Class: CelluloidPubsub::Registry
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
73
|
-
|
74
|
-
<dt class="r1">Inherits:</dt>
|
75
|
-
<dd class="r1">
|
76
|
-
<span class="inheritName">Object</span>
|
77
|
-
|
78
|
-
<ul class="fullTree">
|
79
|
-
<li>Object</li>
|
80
|
-
|
81
|
-
<li class="next">CelluloidPubsub::Registry</li>
|
82
|
-
|
83
|
-
</ul>
|
84
|
-
<a href="#" class="inheritanceTree">show all</a>
|
85
|
-
|
86
|
-
</dd>
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
<dt class="r2">Includes:</dt>
|
94
|
-
<dd class="r2">ActiveSupport::Configurable</dd>
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
<dt class="r1 last">Defined in:</dt>
|
101
|
-
<dd class="r1 last">lib/celluloid_pubsub/registry.rb</dd>
|
102
|
-
|
103
|
-
</dl>
|
104
|
-
<div class="clear"></div>
|
105
|
-
|
106
|
-
<h2>Overview</h2><div class="docstring">
|
107
|
-
<div class="discussion">
|
108
|
-
|
109
|
-
<p>class used to register new channels and save them in memory</p>
|
110
|
-
|
111
|
-
|
112
|
-
</div>
|
113
|
-
</div>
|
114
|
-
<div class="tags">
|
115
|
-
|
116
|
-
|
117
|
-
</div>
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
<h2>Class Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
122
|
-
<ul class="summary">
|
123
|
-
|
124
|
-
<li class="public ">
|
125
|
-
<span class="summary_signature">
|
126
|
-
|
127
|
-
<a href="#channels-class_method" title="channels (class method)">+ (Array) <strong>channels</strong> </a>
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
</span>
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
<span class="summary_desc"><div class='inline'>
|
145
|
-
<p>Array of channels to which actors have subscribed to.</p>
|
146
|
-
</div></span>
|
147
|
-
|
148
|
-
</li>
|
149
|
-
|
150
|
-
|
151
|
-
</ul>
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
<div id="class_attr_details" class="attr_details">
|
159
|
-
<h2>Class Attribute Details</h2>
|
160
|
-
|
161
|
-
|
162
|
-
<span id="channels=-class_method"></span>
|
163
|
-
<div class="method_details first">
|
164
|
-
<h3 class="signature first" id="channels-class_method">
|
165
|
-
|
166
|
-
+ (<tt>Array</tt>) <strong>channels</strong>
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
</h3><div class="docstring">
|
173
|
-
<div class="discussion">
|
174
|
-
|
175
|
-
<p>Returns array of channels to which actors have subscribed to</p>
|
176
|
-
|
177
|
-
|
178
|
-
</div>
|
179
|
-
</div>
|
180
|
-
<div class="tags">
|
181
|
-
|
182
|
-
<p class="tag_title">Returns:</p>
|
183
|
-
<ul class="return">
|
184
|
-
|
185
|
-
<li>
|
186
|
-
|
187
|
-
|
188
|
-
<span class='type'>(<tt>Array</tt>)</span>
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
—
|
193
|
-
<div class='inline'>
|
194
|
-
<p>array of channels to which actors have subscribed to</p>
|
195
|
-
</div>
|
196
|
-
|
197
|
-
</li>
|
198
|
-
|
199
|
-
</ul>
|
200
|
-
|
201
|
-
</div><table class="source_code">
|
202
|
-
<tr>
|
203
|
-
<td>
|
204
|
-
<pre class="lines">
|
205
|
-
|
206
|
-
|
207
|
-
8
|
208
|
-
9
|
209
|
-
10</pre>
|
210
|
-
</td>
|
211
|
-
<td>
|
212
|
-
<pre class="code"><span class="info file"># File 'lib/celluloid_pubsub/registry.rb', line 8</span>
|
213
|
-
|
214
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_channels'>channels</span>
|
215
|
-
<span class='ivar'>@channels</span>
|
216
|
-
<span class='kw'>end</span></pre>
|
217
|
-
</td>
|
218
|
-
</tr>
|
219
|
-
</table>
|
220
|
-
</div>
|
221
|
-
|
222
|
-
</div>
|
223
|
-
|
224
|
-
|
225
|
-
</div>
|
226
|
-
|
227
|
-
<div id="footer">
|
228
|
-
Generated on Fri Mar 13 18:05:41 2015 by
|
229
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
230
|
-
0.8.7.6 (ruby-2.0.0).
|
231
|
-
</div>
|
232
|
-
|
233
|
-
</body>
|
234
|
-
</html>
|
@@ -1,204 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>
|
7
|
-
Module: CelluloidPubsub::VERSION
|
8
|
-
|
9
|
-
— Documentation by YARD 0.8.7.6
|
10
|
-
|
11
|
-
</title>
|
12
|
-
|
13
|
-
<link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
|
14
|
-
|
15
|
-
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
16
|
-
|
17
|
-
<script type="text/javascript" charset="utf-8">
|
18
|
-
hasFrames = window.top.frames.main ? true : false;
|
19
|
-
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!CelluloidPubsub/VERSION.html";
|
21
|
-
</script>
|
22
|
-
|
23
|
-
|
24
|
-
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
25
|
-
|
26
|
-
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
27
|
-
|
28
|
-
|
29
|
-
</head>
|
30
|
-
<body>
|
31
|
-
<div id="header">
|
32
|
-
<div id="menu">
|
33
|
-
|
34
|
-
<a href="../_index.html">Index (V)</a> »
|
35
|
-
<span class='title'><span class='object_link'><a href="../CelluloidPubsub.html" title="CelluloidPubsub (module)">CelluloidPubsub</a></span></span>
|
36
|
-
»
|
37
|
-
<span class="title">VERSION</span>
|
38
|
-
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
|
-
</div>
|
42
|
-
|
43
|
-
<div id="search">
|
44
|
-
|
45
|
-
<a class="full_list_link" id="class_list_link"
|
46
|
-
href="../class_list.html">
|
47
|
-
Class List
|
48
|
-
</a>
|
49
|
-
|
50
|
-
<a class="full_list_link" id="method_list_link"
|
51
|
-
href="../method_list.html">
|
52
|
-
Method List
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../file_list.html">
|
57
|
-
File List
|
58
|
-
</a>
|
59
|
-
|
60
|
-
</div>
|
61
|
-
<div class="clear"></div>
|
62
|
-
</div>
|
63
|
-
|
64
|
-
<iframe id="search_frame"></iframe>
|
65
|
-
|
66
|
-
<div id="content"><h1>Module: CelluloidPubsub::VERSION
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
<dt class="r1 last">Defined in:</dt>
|
82
|
-
<dd class="r1 last">lib/celluloid_pubsub/version.rb</dd>
|
83
|
-
|
84
|
-
</dl>
|
85
|
-
<div class="clear"></div>
|
86
|
-
|
87
|
-
<h2>Overview</h2><div class="docstring">
|
88
|
-
<div class="discussion">
|
89
|
-
|
90
|
-
<p>module used to generate the version string provides a easy way of getting
|
91
|
-
the major, minor and tiny</p>
|
92
|
-
|
93
|
-
|
94
|
-
</div>
|
95
|
-
</div>
|
96
|
-
<div class="tags">
|
97
|
-
|
98
|
-
|
99
|
-
</div>
|
100
|
-
<h2>Constant Summary</h2>
|
101
|
-
|
102
|
-
<dl class="constants">
|
103
|
-
|
104
|
-
<dt id="MAJOR-constant" class="">MAJOR =
|
105
|
-
<div class="docstring">
|
106
|
-
<div class="discussion">
|
107
|
-
|
108
|
-
<p>major release version</p>
|
109
|
-
|
110
|
-
|
111
|
-
</div>
|
112
|
-
</div>
|
113
|
-
<div class="tags">
|
114
|
-
|
115
|
-
|
116
|
-
</div>
|
117
|
-
</dt>
|
118
|
-
<dd><pre class="code"><span class='int'>0</span></pre></dd>
|
119
|
-
|
120
|
-
<dt id="MINOR-constant" class="">MINOR =
|
121
|
-
<div class="docstring">
|
122
|
-
<div class="discussion">
|
123
|
-
|
124
|
-
<p>minor release version</p>
|
125
|
-
|
126
|
-
|
127
|
-
</div>
|
128
|
-
</div>
|
129
|
-
<div class="tags">
|
130
|
-
|
131
|
-
|
132
|
-
</div>
|
133
|
-
</dt>
|
134
|
-
<dd><pre class="code"><span class='int'>0</span></pre></dd>
|
135
|
-
|
136
|
-
<dt id="TINY-constant" class="">TINY =
|
137
|
-
<div class="docstring">
|
138
|
-
<div class="discussion">
|
139
|
-
|
140
|
-
<p>tiny release version</p>
|
141
|
-
|
142
|
-
|
143
|
-
</div>
|
144
|
-
</div>
|
145
|
-
<div class="tags">
|
146
|
-
|
147
|
-
|
148
|
-
</div>
|
149
|
-
</dt>
|
150
|
-
<dd><pre class="code"><span class='int'>7</span></pre></dd>
|
151
|
-
|
152
|
-
<dt id="PRE-constant" class="">PRE =
|
153
|
-
<div class="docstring">
|
154
|
-
<div class="discussion">
|
155
|
-
|
156
|
-
<p>prelease version ( set this only if it is a prelease)</p>
|
157
|
-
|
158
|
-
|
159
|
-
</div>
|
160
|
-
</div>
|
161
|
-
<div class="tags">
|
162
|
-
|
163
|
-
|
164
|
-
</div>
|
165
|
-
</dt>
|
166
|
-
<dd><pre class="code"><span class='kw'>nil</span></pre></dd>
|
167
|
-
|
168
|
-
<dt id="STRING-constant" class="">STRING =
|
169
|
-
<div class="docstring">
|
170
|
-
<div class="discussion">
|
171
|
-
|
172
|
-
<p>generates the version string</p>
|
173
|
-
|
174
|
-
|
175
|
-
</div>
|
176
|
-
</div>
|
177
|
-
<div class="tags">
|
178
|
-
|
179
|
-
|
180
|
-
</div>
|
181
|
-
</dt>
|
182
|
-
<dd><pre class="code"><span class='lbracket'>[</span><span class='const'>MAJOR</span><span class='comma'>,</span> <span class='const'>MINOR</span><span class='comma'>,</span> <span class='const'>TINY</span><span class='comma'>,</span> <span class='const'>PRE</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_compact'>compact</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>.</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span></pre></dd>
|
183
|
-
|
184
|
-
</dl>
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
</div>
|
196
|
-
|
197
|
-
<div id="footer">
|
198
|
-
Generated on Fri Mar 13 18:05:41 2015 by
|
199
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
200
|
-
0.8.7.6 (ruby-2.0.0).
|
201
|
-
</div>
|
202
|
-
|
203
|
-
</body>
|
204
|
-
</html>
|