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

Revert "Enable CodeClimate test coverage reports"

This reverts commit 865d14286c82869ddfb5a6e6b3e50fc36c866484.

Exposed a test that only fails wh...

415494b11644484ccd2ea0b60db89d52fdf6f1de authored about 10 years ago
Enable CodeClimate test coverage reports

I'm not sure how well this will work, especially given it's incompatible
with 1.8. But AFAIK I c...

865d14286c82869ddfb5a6e6b3e50fc36c866484 authored about 10 years ago
Update README badge URLs [ci skip]

553a4ce6dfe41c44859c448025ced4bc1db40a93 authored about 10 years ago
gemspec homepage: ruby-json-schema/json-schema

ed2cf702a20592b06a0f36de10cf1faa011f54bf authored about 10 years ago
Merge pull request #180 from treppo/master

Only stringify schema once

37b6334b690935971d8db718b83704d893e4cd4f authored about 10 years ago
Switch to Ruby 1.8 hash syntax in tests

2fda3b70a004067612bf1b79efb064e1885795e2 authored about 10 years ago
Using `oneOf` shouldn’t fill JSON object with defaults of non-matching subschemas

Prior to this change, a JSON object validating against `oneOf` would be mutated by each subschem...

c63de3db797076b563b4a9c2ead2e75165d76bec authored about 10 years ago
Using `anyOf` shouldn’t fill JSON object with defaults of non-matching subschemas

Prior to this change, a JSON object validating against `anyOf` would be mutated by each subschem...

cd6da36f946ff2a7823538027f29b95b26788a88 authored about 10 years ago
Only stringify schema once

ec64c9392e9f964ce230fa473cd42df3e7220515 authored about 10 years ago
Merge pull request #172 from pd/better-climate

