websocket-client-simple 0.2.0 → 0.2.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: 55688e16522e47832ad30b817519536685ff275e
4
- data.tar.gz: 7b7e37ba6c26e4b855072ce7983d30855b835a8a
3
+ metadata.gz: 41d96bb780744bc9b24e6d9d906ec304a9512da0
4
+ data.tar.gz: e75d9bb7d3e260404672b529bc66b949e2ed85ad
5
5
  SHA512:
6
- metadata.gz: ef90ae275aaf760c9ec85049ff07ec636cd0cf219cc037f0d945adc7ebb3b9621df04263e229e7b70ced6617e9fab037d259ae34035e74b210ae2b0498e2234d
7
- data.tar.gz: f68f2fd5dd689582f06f758569f71a9f09a69e23655aeb86d974a68cc77bf79d6e9bea83e7d996c994d26c59536220d5562efee6d63c46589a0e042f3992d7cf
6
+ metadata.gz: 6645e615fe8583fe8858a8904eb69e51621fae5a1341b12902084fec49321c44a5904907b68e68190638fbf4bce8783504a68f94a9570d5b1c7b668a5c40dd19
7
+ data.tar.gz: 9eec607a7ebefd55a4ab0d70cc8e4bdcefbcddf49a82a6e681851ec830016db3ae20110b208347119cf01e78674abfa37f62efd50f0d714f5238d75370804f9d
data/.travis.yml CHANGED
@@ -1,4 +1,7 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.3
4
- - 2.0.0
3
+ - '2.0.0'
4
+ - '2.1.2'
5
+ notifications:
6
+ slack:
7
+ secure: avBo0DyucPM8qK2F2qNT5yirZJNcXWfY9d4QKxZLfOa4aQZJ6y/x78Guo8fki/8ZLNnud+rsty3/QkPxBi3YUWcyIuCXMEcuYc8BWOjL+oD37DPgJxGg6ANKxuMotZMUzZweplkd/KgafugOHr7fsPt5UwX2ZYrZr+ksuemEoxs=
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.2.1 2014-10-19
2
+
3
+ * bugfix socket reading
4
+
1
5
  === 0.2.0 2014-06-07
2
6
 
3
7
  * SSL support with wss:// and https:// scheme
@@ -31,7 +31,10 @@ module WebSocket
31
31
  @thread = Thread.new do
32
32
  while !@closed do
33
33
  begin
34
- next unless recv_data = @socket.getc
34
+ unless recv_data = @socket.getc
35
+ sleep 1
36
+ next
37
+ end
35
38
  unless @handshaked
36
39
  @handshake << recv_data
37
40
  if @handshake.finished?
@@ -1,7 +1,7 @@
1
1
  module WebSocket
2
2
  module Client
3
3
  module Simple
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: websocket-client-simple
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sho Hashimoto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-07 00:00:00.000000000 Z
11
+ date: 2014-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -152,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
152
152
  version: '0'
153
153
  requirements: []
154
154
  rubyforge_project:
155
- rubygems_version: 2.0.14
155
+ rubygems_version: 2.2.2
156
156
  signing_key:
157
157
  specification_version: 4
158
158
  summary: Simple WebSocket Client for Ruby