hoxworth/json-schema — pull request #176 by gabrielg (2014-11-05 23:14:40+00:00)
Title: Use RFC 2606 reserved invalid DNS name in tests.

This test used a DNS name which, while currently not existing, is not actually reserved. This can manifest as a test failure on poorly configured (like Time Warner Cable) networks. This changes said DNS name to one using a reserved invalid top level name as specified in RFC 2606.

Here's what a failure looks like on TWC DNS because of their inane NXDOMAIN hijacking to serve ads:

```
1) Failure:
BadSchemaRefTest#test_bad_host_ref [/Users/ggironda/Repositories/json-schema/test/test_bad_schema_ref.rb:36]:
[SocketError, OpenURI::HTTPError] exception expected, not
Class:
Message: <"757: unexpected token at '

'">
---Backtrace---
/usr/local/opt/rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/json/common.rb:155:in `parse'
/usr/local/opt/rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/json/common.rb:155:in `parse'
/Users/ggironda/Repositories/json-schema/lib/json-schema/validator.rb:415:in `parse'
/Users/ggironda/Repositories/json-schema/lib/json-schema/validator.rb:148:in `load_ref_schema'
```