General cleanup, mostly focused on attributes/*

4ca80f048116c2c96aff6e8312d9d823fc6d3e57 authored about 10 years ago
Merge pull request #177 from gabrielg/refactor-ref-schema-uri-construction

Refactor ref schema URI construction.

9abc3a384e4bb8d7e92832d8b368d700829d88cb authored about 10 years ago
Merge pull request #176 from gabrielg/master

Use RFC 2606 reserved invalid DNS name in tests.

dec323310594a480cfb8d4e08f173cb22c12f021 authored about 10 years ago
Refactor ref schema URI construction.

This refactors JSON::Validator#load_ref_schema to not implement a lot
of logic that Pathname and...

e7fe965458a42d540dd3a54e08367bbbfc251a41 authored about 10 years ago
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 ca...

ca232618b81d507be790f4848457d43365cc0112 authored about 10 years ago
Simplify conditional in AdditionalItemsAttribute

f4f6ef917deabf3ee257a1ddc9c30afb17edb80c authored about 10 years ago
Remove unused locals and unneeded each_with_index

6a6fea28f4c06b90903f63f78dee4cb13a774735 authored about 10 years ago
Derive DependenciesV4 from Dependencies

f23f39b92961674c81e39eb7375848a71d66a2e6 authored about 10 years ago
Simplify common inner-schema pattern

dd81ad844f17c3737fe4fa0e9d4524b84e955b13 authored about 10 years ago
LimitAttribute: min/max{Items,Props,Length,...}

The code in `limit.rb` is a bit insane and over-abstract now, but I'm
trying to keep the same cl...

6eb63457b688640a8f1cb6822640f1639d732344 authored about 10 years ago
Derive PropertiesV4 from Properties

4c148a503319ebba63a5409b472925c3e0a1ca14 authored about 10 years ago
General attributes/*.rb refactor

Mostly extractions to local variables or minor unnesting.

0c068afe8a92f4f79033dc085ba11db25d0c740f authored about 10 years ago
Reduce flog score for Validator#build_schemas

2266a322cabac6e581c5a299d61052addf41719c authored about 10 years ago
Derive IP{4,6} from parent IPAttribute

118d9959cd2455fd9d6d4266ed712fb0a194b8d6 authored about 10 years ago
Implement multipleOf atop divisibleBy

8da78f01409b97625252cf3bbc59ad14efa5910f authored about 10 years ago
Unnest `Attributes::*.validate` method bodies

Many/most began with a guard against the data type; this just lessens
some of the rightward drif...

bc04d2fa99eeca4aca705bf19695b88b45bec726 authored about 10 years ago
Simplify Attributes::TypeV4.validate

93d584880782ee40cad8b8fbc5ec46bd0d838068 authored about 10 years ago
Merge pull request #168 from pd/test-helpers

Add some test helpers for common patterns

fef4526cef50367dabe8c3b3d909c01c86d8604b authored about 10 years ago
test_file_uri: use minitest + data_fixture_path helper

dafdfd6d826aaf1933a3026d52c1900ac9413fa6 authored about 10 years ago
Force single-job bundle install

rubygems has threadsafety issues which rubinius exposes; this can lead
to corrupted gems during ...

00670e1c90d5a2812d1348a62da038d59b4ea172 authored about 10 years ago
Only skip common format tests we can't pass

31f6fafde6f9a86e0b9d437f94ba139baa943034 authored about 10 years ago
Reset webmock after tests

We were previously re-registering the same request stubs, but never
clearing them.

447bfb22358fc11e929e34e9b52811ac7a3c64b4 authored about 10 years ago
Use minitest gem, not stdlib version

c266e55f702eb420662a4ed3797168e83a7c6b12 authored about 10 years ago
Extract most string format tests

I originally also put `test_format_datetime` into the base shared format
tests, but our draft4 v...

bce79fe77f4513efff7660dae67daa7b80d5c7e0 authored about 10 years ago
Extract multipleOf/divisibleBy tests

2ce5b0571990868c18028cc42cc3ced663851294 authored about 10 years ago
Use module namespaces for shared tests

The names were getting pretty unwieldy, and were about to get even
crazier for the extracted str...

94dc7beaa4aa814ed5ea6a385446771fe04405f0 authored about 10 years ago
Tidy up `format` tests

a871ab7e1eb536bc035c3bf7fe738e8cc5180436 authored about 10 years ago
Extract additionalProperties, patternProperties

de44eb5042297874e02af4570c92feaa16271346 authored about 10 years ago
Extract items, additionalItems tests

6a7f24a98f438f0c849cf252f33ca09b0d8a3af5 authored about 10 years ago
Fix all warnings except `URI.escape` deprecation

2563b62ce439f1078b669e0cb7c5e48121f9c34f authored about 10 years ago
Switch to using MiniTest::Unit

This required only a few changes:

1. `assert_nothing_raised` has been removed; *every* test is ...

97c700460ba0bf2ec704525fddc674c243077874 authored about 10 years ago
Extract uniqueItems test

20d97f9ff3847e133917172882e41c11cc3b026f authored about 10 years ago
Extract min/max items; include directly into DraftN test cases

575fc92aad1af690ad7ab349971f3cec365b18b4 authored about 10 years ago
Rename a shared tests module for consistency

7c73b74df9e5bfd4528258887dc8595dcae21b93 authored about 10 years ago
Extract common string property validation tests

1016eddaf3739e39056315611e72353578cd8f85 authored about 10 years ago
Extract minimum/maximum number validation tests

6522a8e2fcb45a593596c6c1b1cbd7e0ebf712ba authored about 10 years ago
Extract common type validation tests

01a5c2f690aba2e57a59a5c0de7b15e00347b13c authored about 10 years ago
Update new test to use test_helper

f5fcf7c35efa50e7b9f5541718d80db895fbda35 authored about 10 years ago
Use assert/refute valid in TestExtendedSchema

f69e22b7acb3203298b9e75787a56ca8c6ee9e72 authored about 10 years ago
test helpers: assert_valid, refute_valid

Including partial conversion of the tests to using it in those cases
where it was a trivial emac...

380a76e2d1dfefe1e6d892c482cf74c812375cc6 authored about 10 years ago
Fix typo in filename

9c4b942a8be32ca3dd3a416481e497c3fabe5dd5 authored about 10 years ago
require test_helper in all tests

99e33d4c09fb1fbc5ef3ad0f2d72dd2d189a6c17 authored about 10 years ago
Merge pull request #169 from iainbeeston/file_uris

Added some tests around file uris

90b40eb401ca437a84959eda9a0372d46f7e8277 authored about 10 years ago
Merge pull request #165 from pd/draft3-disallow

Fix draft3 `disallow` validation

0f3b2c5354dd4b805830c9c28ee32413e5bba8aa authored about 10 years ago
Merge pull request #164 from pd/enable-refremote-specs

Enable refremote specs

6f16522618d7fdaeed4a82b1e49c10a06a074dd7 authored about 10 years ago
Merge pull request #109 from arcticlcc/chomp

Fix for relative ref with fragment identifier on Windows

e20175d21480106bd4beb79f4bb4083b5a041bd0 authored about 10 years ago
Move webmock dev dependency from Gemfile to gemspec

8bb203d6ee85253245638e84eef5edcf4a1f360f authored about 10 years ago
Use webmock to stub refRemote test endpoints

e2a5107b44f4506a44a762ea0c73811b8273423c authored about 10 years ago
Gemfile: use 1.8 compatible hash syntax

879a8a1fdbfdfde8bace7fbcc8f1923def34cc8b authored about 10 years ago
Fix draft3 `disallow` validation

1fdf18a5b47c19b0143bbe3d94a13de2d21ce15f authored about 10 years ago
Merge pull request #171 from mpalmer/cts-individual-tests

Extend common-test-suite to ignore individual test cases

2823f556c8e7d9c4409bd731940deeb07bde0d4a authored about 10 years ago
Don't skip ignored tests, ignore them entirely

fcded3376ef2b680de4c9765348a5185ddfa6b67 authored about 10 years ago
Extend common-test-suite to ignore individual test cases

5063d208f284bf54e7213396e6ec9eed64fc1bf1 authored about 10 years ago
Added some tests around file uris

I was intrigued by how this works, and had no idea if it was already
being tested (it is, implic...

d941946c1a624c9c95615eb2369476b9679c4f76 authored about 10 years ago
Merge pull request #167 from iainbeeston/remove_multijson_readme

Removed multijson license

d4ae915f8d7d64414d6b5ae32ab7bad7c817af3c authored about 10 years ago
Removed multijson license

7015229461176ef2654deb8e87aa16c1d51e2678 authored about 10 years ago
Merge pull request #166 from hoxworth/new-discussion-venues

Add mailing list and IRC channel

8dd43296071ac6b5e49db46de7a7a8ece3f6fedc authored about 10 years ago
Add mailing list and IRC channel

5013b81284e220f32b1e14326bfc1db8a50e857b authored about 10 years ago
Version 2.4.1

b7669c5c7c5712f9a485a756f859e4176f064ee2 authored about 10 years ago
Merge pull request #142 from iainbeeston/better_handling_of_symbols

Replaced #add_indifferent_access with #stringify

21be8b936830159fabdfb12caf42696f60684386 authored about 10 years ago
Version 2.4.0

4e665f3544f64824cde7fa473d147a85a194d376 authored about 10 years ago
Merge pull request #154 from iainbeeston/ruby_1_8_support

Add ruby 1.8 to travis

b5e9dff991f41517dc9a5944bca170727a975ba8 authored about 10 years ago
Made insert_default supplement the original data structure with any new

values added during validation, rather than replacing completely

This is a fix so that the exist...

e96b34fc2af06b3fada8580859cc02bf91d812ce authored about 10 years ago
Moved the code to clear the cache into an ensure block

Removes the duplication

f0999d160b857ecd5e2b2e2864405ae4825d446d authored about 10 years ago
Removed rogue puts statement

0ce59db629b0d27a64b08a956efeb733bdacfdcc authored about 10 years ago
Removed monkey patching of Hash#default_proc

No longer used, because we use stringify instead of add_indifferent_access

5a1ebc24778819b73cb99437194cd36dd40bd2a4 authored about 10 years ago
Replaced add_indifferent_access with stringify

This is a fix for #96

Previously, add_indifferent_access would modify the data and schema
hashe...

a01c66479894424502098a77167d60e3a6b4f747 authored about 10 years ago
Moved the dependency for the json gem from the gemspec into the Gemfile

As @pd pointed out, putting conditional flags in the gemspec only has an
affect when packaging t...

4d12be3f942514bba63f7693da8c3b578e77ba62 authored about 10 years ago
Removed jruby 1.8 mode from the build matrix because of ruby 1.8 test issues

At least we have mri 1.8 in the build matrix. Better than nothing

a0368f08156b1669de54ba41b70a40e93073adaa authored about 10 years ago
Ignore failures on the ruby 1.8 build

There are many failures due to ruby 1.8 hashes being unordered and
encodings being different to ...

3729c418b37417961a803eba17adb068513ca933 authored about 10 years ago
Stopped using skip for common test suite tests

There are two good reasons to do this:

1. skip isn't supported in ruby 1.8
2. much less verbose...

88f6020eaa4c83ac8741fdb37db6e1eaf41d0b7e authored about 10 years ago
Replaced json-style hashes for spaceship operator hashes

For ruby 1.8 compatibility

07e85f0edf4efc88478b7da7b871ed16d8b52894 authored about 10 years ago
Changed "-> () {}" for "proc {}" so tests will work on ruby 1.8

963db7947ad79fd52fbaf7654eb647ad1740c015 authored about 10 years ago
Added json_gem as a dependency for ruby 1.8 (only)

8099a91b4e7ac8f1873cc36f6298f400dc0f2ea1 authored about 10 years ago
Added ruby 1.8 to .travis

Wasn't there before, but we want to support ruby 1.8

eb6597b8967cf8ccd6949f2049b960393d529d09 authored about 10 years ago
Merge pull request #155 from pd/fix-metaschema-access

Fix metaschema access

e781e396ba0c0c5da67edc746748c558a62b2365 authored about 10 years ago
Merge pull request #156 from pd/constant-regexps

Store static regexps in constants for re-use

d00198c5b692f2b25828b95c80161f68db35d69d authored about 10 years ago
Merge pull request #157 from iainbeeston/test_optional_gems

Add yajl, multi_json and uuidtools to travis

3d2632d6f0e462591e8cde0d0180d3f30b47cde8 authored about 10 years ago
Merge pull request #149 from hoxworth/gemspec-ruby-version

Add 1.8.7 minimum ruby version to the spec

99c3c6f3fe5dcbef1af9d907d7c1ac99c14fda69 authored about 10 years ago
Anchor regexps with \A and \z

f99f60d4b583df2621c212de3bd2854a0b1a593f authored about 10 years ago
Merge pull request #153 from pd/draft4-dependencies

Enable draft4/dependencies test

8a068c09893e6633756c7acd7648026123ad75be authored about 10 years ago
Restricted travis to only run all combinations of optional gems on the

latest version of ruby

Should make the build faster

7f5ed1c0e0695b7a858a0b15445660798248bf6f authored about 10 years ago
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 excepti...

9ec001d1f3f75bd95790627ef7a508a01170b7a5 authored about 10 years ago
Made some minor tweaks to the common test suite to make it easier to

understand failures

04426a0ffaf29a7c88f4840027334508495b1346 authored about 10 years ago
Reduced the build matrix slightly by only testing the latest release of

ruby 2.1

bb0eb0f01d7e22bae4a9e53c93aee71de887ef97 authored about 10 years ago
Made sure strings in .travis.yml are quoted the same way

6f3fe0a7c2cab96bdc1cde3f1dedf9e2f00ccea1 authored about 10 years ago
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

a8b01431430ea3920bcbf36e345c1c5fcce23462 authored about 10 years ago
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 t...

e75c0d66a04a7d47779f301e972088a9cb84aea2 authored about 10 years ago
Store static regexps in constants for re-use

771e2d3d549702b7118c851037557fde1430be0d authored about 10 years ago
metaschema: use path relative to __FILE__, not gem_dir

99278f1c38fe8e2ea9a9b52334cea152c8859499 authored about 10 years ago
Update metaschema location to find resources from gem root

Conflicts:
lib/json-schema/schema/validator.rb

1132cf3dfdc6378bb787416d1739807d68244bcd authored about 10 years ago