em-simple_telnet 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/em-simple_telnet.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a3a87aad1b79cbd0d9d345286f057f9645b762ed
4
- data.tar.gz: 1afc5e5953809b6ba526672a07ad778b600419dd
3
+ metadata.gz: 6eecc874ba8de0fa9887693d979872ae36afd56e
4
+ data.tar.gz: 279a6a84e2073af9da310ca56bc01d45a71ef17a
5
5
  SHA512:
6
- metadata.gz: 43f09ceba50d39a511a8a800b9a143bc16b42b504a4f327ad4a5aa744e5d91587df422dad994f579f60111be7db8ba7d4146f99affe6f25d1f95be5d28556e1a
7
- data.tar.gz: 45480727c86fc53583f24f96112b6f7d3cf02c79552ba5abdf9f8528c317d29c7f59a150dc287db4925d8d85e5b83a2d93efdfa68b73cc45724c5046bcc21dd9
6
+ metadata.gz: ee41aa50efbb6104ade671e9c56c48a3fd94232a97ff96e8e03e2f114575b6ff20d1e89d1c5c6515721b69a6adcc7009e28373c260cd6fcedbd3f3ca77211574
7
+ data.tar.gz: 1ec323a2a4a9cdf82e6997751f77924f07049465b359a1511800c83c9329c505d91dc9fb5c91989496bcf018462cea01544b6c7f2465ae8b7ae72244a0ea13f1
@@ -743,7 +743,7 @@ class Protocols::SimpleTelnet < Connection
743
743
  yield pause_and_wait_for_result while true
744
744
  end
745
745
  ensure
746
- self.connection_state = :connected
746
+ self.connection_state = :connected if !closed?
747
747
  end
748
748
 
749
749
  # Passes argument to #send_data.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: em-simple_telnet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrik Wenger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-30 00:00:00.000000000 Z
11
+ date: 2013-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eventmachine