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

Updated ruby versions for travis

2371b781b725b85fa02c7c2390c289dfeee8be22 authored almost 8 years ago by Iain Beeston <[email protected]>
Added gem version badge to readme

4d667b9a54578b91333aef2dc7e78d3922bdfba0 authored almost 8 years ago by Iain Beeston <[email protected]>
Updated common test suite

383efaab1e20e4327d64d4e3a2b3e3e48e6ba017 authored almost 8 years ago by Iain Beeston <[email protected]>
Added support for the provisional draft6 of json-schema

89fd412d4395b12278bf449e3423a5e817ffe703 authored almost 8 years ago by Iain Beeston <[email protected]>
Added the missing draft3 hyper schema

56fe076bf2f444f099c9a1a0c0f2b0efff3e3199 authored almost 8 years ago by Iain Beeston <[email protected]>
Made sure when custom formats are registered, all schema versions are

automatically included

Previously only drafts1-4 and no custom drafts were included when registe...

37075ced92c42bb9cd3345bbac2f5449662b0626 authored almost 8 years ago by Iain Beeston <[email protected]>
Merge pull request #333 from iainbeeston/cleaner-use-of-class-names

Use self or self.class rather than fully qualified class names

32d29a74908dd1816537045b37cdde0fb5b7f255 authored almost 8 years ago by Iain Beeston <[email protected]>
Merge pull request #362 from iainbeeston/cache-draft-schemas

Load local copy of draft schemas

9917157f9c8d29503c19b0cafd5412a30ec5dd11 authored over 8 years ago by Iain Beeston <[email protected]>
Load local copy of draft schemas

If you refer to a draft schema in a $ref (as the common test suite does)
json-schema will load i...

cdaed9d35fc953553c3764298da7d070cb308e4e authored over 8 years ago by Iain Beeston <[email protected]>
Merge pull request #346 from iainbeeston/simplify-validator-for-methods

Simplified `#validator_for` methods

9d25c9a651e6190c59ccbbab0272b7acd1b0f19d authored over 8 years ago by Iain Beeston <[email protected]>
Simplified `#validator_for` methods

Right now there is:

