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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e0375d7b69444d6c22a7ce555ed8009af1d837eb
4
- data.tar.gz: f1ab4dc41fcfa2bf7db9dce8223c4f26755b53f0
3
+ metadata.gz: 9cff3810ef87030f5a6a312619116f350b0dac8d
4
+ data.tar.gz: 6cda858da272e52b3963db0fc2a2640a94b6dcda
5
5
  SHA512:
6
- metadata.gz: 112e3b99b33bebb463961e5299df7e12b4f807eaa403b4e1a79657eb24c1f67acd1d75daef826c26475a59189268d9d1a83e78c2959c10e4dccea573bea2f7b4
7
- data.tar.gz: cbfd16c7036aa3325b475cf7784e19710aff59c89dddc886a2d77b40d8a6690daa9d4ca23ff31caec0bba03c64c77f1ef8ab24bbd9eb07285f26c503b7d9a6e6
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
- (ws.close; EM.stop) if r == :stop and em_already_running == false
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.3
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-15 00:00:00.000000000 Z
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
- �G_��u!�7U35ԍN�YZÇ!؜��c��hysҢ�Q��@����9�l$�� �<Ε�7:QpU��gr��x{����n֓u �����`�PS{���������GM����F��a U�{���(�`.�ťdO��ͺ�.�A�@�rm���}?�px�Մ=�ZuW�_�g���܅T�a��L��r�t�31n�b��C+�F��4 ��g��m���� , oK-���‘��"I��2B5��Lb�R��
1
+ X:g'O~����؅H;\�'���{�'8�¿Z9d��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+