opqr 0.1.4 → 0.1.5

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
  SHA256:
3
- metadata.gz: d2801c6161e2440277356456195199bc30ffe411f7b46650afb246d0f0b3ebdf
4
- data.tar.gz: 657a5c3edbc0efaad67eba72a3c3cc0fe26233f64c792f20b3fd210fa5651ecb
3
+ metadata.gz: ba5b69063dbe0f858c408ecba30b536cd7c40e63a46175b468b3a53e016d65e6
4
+ data.tar.gz: 49c6eb80347d14ce18b9f957602490a7acfea5183beb149f441752c3a2b89ffe
5
5
  SHA512:
6
- metadata.gz: 19b67cd2247ff4d846decab98079dce9a46cc5e2aa3d0cef855673267b28542d1a5a247520177fa73f43e57e002e0a649c67b2f9b247cb7e502294e40452445b
7
- data.tar.gz: 775a5018337cf7845fb23d2fe5b2e82ec778f4feb917d90cb64acaa96fba43746fe2d39275904a2ab30f07b70861d9ba0db9e1b150c1fae61b4207124252e6b6
6
+ metadata.gz: 12724d9fd21ab3461bd3e498df190afd560a4cdc0fbc9f6c86c03c1bc763967557689b0f9fff4fe7104786e8115c48cd35372db973cadd25568253477271d906
7
+ data.tar.gz: e168568ec77982709911d0d9924ba58e82d7e85c4e45605a19c1dc714a9d5085f8d5e362f21fbfdd2831dc799f7e3c43b28909c8088788d73a1b48c1737498ed
data/lib/opqr/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Opqr
5
- VERSION = "0.1.4"
5
+ VERSION = "0.1.5"
6
6
  end
data/lib/opqr/wsserver.rb CHANGED
@@ -10,7 +10,7 @@ module OPQ
10
10
  end
11
11
  def start
12
12
  EM.run {
13
- ws = Faye::WebSocket::Client.new('ws://'+$api_url+':'+$http_port+'/ws')
13
+ ws = Faye::WebSocket::Client.new('ws://'+$api_url.to_s+':'+$http_port.to_s+'/ws')
14
14
  ws.on :open do |event|
15
15
  puts "[WS] 连接已建立"
16
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opqr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - intchensc