* `#validator_for`
* `#validator_for_uri`
* `#validator_for_name`
* `#valid...

fd454751019b0526869887ab72dfed7f780a57c6 authored over 8 years ago by Iain Beeston <[email protected]>
Merge pull request #345 from iainbeeston/move-absolutize-ref-uri-to-uri-module

Moved Validator#absolutized_uri and RefAttribute's ref parsing into the URI module

8e47deb90bf0a11ee0c61c99785cb76a031bffd2 authored over 8 years ago by Iain Beeston <[email protected]>
Moved Validator#absolutized_uri and RefAttribute's ref parsing into the URI module

I just noticed that we have this URI processing method in Validator, and
similar code in RefAttr...

eccf80f492462b34afd8ddd6b7e0509231d069b7 authored over 8 years ago by Iain Beeston <[email protected]>
Merge pull request #361 from iainbeeston/clear_uri_cache

Made sure clear_cache also clears the cache of parsed uris

71585320550a98ea2bd262a9b553db241f54852f authored over 8 years ago by Iain Beeston <[email protected]>
Made sure clear_cache also clears the cache of parsed uris

There are two main caches in json-schema. One is for schemas, one is for
parsed uris. Previously...

334edf030f4a781099af6ebb982b5a279e1185b3 authored over 8 years ago by Iain Beeston <[email protected]>
Stopped the additional properties test from using class_eval (#332)

class_eval is dangerous to use, as it injects a string into a class as
ruby code, meaning that ...

ffdbf2d5e4efae15f1355cecbec41e6dbc992d20 authored over 8 years ago by Iain Beeston <[email protected]>
Added simplecov

I've started to use simplecov on json-schema to find gaps in the test
coverage. This might be us...

121eb0d8a4be0590459fd5a45f87c4d31a5eb494 authored over 8 years ago by Iain Beeston <[email protected]>
Use self or self.class rather than fully qualified class names

In validator.rb and schema.rb there are many places where we refer to
the current class explicit...

3ba83d5c3927058f1894559e1b9e56b070efe414 authored over 8 years ago by Iain Beeston <[email protected]>
Bumped version to 2.7.0

9dc5d795f9cac651cb3b42a7c213a253ede9615f authored over 8 years ago by Iain Beeston <[email protected]>
Explicitly disabled warnings in rake

Wasn't working before

7e6e29e5fa083035237bea7c31d008bc37808d54 authored over 8 years ago by Iain Beeston <[email protected]>
Attach URI to Read Error

When getting a `404` or `500` error it was impossible to know which
file was causing the problem...

3f07ef0599c9a0e080840bfd1be04df433b7bbff authored over 8 years ago by Benjamin Falk <[email protected]>
Allowed addressable 2.4+ to work with json-schema (#312)

I've had to change one of the specs because of this. It seems that
addressable now raises an er...

a4856207484fa94ca257cfc84e7c07565fd07032 authored over 8 years ago by Iain Beeston <[email protected]>
Item partial tuples (#348)

* Test for partial tuple validation

* Fix validation of partial tuples

When 'items' is an ...

e5c3a1a95dffcfb27def484677f2760758c5af5f authored over 8 years ago by Joe Faber <[email protected]>
Merge pull request #359 from iainbeeston/use-latest-draft-in-tests

Use latest json-schema draft in tests by default

b16f10caf77b67d90f9f67bbcd9ab1723a29b3af authored over 8 years ago by Iain Beeston <[email protected]>
Use latest json-schema draft in tests by default

Lots of core tests were explicitly using draft-03, which works slightly
differently to the lates...

aebac88105423d47a3bfcedb38a311c4d194b007 authored over 8 years ago by Iain Beeston <[email protected]>
Merge pull request #360 from iainbeeston/allow-property-named-ref

Made it possible to have a property named "$ref"

242e862370fb2134c96d6df733f349abe33a7618 authored over 8 years ago by Jonas Peschla <[email protected]>
Made it possible to have a property named "$ref"

For a few weeks we've had a test from the json-schema common test suite
failing on master. The t...

8416911cd0405e75bb125460d8a93727181adcb8 authored over 8 years ago by Iain Beeston <[email protected]>
Removed rubinius from the build matrix

Seems to have stopped working on travis?

db0429d347eb7c4cd143e5992b6ca430c76536ab authored over 8 years ago by Iain Beeston <[email protected]>
Merge pull request #334 from iainbeeston/fix-caching

Fixed issues with caching

6333f0ca18563c613cca0ae994bbf69fe58a9421 authored over 8 years ago by Iain Beeston <[email protected]>
Validate schemas used in tests

The only bug this brought up was we were testing that `multipleOf`
worked for 0, but the json sc...

80c775df6910e168f697ffd92db8a84eab587529 authored over 8 years ago by Iain Beeston <[email protected]>
Made sure we clear the cache between tests

1d183bf8d15dc6da9685d0c0b9080ac0db4179e3 authored over 8 years ago by Iain Beeston <[email protected]>
Fixed a bug where the clear_cache option wasn't working

The code for this was very confused, it seems that clearing the cache
has been broken at some po...

b4ff557c7481c9934a518f1a1f51ad760d97b27f authored over 8 years ago by Iain Beeston <[email protected]>
Merge pull request #350 from iainbeeston/limit-json-gem-on-ruby-19

Restricted the ruby 1.9 build to json < 2

5d911b9302f538b2ebb1626de2ba583d5d251161 authored over 8 years ago by Jonas Peschla <[email protected]>
Restricted the ruby 1.9 build to json < 2

Version 2.0 of the json gem requires ruby 2+. We should continue
supporting ruby 1.9, but to do ...

cf337081aee74ca713dfb6be1de0da1be38889d1 authored over 8 years ago by Iain Beeston <[email protected]>
Merge pull request #338 from iainbeeston/unify-validate-methods

Made sure all validate methods go through the same call chain

ceae5c8acbb25b11893c1db161ba7ed21f58b1f2 authored over 8 years ago by Iain Beeston <[email protected]>
Merge pull request #340 from iainbeeston/remove-ruby-18

Removed the ruby 1.8 build from travis

7c9547bb19a7085670335c5a1d239edf9c296def authored over 8 years ago by Iain Beeston <[email protected]>
Removed the ruby 1.8 build from travis

Ruby 1.8 support hasn't worked for some time, and we've been ignoring
build failures on travis f...

3912ab6d145d471aab5c168ec98962f1d591588b authored over 8 years ago by Iain Beeston <[email protected]>
Explictly set ruby 2.3.1 on travis

Travis doesn't support 2.3 yet

2fc35df2e90f3bab748b85982708774d7034eb4f authored over 8 years ago by Iain Beeston <[email protected]>
Made sure we use the latest ruby 2.3

eb58a3c95635fbc952399df34474ee33440bafad authored over 8 years ago by Iain Beeston <[email protected]>
Made sure all validate methods go through the same call chain

Right now when a schema is validated, we perform a different call path
depending on which of the...

cc9be807d09beb0c92ab92e3e0bba6570cb64e9a authored over 8 years ago by Iain Beeston <[email protected]>
Merge pull request #290 from iainbeeston/tidy-tests

Tidy up tests

ab96e9a5b0735a86294bf616a3768faee3b401c8 authored over 8 years ago by Iain Beeston <[email protected]>
Moved test-specific classes out of the global namespace

To avoid unintended side-effects

03332fcf86bccb707dc7b67f17ab7b2c1cad9e0e authored over 8 years ago by Iain Beeston <[email protected]>
Moved test_helper.rb into the support directory

fdf3815b4b2965f854677719e033f9ac5514729e authored over 8 years ago by Iain Beeston <[email protected]>
Made sure test filenames match class names

d9661403a9084978ed21fadbaf411db1077c2d0b authored over 8 years ago by Iain Beeston <[email protected]>
Updated common test suite

0e279d9c570d27c9e4c006b5e0be9ee103c30af6 authored over 8 years ago by Iain Beeston <[email protected]>
Bumped version to 2.6.2

96b10fc8e56520e4812068d133818cd652973b7e authored over 8 years ago by Iain Beeston <[email protected]>
Merge pull request #322 from iainbeeston/allow-special-characters-in-refs

Made it possible to have refs that include URI-special characters

a5a45c6638481cd6717a92d6c4cdc9b14054db2a authored over 8 years ago by Iain Beeston <[email protected]>
Made it possible to have refs that include URI-special characters

Turns out that before:

* if you had a ref that included a colon, the text before the colon was
...

b2e4fdef000e4f012036f7e8d36601e73de18dcc authored over 8 years ago by Iain Beeston <[email protected]>
Merge pull request #316 from iainbeeston/clearer-examples

Reformatted the examples to make them easier to read

cc9f4d03fe1ef7a5315bb1720ab31da25ee51d1a authored over 8 years ago by Iain Beeston <[email protected]>
Reformatted the examples to make them easier to read

33b2b05e6cf9235e303f474ca1db962ca670928d authored almost 9 years ago by Iain Beeston <[email protected]>
Corrected build status links in readme

354490f500d2e2567777e4383895b86bc136da9b authored almost 9 years ago by Iain Beeston <[email protected]>
Bumped version to 2.6.1

2ab0331a1b2009e23f7bd1b7206b8c64189f7f4b authored almost 9 years ago by Iain Beeston <[email protected]>
Merge pull request #308 from ScottKbka/master

Update README.md

e16ab7a1d64405b8ac0a8b5567aa8e1398d617dd authored almost 9 years ago by Iain Beeston <[email protected]>
Update README.md

Making it a little easier to read the descriptions of the three validate methods.

5d57af4b346367f97ca2f290d5c9aa2eb35f27fe authored almost 9 years ago by Scott Kobewka <[email protected]>
Added the readme change to CHANGELING.md

f7b542ed8bfdd553ef19f70d000a9e9008c9da57 authored almost 9 years ago by Iain Beeston <[email protected]>
Merge pull request #302 from lencioni/readme

Convert readme to markdown

d600833c6135ffdcb2f4d20aafd3400e1ea9ae64 authored almost 9 years ago by Iain Beeston <[email protected]>
Convert README.textile to markdown and improve format

This started as a straight up automated conversion via pandoc:

pandoc README.textile -o READM...

301c407d169eacb9f066635446f484fbe5a11848 authored almost 9 years ago by Joe Lencioni <[email protected]>
Updated changelog for #293

Forgot to do this in the PR

2414110fc3e553d5d9107cbcc287a0125ab4c4a7 authored almost 9 years ago by Iain Beeston <[email protected]>
Updated changelog for w

dbcf20706fcd0440d0098836e21797a1ad03e538 authored almost 9 years ago by Iain Beeston <[email protected]>
Merge pull request #293 from iainbeeston/ensure-correct-module-for-schema-parse-errors

Made sure we include the module name for SchemaParseErrors

28f0f4936ed9439fef1b1b3b2e73857bc5eed9d0 authored almost 9 years ago by Jonas Peschla <[email protected]>
Made sure we include the module name for SchemaParseErrors

If you pass an unrecognized object for the schema, we should be raising a SchemaParseError, howe...

c3c46a6d63450eefa70c9e0673df2a5be937ae5b authored almost 9 years ago by Iain Beeston <[email protected]>
Bumped version to 2.6.0

597952b0328a1c8a82507528eb9e795a323f995e authored about 9 years ago by Iain Beeston <[email protected]>
Corrected ruby 2.3 build on travis

0dc351088f509939c7be98f0f47ccf5131d5433f authored about 9 years ago by Iain Beeston <[email protected]>
Added ruby 2.3 to the travis build

f4183cfdc4c0edb40f7a467c21ba3164098482ff authored about 9 years ago by Iain Beeston <[email protected]>
Updated common test suite

da77b70e680eee168e0afc37f654bfbd4125d3ed authored about 9 years ago by Iain Beeston <[email protected]>
Merge pull request #285 from iainbeeston/cache-normalized-uri

Redux: speed up JSON::Validator.validate

6a1620e49518e988bae00e3958e5cc53329a02f4 authored about 9 years ago by Iain Beeston <[email protected]>
Merge pull request #286 from teoljungberg/patch-1

Remove ruby warnings

4744d415e752f5a1555bc15e4c4ab91f97e67fae authored about 9 years ago by Iain Beeston <[email protected]>
Remove ruby warnings

For the unused variable `validator`

111f16e70d5ac5a2cf93c6a4b8979fb81243c702 authored about 9 years ago by Teo Ljungberg <[email protected]>
Removed all references to Addressable outside JSON::Util::URI

Hopefully this will make it easier to change in future

6967d993ef9a08b0f19ad011275791c28e6b75e0 authored about 9 years ago by Iain Beeston <[email protected]>
Don't update url fragment if it's already blank or nil

Addressable::URI#fragment= triggers a revalidation of the URL, which is
super slow. Don't do th...

ba169396cd0c99c745be5d39e5a9e0dcd18bc3d0 authored about 9 years ago by Iain Beeston <[email protected]>
Don't use YAML when JSON.dump will do

46abf887c33b5055af749996141a3828be1ec8bd authored about 9 years ago by Michael J. Cohen <[email protected]>
Speed up JSON::Validator.validate

Addressible's URI parsing shows up at the top of the profiler for our use case.

This patch adds...

d89890515290e881d40ce884fcc2182c665809fa authored about 9 years ago by Michael J. Cohen <[email protected]>
Merge pull request #239 from iainbeeston/rescue-explicit-errors

Only rescue errors explicitly

9de134749359b38a66b6756003a8e9c8ba996b09 authored about 9 years ago by Iain Beeston <[email protected]>
Added a changelog

31a620b7e9e6f7b908e989b365d86a94b75a9b66 authored about 9 years ago by Iain Beeston <[email protected]>
Merge pull request #271 from mkonecny/master

Update README.textile to fix schema validation example

d52160eb805da15470838a30af0a51f5348492a4 authored about 9 years ago by Iain Beeston <[email protected]>
Updated common test suite

0d262057ee8fb333cb5a0c295608d1475b0235ba authored about 9 years ago by Iain Beeston <[email protected]>
Merge pull request #278 from jpmckinney/register_format_validator

Test all versions in test_custom_format

d14e51b3b5d2ad7a25f41e9e128f2aac93110f12 authored about 9 years ago by Iain Beeston <[email protected]>
Test all versions in test_custom_format

5b80c538908de4124d512685be8bcd9297515d83 authored about 9 years ago by James McKinney <[email protected]>
Bump version

fa7776dd7eaadd49ec43093ae9fcfbcedf698af1 authored about 9 years ago by Kenny Hoxworth <[email protected]>
Merge pull request #277 from jpmckinney/register_format_validator

register_format_validator on default_validator

3d4f96137fb470070c2e767038e9a58cb5722d85 authored about 9 years ago by Kenny Hoxworth <[email protected]>
Add a schema for default_validator in test_custom_format

8960753d88011afdfc9c0f2b9e4c78cbbb00309b authored about 9 years ago by James McKinney <[email protected]>
register_format_validator on default_validator

84012d872b21d9be584aeba16a3e7fae6c0ff11d authored about 9 years ago by James McKinney <[email protected]>
Demonstrate failure to #register_format_validator on default_validator

21d22e4fd31d42683a535513bc36852fe29580fd authored about 9 years ago by James McKinney <[email protected]>
Update README.textile

710b6f25e68f68b765a4c39f6397e4b4eec95b5d authored about 9 years ago by Martin Konecny <[email protected]>
Merge pull request #252 from JKGisMe/master

Explicitly notes :strict overrides any required properties set in schema

6e88557c3106d5b4f94ee45118f527f803f3a606 authored over 9 years ago by Iain Beeston <[email protected]>
Explicitly notes :strict mode overrides any required properties set in the schema

a71b74f7f25e8bea1f125ce45163da13a9ae372e authored almost 10 years ago by JKGisMe <[email protected]>
Merge pull request #231 from iainbeeston/test-warnings

Enabled warnings when running tests

c8bfd03c07802891f5f20d42acd03d7dbff8a504 authored almost 10 years ago by Iain Beeston <[email protected]>
Specified addressable 2.3.8 as a dev dependency

Older versions raised ruby warnings

6905dcb295a8c1f46594f3fb29914fbb20e2b034 authored almost 10 years ago by Iain Beeston <[email protected]>
Excluded test_helper.rb from the test files being run

c7dd2fcef1c0ffa85b9a21087b80512e388e27d5 authored almost 10 years ago by Iain Beeston <[email protected]>
Enabled warnings when running tests

701a6e27b5c2be94fac3f39da8122ba8d38a2cf3 authored almost 10 years ago by Iain Beeston <[email protected]>
Merge pull request #238 from cerego/master

Allow boolean false as a default property.

8b607ead8834e350316df351661616a54a3870d6 authored almost 10 years ago by Iain Beeston <[email protected]>
Merge pull request #237 from ruby-json-schema/remove-tests-from-package

Removed test files from gemspec

7d63ed19412232eb0faba9afd87e90f70b351054 authored almost 10 years ago by Iain Beeston <[email protected]>
Merge pull request #235 from danieldraper/master

Expose clear_cache option

77b7fb2f2dea34fdbd2238c8d6ce9e3cfd41f332 authored almost 10 years ago by Iain Beeston <[email protected]>
Merge pull request #240 from iainbeeston/fix-ruby-18-on-travis

Use old hash syntax in tests

bc5a2eca9dc8ef37fba8ea76f9036151300e25aa authored almost 10 years ago by Iain Beeston <[email protected]>
Add test for boolean false as a default value

b1fa9c0491201b90c57e90cc4abd4945426e9fda authored almost 10 years ago by Chris Andreae <[email protected]>
Use old hash syntax in tests

Otherwise the ruby 1.8 travis build fails

637f89c74ea00e3aec084b7cb031ca922b00671a authored almost 10 years ago by Iain Beeston <[email protected]>
Only rescue errors explicitly

There are a lot of places in the code where we rescue any error, at all.
That's quite dangerous,...

cb52269d6e0f5ff64888d5f377ae2741cda32694 authored almost 10 years ago by Iain Beeston <[email protected]>
Allow boolean false as a default property.

d5ffdad11b40922abfa64133e8d069d94e6440e0 authored almost 10 years ago by Chris Andreae <[email protected]>
Removed test files from gemspec

Should reduce the size of the gem. The default for new gems (created by bundler) is not to inclu...

6f76498f7f366e78af021484111ba7224f95eaa3 authored almost 10 years ago by Iain Beeston <[email protected]>
clear cache is true by default, changed assignment

fa316dc9d39b922935aed8ec9fa0e4139b724ef5 authored almost 10 years ago by Daniel Draper <[email protected]>