{"push_id":1333113735,"size":7,"distinct_size":1,"ref":"refs/heads/use-test-helpers","head":"7e13db2fab15a5b3aced2550e52e9621e4d23a90","before":"00c54c63161f7468137cf1d712ac89e857a4c519","commits":[{"sha":"334edf030f4a781099af6ebb982b5a279e1185b3","author":{"name":"Iain Beeston","email":"14093fac96e1762937355439094e0f7ccf520c9f@gmail.com"},"message":"Made sure clear_cache also clears the cache of parsed uris\n\nThere are two main caches in json-schema. One is for schemas, one is for\nparsed uris. Previously, setting `:clear_cache` as a validation option\nwould clear the schema cache but not the uri cache. This has been\nreported to cause a memory leak (see issue #329) as over time the uri\ncache gets bigger and bigger and is never cleared.\n\nThis change makes sure that whenever the schema cache is cleared, the\nuri cache is also cleared.\n\nIncidentally this change is not thread safe, and multithreaded\napplications that clear the cache may see  issues. But until we can\nrefactor to either disable caching or get rid of class variables,\nI don't believe there's much we can (realistically) do about that. This\nis still an improvement on what's gone before.","distinct":false,"url":"https://api.github.com/repos/iainbeeston/json-schema/commits/334edf030f4a781099af6ebb982b5a279e1185b3"},{"sha":"71585320550a98ea2bd262a9b553db241f54852f","author":{"name":"Iain Beeston","email":"14093fac96e1762937355439094e0f7ccf520c9f@gmail.com"},"message":"Merge pull request #361 from iainbeeston/clear_uri_cache\n\nMade sure clear_cache also clears the cache of parsed uris","distinct":false,"url":"https://api.github.com/repos/iainbeeston/json-schema/commits/71585320550a98ea2bd262a9b553db241f54852f"},{"sha":"eccf80f492462b34afd8ddd6b7e0509231d069b7","author":{"name":"Iain Beeston","email":"14093fac96e1762937355439094e0f7ccf520c9f@gmail.com"},"message":"Moved Validator#absolutized_uri and RefAttribute's ref parsing into the URI module\n\nI just noticed that we have this URI processing method in Validator, and\nsimilar code in RefAttribute. I had thought we'd moved all of these into\nthe URI module, but these must have been missed.\n\nI've taken the opportunity to tidy them up slightly too.\n\nOne day we might be able to unify these methods","distinct":false,"url":"https://api.github.com/repos/iainbeeston/json-schema/commits/eccf80f492462b34afd8ddd6b7e0509231d069b7"},{"sha":"8e47deb90bf0a11ee0c61c99785cb76a031bffd2","author":{"name":"Iain Beeston","email":"14093fac96e1762937355439094e0f7ccf520c9f@gmail.com"},"message":"Merge pull request #345 from iainbeeston/move-absolutize-ref-uri-to-uri-module\n\nMoved Validator#absolutized_uri and RefAttribute's ref parsing into the URI module","distinct":false,"url":"https://api.github.com/repos/iainbeeston/json-schema/commits/8e47deb90bf0a11ee0c61c99785cb76a031bffd2"},{"sha":"fd454751019b0526869887ab72dfed7f780a57c6","author":{"name":"Iain Beeston","email":"14093fac96e1762937355439094e0f7ccf520c9f@gmail.com"},"message":"Simplified `#validator_for` methods\n\nRight now there is:\n\n* `#validator_for`\n* `#validator_for_uri`\n* `#validator_for_name`\n* `#validators_for_names`\n\nBut in reality all delegate to either `#validator_for_uri` or\n`#validator_for_name`. This is confusing, and obfuscates what's really\ngoing on.\n\nI've removed `#validators_for_names` (which was a private method anyway)\nand deprecated the alias of `#validator_for`.","distinct":false,"url":"https://api.github.com/repos/iainbeeston/json-schema/commits/fd454751019b0526869887ab72dfed7f780a57c6"},{"sha":"9d25c9a651e6190c59ccbbab0272b7acd1b0f19d","author":{"name":"Iain Beeston","email":"14093fac96e1762937355439094e0f7ccf520c9f@gmail.com"},"message":"Merge pull request #346 from iainbeeston/simplify-validator-for-methods\n\nSimplified `#validator_for` methods","distinct":false,"url":"https://api.github.com/repos/iainbeeston/json-schema/commits/9d25c9a651e6190c59ccbbab0272b7acd1b0f19d"},{"sha":"7e13db2fab15a5b3aced2550e52e9621e4d23a90","author":{"name":"Iain Beeston","email":"14093fac96e1762937355439094e0f7ccf520c9f@gmail.com"},"message":"Made tests use helpers where possible\n\nChanged tests to use the validation helpers where possible, to simplify\nthe test suite and make more of the tests behave in the same way.","distinct":true,"url":"https://api.github.com/repos/iainbeeston/json-schema/commits/7e13db2fab15a5b3aced2550e52e9621e4d23a90"}]}
{"actor":{"display_login":"iainbeeston"}}