notifyhub 0.0.2 → 0.0.3
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.
- checksums.yaml +7 -0
- data/CHANGELOG.rdoc +3 -0
- data/README.rdoc +7 -7
- data/doc/Notify.html +18 -18
- data/doc/NotifyHub/NotFound.html +2 -2
- data/doc/NotifyHub/Redefining.html +2 -2
- data/doc/NotifyHub.html +171 -100
- data/doc/NotifySet.html +52 -52
- data/doc/_index.html +1 -1
- data/doc/file.CHANGELOG.html +5 -2
- data/doc/file.README.html +11 -11
- data/doc/index.html +11 -11
- data/doc/method_list.html +16 -10
- data/doc/top-level-namespace.html +1 -1
- data/lib/notifyhub.rb +55 -46
- data/test/test_notifyhub.rb +11 -47
- metadata +26 -36
- data/Rakefile +0 -28
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 027159a98ad1b9026a9ce84f555caf6fca57de2c
|
4
|
+
data.tar.gz: 57c4fceb03ae6ff216e42407166114a26d4e6d42
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: b5a7d74218995ebf0141d449a180a1c9d97f58855f0939ca7cf5583a962ca0a785aa875a886250d90e64be7eda60e9c411b16f45b282f54f25764d74f7f87d54
|
7
|
+
data.tar.gz: 4beaf3ed79dc6575d923d28732aa843cb65373508c537f614baa0930d96674471b121c37c41ee739c8c68c62450b168b115e4c1cdb46ad938491123c72e63745
|
data/CHANGELOG.rdoc
CHANGED
data/README.rdoc
CHANGED
@@ -2,18 +2,18 @@
|
|
2
2
|
|
3
3
|
== Description
|
4
4
|
|
5
|
-
NotifyHub is a callback facility. NotifyHub is used by the informer
|
6
|
-
to notify clients about arbitrary events in the informer. NotifyHub
|
7
|
-
contains notification sets (NotifySet).
|
5
|
+
{NotifyHub} is a callback facility. {NotifyHub} is used by the informer
|
6
|
+
to notify clients about arbitrary events in the informer. {NotifyHub}
|
7
|
+
contains notification sets ({NotifySet}).
|
8
8
|
|
9
|
-
NotifySet is identified by set ID and it can include one or many
|
10
|
-
notifications (Notify). Client defines the action performed at
|
9
|
+
{NotifySet} is identified by set ID and it can include one or many
|
10
|
+
notifications ({Notify}). Client defines the action performed at
|
11
11
|
notification (callback). Informer activates the notification when
|
12
12
|
notification events occur.
|
13
13
|
|
14
14
|
Notifications can be enabled/disabled on different levels
|
15
|
-
(NotifyHub, NotifySet, and Notify).
|
15
|
+
({NotifyHub}, {NotifySet}, and {Notify}).
|
16
16
|
|
17
17
|
== Documentation
|
18
18
|
|
19
|
-
Main documentation is generated from NotifyHub source.
|
19
|
+
Main documentation is generated from {NotifyHub} source.
|
data/doc/Notify.html
CHANGED
@@ -140,7 +140,7 @@
|
|
140
140
|
|
141
141
|
|
142
142
|
<span class="summary_desc"><div class='inline'>
|
143
|
-
<p>Enable/disable Notify
|
143
|
+
<p>Enable/disable <span class='object_link'><a href="" title="Notify (class)">Notify</a></span>.</p>
|
144
144
|
</div></span>
|
145
145
|
|
146
146
|
</li>
|
@@ -261,13 +261,13 @@
|
|
261
261
|
<pre class="lines">
|
262
262
|
|
263
263
|
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
264
|
+
339
|
265
|
+
340
|
266
|
+
341
|
267
|
+
342</pre>
|
268
268
|
</td>
|
269
269
|
<td>
|
270
|
-
<pre class="code"><span class="info file"># File 'lib/notifyhub.rb', line
|
270
|
+
<pre class="code"><span class="info file"># File 'lib/notifyhub.rb', line 339</span>
|
271
271
|
|
272
272
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span> <span class='op'>&</span><span class='id identifier rubyid_action'>action</span> <span class='rparen'>)</span>
|
273
273
|
<span class='ivar'>@action</span> <span class='op'>=</span> <span class='id identifier rubyid_action'>action</span>
|
@@ -297,7 +297,7 @@
|
|
297
297
|
</h3><div class="docstring">
|
298
298
|
<div class="discussion">
|
299
299
|
|
300
|
-
<p>Enable/disable Notify
|
300
|
+
<p>Enable/disable <span class='object_link'><a href="" title="Notify (class)">Notify</a></span>.</p>
|
301
301
|
|
302
302
|
|
303
303
|
</div>
|
@@ -331,12 +331,12 @@
|
|
331
331
|
<pre class="lines">
|
332
332
|
|
333
333
|
|
334
|
-
|
335
|
-
|
336
|
-
|
334
|
+
333
|
335
|
+
334
|
336
|
+
335</pre>
|
337
337
|
</td>
|
338
338
|
<td>
|
339
|
-
<pre class="code"><span class="info file"># File 'lib/notifyhub.rb', line
|
339
|
+
<pre class="code"><span class="info file"># File 'lib/notifyhub.rb', line 333</span>
|
340
340
|
|
341
341
|
<span class='kw'>def</span> <span class='id identifier rubyid_enable'>enable</span>
|
342
342
|
<span class='ivar'>@enable</span>
|
@@ -399,14 +399,14 @@
|
|
399
399
|
<pre class="lines">
|
400
400
|
|
401
401
|
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
402
|
+
348
|
403
|
+
349
|
404
|
+
350
|
405
|
+
351
|
406
|
+
352</pre>
|
407
407
|
</td>
|
408
408
|
<td>
|
409
|
-
<pre class="code"><span class="info file"># File 'lib/notifyhub.rb', line
|
409
|
+
<pre class="code"><span class="info file"># File 'lib/notifyhub.rb', line 348</span>
|
410
410
|
|
411
411
|
<span class='kw'>def</span> <span class='id identifier rubyid_notify'>notify</span><span class='lparen'>(</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span> <span class='rparen'>)</span>
|
412
412
|
<span class='kw'>if</span> <span class='ivar'>@enable</span>
|
@@ -423,7 +423,7 @@
|
|
423
423
|
</div>
|
424
424
|
|
425
425
|
<div id="footer">
|
426
|
-
Generated on
|
426
|
+
Generated on Sun Nov 23 14:59:06 2014 by
|
427
427
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
428
428
|
0.8.6.1 (ruby-1.9.3).
|
429
429
|
</div>
|
data/doc/NotifyHub/NotFound.html
CHANGED
@@ -104,7 +104,7 @@
|
|
104
104
|
<h2>Overview</h2><div class="docstring">
|
105
105
|
<div class="discussion">
|
106
106
|
|
107
|
-
<p>Non-existing Notify error.</p>
|
107
|
+
<p>Non-existing <span class='object_link'><a href="../Notify.html" title="Notify (class)">Notify</a></span> error.</p>
|
108
108
|
|
109
109
|
|
110
110
|
</div>
|
@@ -125,7 +125,7 @@
|
|
125
125
|
</div>
|
126
126
|
|
127
127
|
<div id="footer">
|
128
|
-
Generated on
|
128
|
+
Generated on Sun Nov 23 14:59:06 2014 by
|
129
129
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
130
130
|
0.8.6.1 (ruby-1.9.3).
|
131
131
|
</div>
|
@@ -104,7 +104,7 @@
|
|
104
104
|
<h2>Overview</h2><div class="docstring">
|
105
105
|
<div class="discussion">
|
106
106
|
|
107
|
-
<p>Redefining Notify error.</p>
|
107
|
+
<p>Redefining <span class='object_link'><a href="../Notify.html" title="Notify (class)">Notify</a></span> error.</p>
|
108
108
|
|
109
109
|
|
110
110
|
</div>
|
@@ -125,7 +125,7 @@
|
|
125
125
|
</div>
|
126
126
|
|
127
127
|
<div id="footer">
|
128
|
-
Generated on
|
128
|
+
Generated on Sun Nov 23 14:59:06 2014 by
|
129
129
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
130
130
|
0.8.6.1 (ruby-1.9.3).
|
131
131
|
</div>
|