simplepubsub 1.1.8 → 1.1.10

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4bfaf4c5bef6a398e0240af74059d97a7840f301
4
- data.tar.gz: 0c0c433c58dc8d8707468ed2da07a0fcf3fc283f
3
+ metadata.gz: 1c0f28e25d57c81e3735c484904455a934eca706
4
+ data.tar.gz: d0ae4aa1a19efcfe0b335c7ca02591bf2c67ce6f
5
5
  SHA512:
6
- metadata.gz: 3cbdb641a694a5835c38996f2cebd819b78e32cd05ba51595ee4ae4030439d9786cf7318c6c638e109d94ecfcde664683ada521d85f2884bebce91eff4fb4bc8
7
- data.tar.gz: c5c980f492a73c9d5417f74d0a94499ceaf3a50837984dfe1b996854299b032429fcac8a0e5db5047f7717765ff4fd8f001f49d70daedcac76d6fee6e7e0379e
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: '59000', auto_retry: true, &connect_blk)
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.8
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-08 00:00:00.000000000 Z
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
- XA:��_^�E�0 N��=Y��f��f�蠂˝�1�1��6yhV�� ����F��5)��������qz�Ǹ��H�?��}VQH�I�py:��������\h�P[�i�C�`�ʂ���@��Ϧ�B�Oi��s�(i[�����6�#�iZ�мG@�-������d��]i��owU�'לAo`s�����9����_ �CSu���hr��"?����>Ǽ��:��b�y������B14b?�T&�p�\>�J
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