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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 04615555f20e4174f2ddd00e7550be571c746f45
4
- data.tar.gz: 822730ddf6fa0d30e79afeb6dcc5e6d4e3941b2b
3
+ metadata.gz: efa4841862710fef6c82821d559abb32eefaf6bf
4
+ data.tar.gz: 2dc0d0afa3fc05b283a4e73fd058909947da730b
5
5
  SHA512:
6
- metadata.gz: bf7823194f92743106dd7b89939d9a181622ed58aa176715fdfc64517f1bb8574fcf46739399400721f6346783f6322ae002d0b45ce56f81a916e2330dfe7d51
7
- data.tar.gz: 8bc253ce9538f60401d48b3fbc9f3d566542ee9464cee8707813484db2ff2286d851ea80abf8e13d39498f864fd0e52a0ab75c5d2e7031da01a7adead3a40264
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, address: 'sps', port: '59000')
20
+ def self.notice(s, host='sps', address: host, port: '59000')
21
21
 
22
- client = Net::WS.new "ws://%s:%s/" % [address, port]
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.0
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
- 8ixkARkWAmV1MB4XDTEzMTAxOTE0MTkzMFoXDTE0MTAxOTE0MTkzMFowSDESMBAG
15
+ 8ixkARkWAmV1MB4XDTE1MTAwNzEzMzI0OVoXDTE2MTAwNjEzMzI0OVowSDESMBAG
16
16
  A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
17
17
  EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
18
- ggEBANRRsbBhl/rL/jUQhdKHeSAizrZI9Fseg7+mz9EMBikrIvxcRzRYfdwi8RYJ
19
- +QkRDbRv6Hm1qrU+p98VuNn4ZGlm1GaEuF/ihD2T+QdVd6yTu/XXWvbYf9Fl19/x
20
- OBu83ZI50b+3OFg4NuZmsIqdkQhggZJXhYscD1mbPjcJj5eFzIFfIy+Zrd+HntH6
21
- mowpGodvwMnHTpzk7k0P6cvO8Sb7Y6MuN2JfH95pk4ckEfEGesoqo1gvMMI2D/PR
22
- RIJBgqXiQTQPn8G+hIsFp3X1YBt85Ph5kxny1sX+0I3me6DrWtZVpthDcqb1ShVV
23
- FlNUfwBJFFBGZAwoD15g5/H1srUCAwEAAaOBijCBhzAJBgNVHRMEAjAAMAsGA1Ud
24
- DwQEAwIEsDAdBgNVHQ4EFgQUHwUERVivBb5mrG5F/Ok/RoR643owJgYDVR0RBB8w
18
+ ggEBAL/8oW7gw/msKvP9O2TjDuIckWnm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8O
28
+ sD0ZGX3O0oAKEA3gldfJDhZVj0waa5J9/DuWy/cLaW+KaQC3xZwrErdFU3grhlbU
29
+ GOIgvrPseKXd4UIZIsPtqNHeUuOJ1lMfTYO3luFKT0DS2NcSMUEUiyXWuGeUTLAo
30
+ HadVR8bLa0vavjH4qgn3AwjZTl6dwUs5aoYe9i2Z+JyZqPluYT1vz5ygblGPWIKA
31
+ lT+QKN4YL+1lu8YyhGAGcseECGWVFHn6ID0opcTHsJRrpNxb/+ddlPzkT4H+hfuP
32
+ TE5MmWrlPEJ9zA==
33
33
  -----END CERTIFICATE-----
34
- date: 2014-07-16 00:00:00.000000000 Z
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.2.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