simplepubsub 1.1.8 → 1.1.10
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 +9 -8
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c0f28e25d57c81e3735c484904455a934eca706
|
4
|
+
data.tar.gz: d0ae4aa1a19efcfe0b335c7ca02591bf2c67ce6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e4a98499e5ec12ea05b2047b91b61efc3baf7cb1246b96244d7d1bf6195aebeded9ccbf11e073fa726b8406c2a431b2823f8741214f2d7fa76838b935eebf32
|
7
|
+
data.tar.gz: 7af638f62ac72488c475e2da963b3f8bd9851c97a84e69a79f81b211654ddd63cb1edd61050f798b8db12930a864e33af3a24b28419edf1e773e7c0f96aecafb
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/simplepubsub.rb
CHANGED
@@ -11,8 +11,8 @@ module SimplePubSub
|
|
11
11
|
|
12
12
|
class Broker
|
13
13
|
|
14
|
-
def self.start(host: '0.0.0.0', port: 59000)
|
15
|
-
|
14
|
+
#def self.start(host: '0.0.0.0', port: 59000)
|
15
|
+
def self.start(host='0.0.0.0', port=59000)
|
16
16
|
|
17
17
|
EM.run do
|
18
18
|
|
@@ -80,9 +80,9 @@ module SimplePubSub
|
|
80
80
|
end
|
81
81
|
|
82
82
|
end
|
83
|
-
end
|
83
|
+
end
|
84
84
|
end
|
85
|
-
|
85
|
+
|
86
86
|
class Client
|
87
87
|
|
88
88
|
class PubSub
|
@@ -103,8 +103,8 @@ module SimplePubSub
|
|
103
103
|
@proc = ->(_,_){}
|
104
104
|
end
|
105
105
|
end
|
106
|
-
|
107
|
-
def self.connect(hostname, port
|
106
|
+
|
107
|
+
def self.connect(hostname, port='59000', auto_retry=true, &connect_blk)
|
108
108
|
|
109
109
|
retry_count = nil
|
110
110
|
pubsub = PubSub.new
|
@@ -177,8 +177,9 @@ module SimplePubSub
|
|
177
177
|
end
|
178
178
|
thread.join
|
179
179
|
end
|
180
|
-
|
181
|
-
end
|
180
|
+
|
181
|
+
end
|
182
|
+
|
182
183
|
end
|
183
184
|
end
|
184
185
|
|
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.1.
|
4
|
+
version: 1.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
uOVdk9PsRKwYmaspqeSKWj4fpSd1mCtTjPlLbGQC/8sULVs7AlYVp2pAKbkXkbTn
|
32
32
|
EkYZt+RIxgYhhw==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2014-11-
|
34
|
+
date: 2014-11-12 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,2 @@
|
|
1
|
-
|
1
|
+
~�9���:Fǔ�6J���w���!-dc���E(�z{.�|�� ��w��
|
2
|
+
AQ�&O䤶]CNr���6F���;��!m�G�y�.� �g]�Z��d�uZ%�WPs.��InD)M�˖�BJ�(8��m�Ȇ�&�Ǣ����z��VE�$�]�21��O�0�����Gz���pvGm����{i��rO
|