wifly 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,6 +26,9 @@ module Wifly
26
26
  socket.write(str)
27
27
  expected_return_length = str.length + "\r\n#{prompt}".length + return_len
28
28
  socket.read(expected_return_length).gsub(prompt,'')
29
+ rescue Errno::EPIPE # connection closed on the client end
30
+ initialize_socket
31
+ retry
29
32
  end
30
33
 
31
34
  def close
data/lib/wifly/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Wifly
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wifly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-01 00:00:00.000000000 Z
12
+ date: 2013-07-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -110,18 +110,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
110
110
  - - ! '>='
111
111
  - !ruby/object:Gem::Version
112
112
  version: '0'
113
- segments:
114
- - 0
115
- hash: -499143373
116
113
  required_rubygems_version: !ruby/object:Gem::Requirement
117
114
  none: false
118
115
  requirements:
119
116
  - - ! '>='
120
117
  - !ruby/object:Gem::Version
121
118
  version: '0'
122
- segments:
123
- - 0
124
- hash: -499143373
125
119
  requirements: []
126
120
  rubyforge_project:
127
121
  rubygems_version: 1.8.25