vision_mate 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,8 +15,8 @@ module VisionMate
15
15
  if host.blank? || port.blank?
16
16
  raise BadHostNameOrPort, "No host or port specified for Telnet connection"
17
17
  end
18
- @telnet_connection ||= verified_connection host, port, telnet_class
19
- new(@telnet_connection)
18
+ telnet_connection = verified_connection host, port, telnet_class
19
+ new(telnet_connection)
20
20
  rescue Net::OpenTimeout, Timeout::Error
21
21
  raise CouldNotConnect, "Failed to connect to #{host}:#{port}"
22
22
  rescue SocketError
@@ -1,3 +1,3 @@
1
1
  module VisionMate
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vision_mate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -142,7 +142,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
142
142
  version: '0'
143
143
  segments:
144
144
  - 0
145
- hash: -2689532409214660191
145
+ hash: -4609262510918263074
146
146
  required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  none: false
148
148
  requirements:
@@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  version: '0'
152
152
  segments:
153
153
  - 0
154
- hash: -2689532409214660191
154
+ hash: -4609262510918263074
155
155
  requirements: []
156
156
  rubyforge_project:
157
157
  rubygems_version: 1.8.23