sps-pub 0.4.0 → 0.4.1
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/sps-pub.rb +3 -3
- data.tar.gz.sig +0 -0
- metadata +18 -19
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: efa4841862710fef6c82821d559abb32eefaf6bf
|
4
|
+
data.tar.gz: 2dc0d0afa3fc05b283a4e73fd058909947da730b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13cf783375643cd757f40cacc3dfb19bcc1daf0ee2ddfe59f50729659f57e407723259cd050bfbaf8d85f2285ee888b797d4e248ab1678c4298aa8cede1554a8
|
7
|
+
data.tar.gz: 0b60d4f5e4ec377506b9425523c3fdafdda0706bad801950b33190839016d683cbd2e7f5c3453436d72e031f8d5f9e9e6882c0a8e7bf74f15a2a6d8fa0c7cfb9
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/sps-pub.rb
CHANGED
@@ -17,9 +17,9 @@ class SPSPub
|
|
17
17
|
|
18
18
|
alias publish notice
|
19
19
|
|
20
|
-
def self.notice(s,
|
20
|
+
def self.notice(s, host='sps', address: host, port: '59000')
|
21
21
|
|
22
|
-
client = Net::WS.new "ws://%s:%s/" % [
|
22
|
+
client = Net::WS.new "ws://%s:%s/" % [host, port]
|
23
23
|
client.send s
|
24
24
|
end
|
25
25
|
|
@@ -31,4 +31,4 @@ class SPSPub
|
|
31
31
|
self.notice(s, address: 'sps', port: '59000')
|
32
32
|
end
|
33
33
|
|
34
|
-
end
|
34
|
+
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sps-pub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -12,26 +12,26 @@ cert_chain:
|
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
13
|
MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
|
14
14
|
YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
|
15
|
-
|
15
|
+
8ixkARkWAmV1MB4XDTE1MTAwNzEzMzI0OVoXDTE2MTAwNjEzMzI0OVowSDESMBAG
|
16
16
|
A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
|
17
17
|
EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
18
|
+
ggEBAL/8oW7gw/msKvP9O2TjDuIckWnmyUKQ0LXkv7FxQS5fNIHyd/3FUOKWA1zC
|
19
|
+
POR/frVRO4yNYXGVdpjj2QptNRf0rwNWJhczmbJETBhNR3Sb779PMqR+exfNoMD1
|
20
|
+
6Ntx6mRWToJPVsT8SLqOHVdkDr0mp3oTMlS9f0zc/WLPiActRpI/+7Q7UP2tH/st
|
21
|
+
QFLU0YHD5TAgchJf71lcmiMvHWxZINvI4EIA0UcLktS72MjkHUlJwTlZPo46APgh
|
22
|
+
uaZiHU0TFs32XnjhFDjRAvUr9MiCBPwgciA1SfQW4eOD6qrfyr13Cjn5N+q9eIcQ
|
23
|
+
VUoVJFGXryX39uniPCN+BjPT1hECAwEAAaOBijCBhzAJBgNVHRMEAjAAMAsGA1Ud
|
24
|
+
DwQEAwIEsDAdBgNVHQ4EFgQUslNnLIe4yRfReh2P5cFj4wH/H8EwJgYDVR0RBB8w
|
25
25
|
HYEbZ2VtbWFzdGVyQGphbWVzcm9iZXJ0c29uLmV1MCYGA1UdEgQfMB2BG2dlbW1h
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
26
|
+
c3RlckBqYW1lc3JvYmVydHNvbi5ldTANBgkqhkiG9w0BAQUFAAOCAQEATR/2w+MB
|
27
|
+
liz+U5jChwn/7raY7GLBdkBuER4oNTmptyzAd+xRXu7359y36gFw5O+7v9edgQ8O
|
28
|
+
sD0ZGX3O0oAKEA3gldfJDhZVj0waa5J9/DuWy/cLaW+KaQC3xZwrErdFU3grhlbU
|
29
|
+
GOIgvrPseKXd4UIZIsPtqNHeUuOJ1lMfTYO3luFKT0DS2NcSMUEUiyXWuGeUTLAo
|
30
|
+
HadVR8bLa0vavjH4qgn3AwjZTl6dwUs5aoYe9i2Z+JyZqPluYT1vz5ygblGPWIKA
|
31
|
+
lT+QKN4YL+1lu8YyhGAGcseECGWVFHn6ID0opcTHsJRrpNxb/+ddlPzkT4H+hfuP
|
32
|
+
TE5MmWrlPEJ9zA==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
34
|
+
date: 2015-10-07 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: simpleblockingwebsocketclient
|
@@ -80,9 +80,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
version: '0'
|
81
81
|
requirements: []
|
82
82
|
rubyforge_project:
|
83
|
-
rubygems_version: 2.
|
83
|
+
rubygems_version: 2.4.8
|
84
84
|
signing_key:
|
85
85
|
specification_version: 4
|
86
86
|
summary: A SimplePubSub client for publishing messages in 1 line of code.
|
87
87
|
test_files: []
|
88
|
-
has_rdoc:
|
metadata.gz.sig
CHANGED
Binary file
|