websocket-client 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -113,7 +113,6 @@ module WebSocketClient
113
113
  socket.close
114
114
  break
115
115
  else
116
- msg = ''
117
116
  msg_state = :none
118
117
  end
119
118
  end
@@ -31,7 +31,7 @@ module WebSocketClient
31
31
  break if ( line.strip == '' )
32
32
  end
33
33
 
34
- challenge = @socket.read( 16 )
34
+ challenge = readline( socket ).strip
35
35
 
36
36
  puts "> challenge-response #{challenge}"
37
37
  if ( challenge == solution )
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: websocket-client
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 7
10
- version: 0.1.7
9
+ - 8
10
+ version: 0.1.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - The TorqueBox Team