Add Gemfile and ignore Gemfile.lock.
fix oneOf attribute logic
force oneOf to use exceptions to properly count validation errors.

I noticed that schema.validate wasn't returning true/false consistently
when a validation failed.  It doesn't seem the contract of the
JSON::Schema#validate method is to return true/false.
JSON::Schema#validate just defers to JSON::Schema::Validator#validate
which always returns the data as opposed to some true/false value.
whitespace fixes
Step toward working on windows

Without this commit, windows code which uses the URI::Generic
implementation to support file:// URIs is broken if
json-schema is require'd.  This commit simply checks if running
on windows, and if so, skips the step of setting the host arg to
an empty string.
Fixed fragement resolution.

Test if fragment is a JSON:Schema instance
Make sure to return JSON::Schema from schema_from_fragment()
Moved test_fragment_resolution.rb to 'test' directory
Allow list option to be used with fragments.
Make sure the validators load in the correct order.
Improved date-time regex to now check if there is zero or one of : in timezone
Added tests in test_jsonschema_draft4 to test new regex
Removed test in test_jsonschema_draft3.rb as it will no longer fail to validate
Updated version to 2.1.4
Revert "Updated version to 2.1.4"

This reverts commit b0bcb8dd6bbb5f148a787e47aba5361c2ba50fd0.
Updated test_jsonschema_draft4.rb tests as they were incorrect and in the wrong position
Added removed tests from test_jsonschema_draft3.rb back in and updated to pass
Merge pull request #2 from apsoto/master

fix oneOf attribute logic
In `allOf`, ensure failures in referenced schemas are propagated.

Fixes #86
Correct test name
Merge pull request #68 from ryotarai/add-gemfile

Add Gemfile and ignore Gemfile.lock.
Merge pull request #72 from kylog/dont-break-file-scheme-with-unc-on-windows

Dont break file scheme with unc on windows