Merge pull request #3 from hoxworth/master

Update fork.
Remove the trailing # when passing uri to open()
Added tests for definitions using relative $ref.
Add a specific minimum ruby version to the spec
Resolve merge conflict in json-schema.gemspec
Add 1.8 to travis
Revert "Add 1.8 to travis"

This reverts commit 9ff2f5067a798e0a6da18526f0965f5515456d94.
Enable draft4/dependecies test
Implement failing testcase for validating a schema from another directory
Update metaschema location to find resources from gem root

Conflicts:
	lib/json-schema/schema/validator.rb
metaschema: use path relative to __FILE__, not gem_dir
Store static regexps in constants for re-use
Added new travis test runs that use yajl, multi_json and uuidtools

We have a few extra code paths that will only be activated if we use
one of these gems. Adding them to the build matrix should cover those
cases with all the tests in the regular test suite.
Made sure gemfiles point to the gemspec in the root directory

Previously travis was failing because it was looking for a gemspec in
the gemfiles directory
Made sure strings in .travis.yml are quoted the same way
Reduced the build matrix slightly by only testing the latest release of
ruby 2.1
Made some minor tweaks to the common test suite to make it easier to
understand failures
Made yajl raise an exception if it fails to parse

By default it returns nil, but unfortunately json-schema expects failure
to result in an exception. If nil is returned it's treated as a valid
result and is used. In the case of initialize_data this is a problem
because it overwrites the data passed in with nil
Restricted travis to only run all combinations of optional gems on the
latest version of ruby

Should make the build faster
Merge pull request #153 from pd/draft4-dependencies

Enable draft4/dependencies test