vision_mate 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,7 @@ module VisionMate
12
12
  class Net::ReadTimeout; end
13
13
 
14
14
  def self.connect(host, port, telnet_class = Net::Telnet)
15
- if host.blank? || port.blank?
15
+ if host.to_s.empty? || port.to_s.empty?
16
16
  raise BadHostNameOrPort, "No host or port specified for Telnet connection"
17
17
  end
18
18
  telnet_connection = verified_connection host, port, telnet_class
@@ -1,3 +1,3 @@
1
1
  module VisionMate
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
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.3
4
+ version: 0.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-09-25 00:00:00.000000000 Z
13
+ date: 2014-10-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -142,7 +142,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
142
142
  version: '0'
143
143
  segments:
144
144
  - 0
145
- hash: -4609262510918263074
145
+ hash: -3766623019003069321
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: -4609262510918263074
154
+ hash: -3766623019003069321
155
155
  requirements: []
156
156
  rubyforge_project:
157
157
  rubygems_version: 1.8.23