selenium-webdriver 2.22.2.rc1 → 2.22.2.rc2

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.
@@ -20,15 +20,7 @@ module Selenium
20
20
  end
21
21
 
22
22
  def self.free?(port)
23
- Platform.interfaces.each do |host|
24
- begin
25
- TCPServer.new(host, port).close
26
- rescue Errno::EADDRNOTAVAIL
27
- $stderr.puts "could not bind to #{host}:#{port}" if $DEBUG
28
- # ignored - some machines appear unable to bind to e.g. their local IP
29
- end
30
- end
31
-
23
+ Platform.interfaces.each { |host| TCPServer.new(host, port).close }
32
24
  true
33
25
  rescue SocketError, Errno::EADDRINUSE
34
26
  false
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: selenium-webdriver
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 7
5
- version: 2.22.2.rc1
5
+ version: 2.22.2.rc2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jari Bakken