Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/voxpupuli/json-schema
Ruby JSON Schema Validator
https://github.com/voxpupuli/json-schema
This reverts commit 865d14286c82869ddfb5a6e6b3e50fc36c866484.
Exposed a test that only fails wh...
415494b11644484ccd2ea0b60db89d52fdf6f1de authored about 10 years ago
I'm not sure how well this will work, especially given it's incompatible
with 1.8. But AFAIK I c...
553a4ce6dfe41c44859c448025ced4bc1db40a93 authored about 10 years ago
ed2cf702a20592b06a0f36de10cf1faa011f54bf authored about 10 years ago
Only stringify schema once
37b6334b690935971d8db718b83704d893e4cd4f authored about 10 years ago2fda3b70a004067612bf1b79efb064e1885795e2 authored about 10 years ago
Prior to this change, a JSON object validating against `oneOf` would be mutated by each subschem...
c63de3db797076b563b4a9c2ead2e75165d76bec authored about 10 years agoPrior to this change, a JSON object validating against `anyOf` would be mutated by each subschem...
cd6da36f946ff2a7823538027f29b95b26788a88 authored about 10 years agoec64c9392e9f964ce230fa473cd42df3e7220515 authored about 10 years ago
General cleanup, mostly focused on attributes/*
4ca80f048116c2c96aff6e8312d9d823fc6d3e57 authored about 10 years agoRefactor ref schema URI construction.
9abc3a384e4bb8d7e92832d8b368d700829d88cb authored about 10 years agoUse RFC 2606 reserved invalid DNS name in tests.
dec323310594a480cfb8d4e08f173cb22c12f021 authored about 10 years ago
This refactors JSON::Validator#load_ref_schema to not implement a lot
of logic that Pathname and...
This test used a DNS name which, while currently not existing, is not
actually reserved. This ca...
f4f6ef917deabf3ee257a1ddc9c30afb17edb80c authored about 10 years ago
6a6fea28f4c06b90903f63f78dee4cb13a774735 authored about 10 years ago
f23f39b92961674c81e39eb7375848a71d66a2e6 authored about 10 years ago
dd81ad844f17c3737fe4fa0e9d4524b84e955b13 authored about 10 years ago
The code in `limit.rb` is a bit insane and over-abstract now, but I'm
trying to keep the same cl...
4c148a503319ebba63a5409b472925c3e0a1ca14 authored about 10 years ago
Mostly extractions to local variables or minor unnesting.
0c068afe8a92f4f79033dc085ba11db25d0c740f authored about 10 years ago2266a322cabac6e581c5a299d61052addf41719c authored about 10 years ago
118d9959cd2455fd9d6d4266ed712fb0a194b8d6 authored about 10 years ago
8da78f01409b97625252cf3bbc59ad14efa5910f authored about 10 years ago
Many/most began with a guard against the data type; this just lessens
some of the rightward drif...
93d584880782ee40cad8b8fbc5ec46bd0d838068 authored about 10 years ago
Add some test helpers for common patterns
fef4526cef50367dabe8c3b3d909c01c86d8604b authored about 10 years agodafdfd6d826aaf1933a3026d52c1900ac9413fa6 authored about 10 years ago
rubygems has threadsafety issues which rubinius exposes; this can lead
to corrupted gems during ...
31f6fafde6f9a86e0b9d437f94ba139baa943034 authored about 10 years ago
We were previously re-registering the same request stubs, but never
clearing them.
c266e55f702eb420662a4ed3797168e83a7c6b12 authored about 10 years ago
I originally also put `test_format_datetime` into the base shared format
tests, but our draft4 v...
2ce5b0571990868c18028cc42cc3ced663851294 authored about 10 years ago
The names were getting pretty unwieldy, and were about to get even
crazier for the extracted str...
a871ab7e1eb536bc035c3bf7fe738e8cc5180436 authored about 10 years ago
de44eb5042297874e02af4570c92feaa16271346 authored about 10 years ago
6a7f24a98f438f0c849cf252f33ca09b0d8a3af5 authored about 10 years ago
2563b62ce439f1078b669e0cb7c5e48121f9c34f authored about 10 years ago
This required only a few changes:
1. `assert_nothing_raised` has been removed; *every* test is ...
97c700460ba0bf2ec704525fddc674c243077874 authored about 10 years ago20d97f9ff3847e133917172882e41c11cc3b026f authored about 10 years ago
575fc92aad1af690ad7ab349971f3cec365b18b4 authored about 10 years ago
7c73b74df9e5bfd4528258887dc8595dcae21b93 authored about 10 years ago
1016eddaf3739e39056315611e72353578cd8f85 authored about 10 years ago
6522a8e2fcb45a593596c6c1b1cbd7e0ebf712ba authored about 10 years ago
01a5c2f690aba2e57a59a5c0de7b15e00347b13c authored about 10 years ago
f5fcf7c35efa50e7b9f5541718d80db895fbda35 authored about 10 years ago
f69e22b7acb3203298b9e75787a56ca8c6ee9e72 authored about 10 years ago
Including partial conversion of the tests to using it in those cases
where it was a trivial emac...
9c4b942a8be32ca3dd3a416481e497c3fabe5dd5 authored about 10 years ago
99e33d4c09fb1fbc5ef3ad0f2d72dd2d189a6c17 authored about 10 years ago
Added some tests around file uris
90b40eb401ca437a84959eda9a0372d46f7e8277 authored about 10 years agoFix draft3 `disallow` validation
0f3b2c5354dd4b805830c9c28ee32413e5bba8aa authored about 10 years agoEnable refremote specs
6f16522618d7fdaeed4a82b1e49c10a06a074dd7 authored about 10 years agoFix for relative ref with fragment identifier on Windows
e20175d21480106bd4beb79f4bb4083b5a041bd0 authored about 10 years ago8bb203d6ee85253245638e84eef5edcf4a1f360f authored about 10 years ago
e2a5107b44f4506a44a762ea0c73811b8273423c authored about 10 years ago
879a8a1fdbfdfde8bace7fbcc8f1923def34cc8b authored about 10 years ago
1fdf18a5b47c19b0143bbe3d94a13de2d21ce15f authored about 10 years ago
Extend common-test-suite to ignore individual test cases
2823f556c8e7d9c4409bd731940deeb07bde0d4a authored about 10 years agofcded3376ef2b680de4c9765348a5185ddfa6b67 authored about 10 years ago
5063d208f284bf54e7213396e6ec9eed64fc1bf1 authored about 10 years ago
I was intrigued by how this works, and had no idea if it was already
being tested (it is, implic...
Removed multijson license
d4ae915f8d7d64414d6b5ae32ab7bad7c817af3c authored about 10 years ago7015229461176ef2654deb8e87aa16c1d51e2678 authored about 10 years ago
Add mailing list and IRC channel
8dd43296071ac6b5e49db46de7a7a8ece3f6fedc authored about 10 years ago5013b81284e220f32b1e14326bfc1db8a50e857b authored about 10 years ago
b7669c5c7c5712f9a485a756f859e4176f064ee2 authored about 10 years ago
Replaced #add_indifferent_access with #stringify
21be8b936830159fabdfb12caf42696f60684386 authored about 10 years ago4e665f3544f64824cde7fa473d147a85a194d376 authored about 10 years ago
Add ruby 1.8 to travis
b5e9dff991f41517dc9a5944bca170727a975ba8 authored about 10 years agovalues added during validation, rather than replacing completely
This is a fix so that the exist...
e96b34fc2af06b3fada8580859cc02bf91d812ce authored about 10 years agoRemoves the duplication
f0999d160b857ecd5e2b2e2864405ae4825d446d authored about 10 years ago0ce59db629b0d27a64b08a956efeb733bdacfdcc authored about 10 years ago
No longer used, because we use stringify instead of add_indifferent_access
5a1ebc24778819b73cb99437194cd36dd40bd2a4 authored about 10 years agoThis is a fix for #96
Previously, add_indifferent_access would modify the data and schema
hashe...
As @pd pointed out, putting conditional flags in the gemspec only has an
affect when packaging t...
At least we have mri 1.8 in the build matrix. Better than nothing
a0368f08156b1669de54ba41b70a40e93073adaa authored about 10 years ago
There are many failures due to ruby 1.8 hashes being unordered and
encodings being different to ...
There are two good reasons to do this:
1. skip isn't supported in ruby 1.8
2. much less verbose...
For ruby 1.8 compatibility
07e85f0edf4efc88478b7da7b871ed16d8b52894 authored about 10 years ago963db7947ad79fd52fbaf7654eb647ad1740c015 authored about 10 years ago
8099a91b4e7ac8f1873cc36f6298f400dc0f2ea1 authored about 10 years ago
Wasn't there before, but we want to support ruby 1.8
eb6597b8967cf8ccd6949f2049b960393d529d09 authored about 10 years agoFix metaschema access
e781e396ba0c0c5da67edc746748c558a62b2365 authored about 10 years agoStore static regexps in constants for re-use
d00198c5b692f2b25828b95c80161f68db35d69d authored about 10 years agoAdd yajl, multi_json and uuidtools to travis
3d2632d6f0e462591e8cde0d0180d3f30b47cde8 authored about 10 years agoAdd 1.8.7 minimum ruby version to the spec
99c3c6f3fe5dcbef1af9d907d7c1ac99c14fda69 authored about 10 years agof99f60d4b583df2621c212de3bd2854a0b1a593f authored about 10 years ago
Enable draft4/dependencies test
8a068c09893e6633756c7acd7648026123ad75be authored about 10 years agolatest version of ruby
Should make the build faster
7f5ed1c0e0695b7a858a0b15445660798248bf6f authored about 10 years ago
By default it returns nil, but unfortunately json-schema expects failure
to result in an excepti...
understand failures
04426a0ffaf29a7c88f4840027334508495b1346 authored about 10 years agoruby 2.1
bb0eb0f01d7e22bae4a9e53c93aee71de887ef97 authored about 10 years ago6f3fe0a7c2cab96bdc1cde3f1dedf9e2f00ccea1 authored about 10 years ago
Previously travis was failing because it was looking for a gemspec in
the gemfiles directory
We have a few extra code paths that will only be activated if we use
one of these gems. Adding t...
771e2d3d549702b7118c851037557fde1430be0d authored about 10 years ago
99278f1c38fe8e2ea9a9b52334cea152c8859499 authored about 10 years ago
Conflicts:
lib/json-schema/schema/validator.rb