simplepubsub 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/simplepubsub.rb +5 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9cff3810ef87030f5a6a312619116f350b0dac8d
|
4
|
+
data.tar.gz: 6cda858da272e52b3963db0fc2a2640a94b6dcda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c26f81f94e81f30a699bdc0bd262aa525d8800fe745218d719dbd3d2115797196e5114af8aba5e9dd87ce13942457897ea79bca3dbdaad06437bbdcaa3071af6
|
7
|
+
data.tar.gz: d8a02e1983bbd63a4c3b5362b7d2400ed124f0876355f30db7837ce60fb115378e0f329d63dbbb3fd9a9b6e146f1c24a268dec4b241c1ca896cc1cf6142359f1
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/simplepubsub.rb
CHANGED
@@ -112,7 +112,11 @@ module SimplePubSub
|
|
112
112
|
a = msg.split(/\s*:\s*/,2)
|
113
113
|
topic, message = a
|
114
114
|
r = pubsub.proc.call topic, message
|
115
|
-
|
115
|
+
|
116
|
+
if r == :stop then
|
117
|
+
ws.close
|
118
|
+
EM.stop if em_already_running == false
|
119
|
+
end
|
116
120
|
end
|
117
121
|
|
118
122
|
ws.onclose do
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplepubsub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
i0PBE6fLwlIMk8jNNUcX3J1csSMgLNTwE8CwrlSZE8sueHj0pQzICM7lF0gGREO6
|
32
32
|
hQHD0LljU3MusQ==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2013-11-
|
34
|
+
date: 2013-11-16 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: websocket-eventmachine-server
|
metadata.gz.sig
CHANGED
@@ -1 +1,3 @@
|
|
1
|
-
|
1
|
+
X:g�'O~����H;\�'���{�'8�¿Z�9d��O6�*�F�
|
2
|
+
�~#Z.�?�wT��,�g��uO����J��;�-��Iֈ����a��
|
3
|
+
�LP3�}�#�05J�b0b3�xi��J.�ݙ%����5���7=hۓޓ�r�m�.(��[\u�jጹ���?�9��T�K���T }ֽR��jR�tՑ̩a�-����Bϳ���F��O�Kߧ>�t�D�#��0����\{K+�R\i��es+
|