rubyspec/rubyspec — pull request #91 by Monty (2011-11-29 22:45:01+00:00)
Title: Handle IPv6 hosts in FTP specs

Net::FTP specs on an IPv6 host were getting "invalid portName argument" because the requested port number was 0, e.g.
host = ::1.160.107
port = 0

On IPv6 machines, localhost is ::1 rather than 127.0.0.1. On an IPv4 machine you get the more familiar
host = 127.0.0.1
port = 64650

This change to the fixture fixes 112 failing Net::FTP specs -- on MagLev, but this should not be MagLev specific and it will not change behavior on IPv4 hosts.