debian/0000755000000000000000000000000012302376400007163 5ustar debian/docs0000644000000000000000000000001312250765307010042 0ustar README.rst debian/copyright0000644000000000000000000000416212250765307011133 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: jsonschema Source: https://github.com/Julian/jsonschema Files: * Copyright: (c) 2011 Julian Berman License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: debian/* Copyright: 2012 Chuck Short 2012, Ghe Rivero 2013, Thomas Goirand License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/changelog0000644000000000000000000000501712302376400011040 0ustar python-jsonschema (2.3.0-1build1) trusty; urgency=medium * Rebuild to drop files installed into /usr/share/pyshared. -- Matthias Klose Sun, 23 Feb 2014 13:52:00 +0000 python-jsonschema (2.3.0-1) unstable; urgency=low [ Thomas Goirand ] * New upstream release. * Do not depend on openstack-pkg-tools anymore. * Build-Depends on autopkgtest and python{3,}-pytest. [ Jean-Baptiste Lallement ] * Add autopkgtest that runs the upstream test suite against the installed package (Closes: #729467) -- Thomas Goirand Sun, 08 Dec 2013 11:37:07 +0800 python-jsonschema (2.0.0-1) unstable; urgency=low * New upstream release. * Added Pre-Depends dpkg (>= 1.15.6~) missing for the python3 package. * Removes now obsolete debian/patches folder. * Fixes nosetests calls (removes test.py as arg). -- Thomas Goirand Wed, 24 Jul 2013 15:11:14 +0800 python-jsonschema (1.1.0-2) unstable; urgency=low [ Thomas Goirand ] * Ran wrap-and-sort. [ Dmitrijs Ledkovs ] * Builds the python3 package (Closes: #710898). -- Thomas Goirand Thu, 30 May 2013 14:04:07 +0800 python-jsonschema (1.1.0-1) unstable; urgency=low * Uploading to unstable. * New upstream release. -- Thomas Goirand Sat, 11 May 2013 07:30:18 +0000 python-jsonschema (0.8.0-2) experimental; urgency=low * Missing build-dependency: python-mock (Closes: #700283). -- Thomas Goirand Mon, 11 Feb 2013 02:19:29 +0000 python-jsonschema (0.8.0-1) experimental; urgency=low * New upstream release. * Team maintains the package in pkg-openstack. * Fixed debian/copyright format URL. * Added Ghe and myself in debian/copyright. * Bumped debhelper and compat to >= 9. * Bumped Standards-Version to 3.9.4 * Added VCS and Homepage fields. * Now using openstack-pkg-tools. * Pre-Depends: dpkg (>= 1.15.6~) because of xz compression. * Added a watch file. -- Thomas Goirand Thu, 31 Jan 2013 23:12:17 +0800 python-jsonschema (0.2-1) unstable; urgency=low * First Debian Packaging -- Ghe Rivero Wed, 30 May 2012 14:43:07 +0200 python-jsonschema (0.2-0ubuntu2) quantal; urgency=low * debian/control: Add python-nose as a build dependency. * debian/rules: Run testsuite during build. -- Chuck Short Wed, 23 May 2012 20:02:47 -0400 python-jsonschema (0.2-0ubuntu1) quantal; urgency=low * Initial release. -- Chuck Short Wed, 02 May 2012 08:46:39 -0400 debian/compat0000644000000000000000000000000212250765307010373 0ustar 9 debian/python-jsonschema.install0000644000000000000000000000002312250765307014231 0ustar usr/lib/python2*/ debian/control0000644000000000000000000000415312250765307010603 0ustar Source: python-jsonschema Section: python Priority: optional Maintainer: PKG OpenStack Uploaders: Julien Danjou , Thomas Goirand , Mehdi Abaakouk Build-Depends: autopkgtest, debhelper (>= 9), python-all (>= 2.6.6-3~), python-setuptools (>= 0.6b3), python3-all, python3-setuptools Build-Depends-Indep: python-mock, python-nose, python-pytest, python3-mock, python3-nose, python3-pytest Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-jsonschema.git Vcs-Git: git://anonscm.debian.org/openstack/python-jsonschema.git Homepage: https://github.com/Julian/jsonschema XS-Testsuite: autopkgtest Package: python-jsonschema Architecture: all Pre-Depends: dpkg (>= 1.15.6~) Depends: python-mock, ${misc:Depends}, ${python:Depends} Description: An(other) implementation of JSON Schema (Draft 3) for Python JSON Schema is a specification for a JSON-based format for defining the structure of JSON data. JSON Schema provides a contract for what JSON data is required for a given application and how it can be modified, much like what XML Schema provides for XML. JSON Schema is intended to provide validation, documentation, and interaction control of JSON data. . This package contains the Python 2.x module. Package: python3-jsonschema Architecture: all Pre-Depends: dpkg (>= 1.15.6~) Depends: python3 (>= 3.2.3), ${misc:Depends} Description: An(other) implementation of JSON Schema (Draft 3) for Python 3 JSON Schema is a specification for a JSON-based format for defining the structure of JSON data. JSON Schema provides a contract for what JSON data is required for a given application and how it can be modified, much like what XML Schema provides for XML. JSON Schema is intended to provide validation, documentation, and interaction control of JSON data. . This package contains the Python 3.x module. debian/CHANGELOG0000644000000000000000000016207212250765307010417 0ustar commit 3a158e4e4d1df62ce9a553ff3bd6a564c686b0f6 Author: Julian Berman Date: Sun Jan 13 23:33:08 2013 -0500 Release 0.8.0 commit e10247e6b6b5bacb7f7366c226b29f085862780b Author: Julian Berman Date: Sun Jan 13 23:29:40 2013 -0500 ...to the right one commit e392c6ce49fd3025114a6c9a2f41fede0ece38f9 Author: Julian Berman Date: Sun Jan 13 23:28:45 2013 -0500 Update link commit fc4ff2105a9199a4784f1c72a4ab66513243270b Author: Julian Berman Date: Sun Jan 13 23:27:38 2013 -0500 Update readme and changelog commit b06b6a8f35473fe30811ade863887f16f219b44f Author: Julian Berman Date: Sun Jan 13 23:19:29 2013 -0500 Cleanup 123 commit 2e3550b7223aa6aa48290c64355740738972606b Author: Julian Berman Date: Sun Jan 13 23:11:34 2013 -0500 C o m p r ess commit 9c7e5c6d870a8da438bf65025d74162a0d1c738f Author: Julian Berman Date: Sun Jan 13 23:02:33 2013 -0500 Not meant to be doctested. commit 95c25330d67cb2ca9d7b86547d0d50250b5ac083 Author: Julian Berman Date: Sun Jan 13 22:52:21 2013 -0500 Finish additional types section. commit 31acb8f9a1336b6748ebebade0937f60761fd810 Author: Julian Berman Date: Sun Jan 13 21:52:07 2013 -0500 Finish IValidator commit 2cc1e91327036f90ec3d68678ce4ab8da6eb35a2 Author: Julian Berman Date: Sun Jan 13 20:10:43 2013 -0500 More docs. Start documenting IValidator. commit 1c39393e0e6685c4ce6707b617e1bfd55852393a Author: Julian Berman Date: Sun Jan 13 19:23:35 2013 -0500 More tiny cleanups in docstrings and such. commit 08c289ec7c0697f59eca65952d8d31418e7d3d6e Author: Julian Berman Date: Sat Jan 12 23:20:30 2013 -0500 Autofind version commit ef3d0134d12fd94004e655274394a69b8d0f161f Author: Julian Berman Date: Sat Jan 12 23:15:29 2013 -0500 validator -> validates commit 1b1f747c368207c3f1f93d1f783dc7cbe3ab5de3 Author: Julian Berman Date: Sat Jan 12 23:15:22 2013 -0500 Sphinx doctest commit 7e29d364811a3bf714f2ae39a9cdee380f1b32c0 Author: Julian Berman Date: Sat Jan 12 23:14:18 2013 -0500 Rename folder commit 69025fda786e6d0a4af2c224153c88e10292b666 Author: Julian Berman Date: Sat Jan 12 22:32:18 2013 -0500 More docstring updates commit cbeec6b8c562c35d1e6bd78e6d2b9d679bff0040 Author: Julian Berman Date: Sun Dec 30 14:46:02 2012 -0500 Add some arg types to docstrings commit f571a54f7319b535f40dc50d42e26900e625a238 Author: Julian Berman Date: Sat Dec 29 23:55:57 2012 -0500 Fixed any to accept any type, including unknown ones. Closes #47 commit 59cfa1922986203318d4a81ddee7e7568b619f96 Author: Julian Berman Date: Sat Dec 29 21:39:27 2012 -0500 Semantic versioning + release 0.8.0-b1 commit 8f66819ed3a18e8e8e4f1986e5901d42eb144f59 Author: Julian Berman Date: Sat Dec 29 20:50:57 2012 -0500 Revamp RefResolver. Now properly should resolve both local and remote uris and fragments within them. commit 2b48e71dc2fd9abc70e4c068ead4139a044f33a8 Author: Julian Berman Date: Thu Dec 27 09:35:34 2012 -0500 Ignore non-objects in patternProperties. Closes #49 commit dbb71ca0f511e963dfc62ad53313cd1d1e4c96b9 Author: Julian Berman Date: Thu Dec 27 09:34:41 2012 -0500 Update suite commit dcc4e55c4ca25d9edd352a93a4a97df9128d846f Author: Julian Berman Date: Mon Dec 24 19:54:31 2012 -0500 Remove duplication. commit c41787bf3897ae903c4d1fa03d7b94f65e445552 Author: Julian Berman Date: Mon Dec 24 19:53:41 2012 -0500 OK, let's see if this worked. Updated test suite. Squashed commit of the following: commit b255d27aeca09583415fca8616e68eeaa2fd3eeb Author: Julian Berman Date: Mon Dec 24 19:41:09 2012 -0500 Add tests for ignoring irrelevant types. commit 71a0d30e0cafce6876f23ab6cf25365d1244e0cd Merge: 2262a91 082e844 Author: Julian Berman Date: Sun Dec 23 21:14:38 2012 -0500 Tag version 1.0.0. Closes #13 commit 082e8440ccbf29181b8ba6f440d89f4723b841df Author: Julian Berman Date: Sun Dec 23 00:28:48 2012 -0500 Cleanup * Make errors in the tests be failures * Removed use of ErrorTree * Added another helper fn * Use fnmatch instead of glob commit e39d53703cbf4047b4fcd864dc55ad412c4c9d1d Author: Julian Berman Date: Fri Dec 21 14:52:16 2012 -0500 Added tests differentiating between lexical and mathematical integers. Integer literals should be considered integers, while mathematical integers can be specified with divisibleBy. See: https://github.com/json-schema/json-schema/issues/27 Closes #2 commit 44540b712d330625379ab3a85fa33aca044b29cd Author: Julian Berman Date: Fri Dec 21 14:47:26 2012 -0500 Added name to license. commit 646a9810aa69ca3a1fd14dc4282d4191cc222436 Author: Julian Berman Date: Fri Dec 21 14:31:47 2012 -0500 Add a test for BigNum integers. Closes #12 commit d22c24ea996491f839f5f5c8447ad30f2087eebb Merge: e8bcd5a c0dbbb5 Author: Julian Berman Date: Wed Dec 19 10:57:03 2012 -0800 Merge pull request #17 from gazpachoking/validate_suite_content Add sanity checks for actual format of test suites commit c0dbbb5320d33763b186ff40aa0292c6170588ef Author: Chase Sterling Date: Wed Dec 19 10:53:57 2012 -0500 Add back executable bit to suite_sanity_check commit 86f348605b35b9777691a0498f720c9dba2fb500 Author: Chase Sterling Date: Wed Dec 19 00:49:20 2012 -0500 Add sanity check to validate all suites against suite schema. Make sure optional test suites don't skip the sanity checks. commit e8bcd5a1f064eadd4acf4be16bf92412f9fd0e54 Author: Nick Lombard Date: Wed Dec 19 06:38:00 2012 +0200 Update README.md Travis status for develop branch commit ca8f1071db80ce5f256927d3cad8af8404c768b9 Author: Nick Lombard Date: Wed Dec 19 06:36:03 2012 +0200 Update README.md Added travis status image commit cf4597e140d1f713f9f7f34c2cb03da869a3224e Author: Julian Berman Date: Tue Dec 18 23:27:13 2012 -0500 Minor formatting (and get travis to build) commit 5cb630c9ee5c8eecb06332d65f784538e451bc31 Author: Julian Berman Date: Tue Dec 18 23:12:42 2012 -0500 Show number of tests found commit 7baea07ecbb64edf7bd4dab6f11139672298d3fd Author: Julian Berman Date: Tue Dec 18 23:11:33 2012 -0500 Travis commit 2f320bb1c0e7514e7e03fe6049413c974fc844ec Author: Julian Berman Date: Tue Dec 18 23:07:23 2012 -0500 Add sanity checker. commit 2262a9141c1f147c237adbeea540f66018349c5f Merge: 9cda89e a1ec588 Author: Julian Berman Date: Tue Dec 18 13:22:23 2012 -0800 Merge pull request #15 from tdegrunt/patch-1 Update README.md commit a1ec58862c20ea4c98d5c6a26024e83145453b03 Author: Tom de Grunt Date: Tue Dec 18 22:10:48 2012 +0100 Update README.md Added node.js module jsonschema. commit 9cda89ee01a4cc9e86a215b3b9ff0468b59714a0 Author: Julian Berman Date: Tue Dec 18 14:35:19 2012 -0500 Update README.md commit b22d795b9863d02e9fd4891ffde153ad41c4f1cb Author: Julian Berman Date: Sat Nov 17 19:26:21 2012 -0500 Ignore TODO commit 330fd4864fa55b3b6bed8287cf3bdcbc2c639798 Author: Julian Berman Date: Sat Nov 17 19:25:27 2012 -0500 Merge into properties tests. commit c7c2338380efebf6b89c9b81552962736fcf0b84 Author: Julian Berman Date: Sat Nov 17 19:20:25 2012 -0500 Remove duplicate tests. commit 281c28be60f87fe231815b8faebc1e6169233be5 Merge: 6f55ff5 6c28d7c Author: Julian Berman Date: Sat Nov 17 19:14:19 2012 -0500 Merge git://github.com/IreneKnapp/JSON-Schema-Test-Suite commit 6c28d7cb5fce73dd2cea792c151bb002501aa6ed Author: Irene Knapp Date: Fri Nov 16 08:33:30 2012 -0500 Fix a test that should actually be invalid. Remove some unnecessary tests. commit b7858cc3584ce8a8886a7edde3866f9776505b6f Author: Irene Knapp Date: Thu Nov 15 22:48:09 2012 -0500 Port over the rest of the stuff from jsonschema (the Python project). commit fa666236d2d4386ff3f17589d3f5f9416f3280df Author: Irene Knapp Date: Thu Nov 15 16:37:56 2012 -0500 Port roughly the first third of jsonschema (the Python project)'s tests.py. commit 6f55ff5138a561999df5b8ee27324856466eca6e Author: Julian Berman Date: Thu Nov 15 14:46:48 2012 -0500 Add the haskell thing that was using us. commit 756c8257ca5a9e4de08a27f716844d24ee99432f Merge: d735a8a 459dd98 Author: Julian Berman Date: Thu Nov 15 11:44:08 2012 -0800 Merge pull request #6 from IreneKnapp/master Add direct-schema to list of clients commit 459dd98563fbeb840ce8202a1ce72a24199a87c7 Author: Irene Knapp Date: Thu Nov 15 14:40:41 2012 -0500 Adding direct-schema to list of clients. commit d735a8a9de59e1ed7e0bf660b7aba0925c0f1cfa Author: Julian Berman Date: Thu Nov 15 09:37:03 2012 -0500 Add call to action. commit ca78ea844e6ca0d4d43885630d122687982d4746 Author: Julian Berman Date: Thu Nov 1 08:58:50 2012 -0400 Add heterogeneous types unique test. commit 4ab01de94340e6baed2344f0b949043ca35ddfaa Author: Julian Berman Date: Wed Oct 31 20:12:53 2012 -0400 Add specific test for bool and int. commit 6a52026b0d5f1b687d5a995a1591b99d30240280 Author: Julian Berman Date: Wed Oct 31 20:12:38 2012 -0400 Simplify test to remove also testing integers and booleans. commit 3871deac9d5cbc50635533736b68da2feaac0a1d Merge: fefa4dc 6f18358 Author: Julian Berman Date: Wed Oct 10 17:39:19 2012 -0400 Merge branch 'render' commit 6f18358cc498bb0ed5dfcef08bca52408bf717e9 Author: Julian Berman Date: Wed Oct 10 17:37:54 2012 -0400 Fix README example. commit fefa4dc1c72f75c605aeb8138c39468e8240e724 Merge: 189e231 295d43a Author: Julian Berman Date: Wed Oct 10 12:47:28 2012 -0700 Merge pull request #5 from timjb/master Added tests for divisibleBy, format: "regex" commit 295d43a61daf4098864137c71b652c3d18ee33f3 Author: Tim Baumann Date: Wed Oct 10 21:27:32 2012 +0200 Move format.json to folder for optional tests commit 8f5d9e281b18296baa6440a8caa8955cf5eaec5e Author: Tim Baumann Date: Wed Oct 10 21:06:08 2012 +0200 regex validation commit f11ddc3615460fa4fc9a0e2de8efde856d138f2f Author: Tim Baumann Date: Wed Oct 10 20:59:55 2012 +0200 divisibleBy tests commit 189e231e65d2f25f722fa362cb770ef1c264f7a2 Author: Julian Berman Date: Wed Oct 10 10:00:42 2012 -0400 Fix the additionalItems tests. Closes #4 commit a0a6e71207e4cf2c2821370320cc8e158cd70f4c Author: Julian Berman Date: Wed Oct 10 09:54:52 2012 -0400 Fix nil. Closes #3 commit 8dbaf210b8430c8cd1058b22cc2bfc639bcbbf8b Author: Julian Berman Date: Tue Oct 9 20:28:09 2012 -0400 Fix line endings and add invalid test case. commit 7829853a2fffa508557c1e21613709417e603f09 Author: Julian Berman Date: Sun Oct 7 10:33:14 2012 -0400 required commit 91e57ae1dc09d75c3885bb8124213f5e67bf2275 Author: Julian Berman Date: Sun Oct 7 10:24:35 2012 -0400 Pattern commit 49af2ebc9a02584fe84ee8b414930b70af24637e Author: Julian Berman Date: Sat Oct 6 20:50:59 2012 -0400 uniqueItems commit 089ed8e819d598125bbac985aa292f78be1e1547 Author: Julian Berman Date: Sat Oct 6 20:50:23 2012 -0400 Enum commit 7e4b937146d92a8612e9b95074daf7582f6ace65 Author: Julian Berman Date: Sat Oct 6 20:40:53 2012 -0400 max/min Items/Length commit 5c27f85a33bc75a8cfddf3b66d2bae91eac9b21e Author: Julian Berman Date: Sat Oct 6 20:34:21 2012 -0400 Minimum and maximum commit 9e24adbd197dddd31d74743bbc203534eda07e9e Merge: 3649b58 3498f34 Author: Julian Berman Date: Wed Sep 26 17:16:27 2012 -0700 Merge pull request #1 from gazpachoking/clean Add some more tests commit 3498f34e94db6e20f8202c0638005d2f62931ab7 Author: Chase Sterling Date: Wed Sep 26 20:02:58 2012 -0400 Fix an improper additionalItems test. commit 26a3873400e6c644cbe22842565624b40c410f1e Merge: baf0502 3649b58 Author: Chase Sterling Date: Tue Sep 25 16:48:39 2012 -0400 Merge branch 'master' into clean commit baf050206e12334dfe158390a9d8f8d5525b3d6d Author: Chase Sterling Date: Tue Sep 25 16:48:30 2012 -0400 Added items tests. commit cb6dfb2f040c1cc581128a0fbd2a40cfa44fb994 Author: Chase Sterling Date: Tue Sep 25 16:11:21 2012 -0400 Add cleaned up additionalItems commit 3649b58a5ce8fefc77ee1cfaaaeaf68df278ebd6 Author: Julian Berman Date: Tue Sep 25 15:28:13 2012 -0400 Would be nice if I'd have properly run lint. commit e6a270f18c77a1218abc3a7137a093a757b071db Author: Julian Berman Date: Tue Sep 25 15:00:57 2012 -0400 Properties. commit 2192a637eff388a4ee666b07635922281e78539f Author: Julian Berman Date: Tue Sep 25 12:40:31 2012 -0400 Clarify test reqs. commit ff746d00529dd7df0e56329223a8f16933aff9d1 Author: Julian Berman Date: Tue Sep 25 12:34:22 2012 -0400 Add MIT License. commit 9271ce51a4e053fe40985b17c1f88715bd859eb6 Author: Julian Berman Date: Tue Sep 25 12:29:00 2012 -0400 A basic readme. commit 530a0f33201ce4d718d5859f4856a65bbbcdcc73 Author: Julian Berman Date: Tue Sep 25 12:12:43 2012 -0400 Finish type tests. commit 4f9cd46dd9f73a1903452b1a9f4ea99c1938fb50 Author: Julian Berman Date: Tue Sep 25 11:49:34 2012 -0400 Initial commit. Basic type tests. commit 898ebd9ac665eff1d736db2c71a1e7dccf76954c Author: Julian Berman Date: Sun Dec 2 14:12:51 2012 -0500 Think travis has 3.3 now. commit 6d5a088b220fff883f424cc518c325eb4fb3cdb9 Author: Julian Berman Date: Sun Dec 2 14:02:29 2012 -0500 Move ValidationError to errors page. commit c5473b8e386551aa4dcc663c96d4fdda118173c7 Author: Julian Berman Date: Sun Dec 2 13:58:51 2012 -0500 Copy basic example to docs. Move validation to its own page commit d9a0ac110c26eea92fe6559321335a51d1c86ab7 Author: Julian Berman Date: Sun Dec 2 13:58:06 2012 -0500 Wrong directive. commit 1c8c13c11850356b1fcd891599393c53cb3802ac Author: Julian Berman Date: Sat Dec 1 23:01:11 2012 -0500 Let's call it resolve_relative. commit 870869b4e6b210fac66823bd2c1ca103dc9eb9d9 Author: Julian Berman Date: Sat Dec 1 21:54:10 2012 -0500 Typoed the link. commit 6943d5de197e2543e29b12c43035e13e297eb33a Author: Julian Berman Date: Sat Dec 1 21:32:49 2012 -0500 Whoops. commit 2be54ec63c5ccf81956ca936e3da6b8e41f41f28 Author: Julian Berman Date: Sat Dec 1 21:25:52 2012 -0500 Link to the Draft3Validator commit 54a603118123c6ed749906788c3e19d2ea56f3a8 Author: Julian Berman Date: Sat Dec 1 21:23:48 2012 -0500 Link to more docs, so move the example into the docstring. commit 3fbe95d3a2c2ce597f2e50e916f8cea4798dcd72 Author: Julian Berman Date: Sat Dec 1 21:12:39 2012 -0500 Link to docs commit 9a6e4e52e4bc35587a66893a614b8629899f8d49 Author: Julian Berman Date: Sat Dec 1 21:10:41 2012 -0500 Add some documentation on ErrorTrees commit ac034f9ced9e1c7eb8c5c2ac7a5bd70107b497f6 Author: Julian Berman Date: Fri Nov 30 12:27:44 2012 -0500 Build docs in tox commit b1a1a5b5252e950150d5ae194dcda7715933f29a Author: Julian Berman Date: Fri Nov 30 10:42:24 2012 -0500 Update trove classifiers. commit a3e18b0ae6c247d5594177826b1eef3b684cc235 Author: Julian Berman Date: Thu Nov 29 21:07:25 2012 -0500 Minor cleanup. commit 84db74338e9102cd1d4886b3844fb413608d3b96 Author: Julian Berman Date: Thu Nov 29 17:51:16 2012 -0500 Add params to __init__ for Validation and SchemaError Also break out the ErrorTree test into separate unit tests. commit 5c1f34d0427e63a12fdf466c99fc49822a0f82ec Author: Julian Berman Date: Sat Nov 17 21:40:15 2012 -0500 Fix sorted_errors. Closes #39 commit 34ea55d6b8fbdde74698098c51037a44a23eeba2 Author: Julian Berman Date: Sat Nov 17 21:40:10 2012 -0500 Remove dead imports. commit 3ca9e34a49d64acd37ac8842c0eed3a00e48e187 Author: Julian Berman Date: Sat Nov 17 21:39:40 2012 -0500 Stupid nose. commit 7a5b8a66da9ef646ffd1b5534926aab160c3dcbb Author: Julian Berman Date: Sat Nov 17 21:29:53 2012 -0500 Never mind, this isn't necessary at all anymore. commit 1000836e4b6bc6049937b8e1d3ffa4db49f62c55 Author: Julian Berman Date: Sat Nov 17 20:16:50 2012 -0500 Silence coverage. commit 3b34727463afc55f1ad757ddc0094eb0ffa046e0 Author: Julian Berman Date: Sat Nov 17 20:16:16 2012 -0500 Be gone! commit 5a9f05ef05c897cee4aa64a936cc962823f51f05 Author: Julian Berman Date: Sat Nov 17 19:55:27 2012 -0500 Remove duplicated tests. commit 920f580dffd5522ee27c1bc454f4f22ef3da055d Author: Julian Berman Date: Sat Nov 17 19:52:58 2012 -0500 Update json schema test suite commit fb711b14672893782bb8bad31150849bd8283bd5 Author: Julian Berman Date: Wed Nov 7 00:51:27 2012 -0500 Update readme. commit e8b2b4e9016fca34ce2676b2f20e1140870f0f79 Author: Julian Berman Date: Wed Nov 7 00:35:18 2012 -0500 Fewer times commit fe5d9ff6aa1eff0af303eb4405278b44456d15e1 Author: Julian Berman Date: Wed Nov 7 00:08:38 2012 -0500 Non local refs. commit de3a3b6130537764dff67f6276178f477746fca4 Author: Julian Berman Date: Tue Nov 6 20:16:34 2012 -0500 Update docs. commit 880800a2efb5340474fcdb43f658b7117b286d58 Author: Julian Berman Date: Tue Nov 6 20:15:49 2012 -0500 Ref store commit 2690f948bb238cccedd1ce8278257003fc18f642 Author: Julian Berman Date: Tue Nov 6 20:06:46 2012 -0500 RefResolver commit 505bf3ac0f87a777e4a0827746e5f6156ebbbb56 Author: Julian Berman Date: Tue Nov 6 18:41:04 2012 -0500 Trim heading commit 5618b4526f85fb8e04f9938cd052035e9aa6742b Author: Julian Berman Date: Thu Nov 1 09:35:56 2012 -0400 Fix a directive commit a6501d53bfbf7f01b4df4d3a03c0375b926d257d Author: Julian Berman Date: Thu Nov 1 09:35:50 2012 -0400 Start on Sphinx docs. commit c58cc1855588c2e0c69345ee80801c63d282874d Author: Julian Berman Date: Thu Nov 1 09:01:03 2012 -0400 Still no idea why these extra commits are showing up. commit a83d398067e97f195bdf3ee4c0666f87abc99301 Author: Julian Berman Date: Thu Nov 1 08:56:36 2012 -0400 Fix #43 for homogeneous uniqueItems too. commit fe0d6471a669beee78cc26a1d27718f0994346c5 Author: Julian Berman Date: Wed Oct 31 22:28:26 2012 -0400 Add tox and JSON tests. commit db4f74befebd90a03f830bf6fe576a91c70fef93 Author: Julian Berman Date: Wed Oct 31 20:39:51 2012 -0400 Begrudgingly make 1 and True unique (and 0 and False). Closes: #43 commit 3b3bd00fef8547e4a96669f121ab76d31f0cfba0 Author: Julian Berman Date: Wed Oct 31 20:27:21 2012 -0400 Remove path from test name commit 897f198f311bd1cd41f0762f1b97dba05f1c0064 Author: Julian Berman Date: Wed Oct 31 20:17:44 2012 -0400 Git I don't even begin to understand you. commit 88937bd9021e1456dd432bc602206ea314a78c4d Author: Julian Berman Date: Tue Oct 30 21:21:45 2012 -0400 Use proper relative paths. commit 42d694b5584362e7ae05fde51e2173a3f4fb331e Author: Julian Berman Date: Tue Oct 30 21:11:17 2012 -0400 Use git subtree for JSON Test Suite commit 80939b83eb5eb7d5c375ecb13cec5d9f80edc18c Author: Julian Berman Date: Tue Oct 30 09:08:13 2012 -0400 Remove test duplication. commit 4c8c8ad4f6beb260c509d07e91b6f1ea64b6e3b0 Author: Chase Sterling Date: Sun Oct 28 23:36:05 2012 -0400 Disable some tests due to issue #43 commit 92646368385e34ee1db58a26b11bdc59d1ab605b Merge: ceae60c 654896d Author: Chase Sterling Date: Sun Oct 28 23:21:31 2012 -0400 Merge branch 'master' into json-test-suite commit 654896dcfaff8190a929d199be28c30002b87665 Merge: 42ec737 faabedc Author: Chase Sterling Date: Sun Oct 28 20:18:27 2012 -0700 Merge pull request #44 from gazpachoking/unique_fix A fix for identifying unique items. refs #43 commit faabedcfd9f00ca9b3d485530b39e17ebea30fde Author: Chase Sterling Date: Sun Oct 28 22:58:50 2012 -0400 A fix for identifying unique items. refs #34 commit ceae60c8f79ef88edd11e18265cb57aaca3f62ff Author: Chase Sterling Date: Sun Oct 28 21:53:31 2012 -0400 Make test method names into valid identifiers. commit 42ec73739e930c9f43ce00eee2bc24414951648e Author: Julian Berman Date: Sun Oct 28 21:06:24 2012 -0400 Remove deprecations. commit 6a6c166a75206d18e69c7c3bf0f48b649f2498e9 Author: Chase Sterling Date: Sun Oct 28 20:47:26 2012 -0400 Fix nose trying to run helper functions as tests. Fix json test case runner on python 3. Refactor loading test cases to be a class decorator. Prevent test cases from swallowing ValidationErrors. Test method names are now based on filename and test description. commit 3ddd80543bd6da56eeea84b2f364febaeadf31b9 Author: Julian Berman Date: Sun Oct 28 19:44:10 2012 -0400 Update features commit eed1d26c98810d00e8f117af82719d6956a0cd33 Author: Julian Berman Date: Sun Oct 28 19:43:02 2012 -0400 Clarify release note. commit 79e0c64c13c5aa98ab4800bf24a3f51abd5ad963 Author: Julian Berman Date: Sun Oct 28 19:41:36 2012 -0400 Prep for 0.7 release commit 253d39484769f064657a1284677c0627d5ed10ff Author: Julian Berman Date: Sun Oct 28 19:41:20 2012 -0400 Update release notes. commit 774bf9dccb902335b0bc1870bb62e304289dba31 Author: Julian Berman Date: Sun Oct 28 19:32:35 2012 -0400 Privatize _schema as an arg to Draft3Validator functions. commit 311e2a0b7c38146161c0e0288b06463c36546219 Author: Julian Berman Date: Sun Oct 28 19:27:05 2012 -0400 Rename -> resolve_json_pointer commit ffeeaf305445281fdc0b086f1d83bc7e4e880b64 Author: Chase Sterling Date: Sun Oct 28 19:18:29 2012 -0400 Add json based test cases, and a test runner for them. commit a8656b8d75944a0029376a0ed78f91c0cb7c886f Author: Chase Sterling Date: Fri Oct 26 18:50:25 2012 -0400 Add support and test for decoding percent encoded characters in json pointer references. refs #37 commit cdced0f4a028d26f9a713bfb8706a7a8828c1e65 Author: Chase Sterling Date: Fri Oct 26 16:57:52 2012 -0400 Add test cases for encoded ~ and / in $ref values. Add back support for decoding them. refs #37 commit 942acd2f7a03134322ce82dfc753438165706a01 Author: Julian Berman Date: Fri Oct 26 13:45:48 2012 -0400 Cleanup commit dc4a02cf79a531cec7b35535d28c453d401f9f9d Merge: 0e87ffa 64c0d2e Author: Julian Berman Date: Fri Oct 26 13:12:54 2012 -0400 Merge branch 'json-ref' of http://github.com/redpie/jsonschema Closes #37 Credit: Chase Sterling & Kiall Mac Innes Conflicts: jsonschema.py commit 0e87ffafc8c2bd54eed9827ee50400449f97c98c Author: Julian Berman Date: Fri Oct 26 13:02:56 2012 -0400 Make check_schema a classmethod. meta_validate is deprecated in validate() commit e4e08ea2466266c6866d1bb7213bfff92094ce3a Author: Julian Berman Date: Mon Oct 22 15:14:13 2012 -0400 Add Python 3.3 commit 64c0d2e900e929b2fbd91163a8d6c52f6c94a851 Author: Kiall Mac Innes Date: Mon Oct 22 11:14:42 2012 +0100 Add support for json-pointer references based on Chase Sterling's code. Source: https://github.com/gazpachoking/jsonschema/commit/423499e18e64ca7765a03949805b053147a7b5f4 commit 0ccbf6f70d978323ae0a57aa0f3c1d73b41cfa97 Author: Julian Berman Date: Sun Oct 7 17:58:55 2012 -0400 Fix syntax highlighting in readme. commit c5a94e7528af88e7aad882323b9a481ea0343115 Author: Julian Berman Date: Fri Sep 28 14:42:15 2012 -0400 Update readme to use Draft3Validator commit da0b82da8f8bc020ee89ce825e94c1ab8e5cc4b5 Author: Julian Berman Date: Fri Sep 28 14:39:09 2012 -0400 Deprecate meta_validate too. commit c99486f0c9d553bc8f964273dda160dd5cb8ceda Author: Julian Berman Date: Fri Sep 28 14:07:06 2012 -0400 Add schema as a parameter to init for Draft3Validators. commit 84113d633521aa7c6784897e39ac1a7b19fe5b6d Author: Julian Berman Date: Fri Sep 28 13:36:27 2012 -0400 Fix docstring. commit d0ce604257cd1d3b0f82661cf90f504a4de6547f Author: Julian Berman Date: Fri Sep 28 13:12:20 2012 -0400 Add deprecation warning. commit 6e752ec1599369ba7bc31f9fe3185aecb775ef4a Author: Julian Berman Date: Fri Sep 28 12:54:59 2012 -0400 Reorderering functions. commit b8837568e3b8370a2665270121937c0447d152bb Author: Julian Berman Date: Fri Sep 28 12:52:01 2012 -0400 Cleanup. No need to stick these no_ops on for no reason. commit 5fc1f09afd3b4c5e916b9c726efd6c20e2eef8a3 Author: Julian Berman Date: Fri Sep 28 12:49:58 2012 -0400 Fix unvalidated properties. commit 4f372ff4249a7c867c2e3fc8b430a0b378f2eb63 Author: Julian Berman Date: Fri Sep 28 12:45:47 2012 -0400 Introduce check_schema. commit 74696988bcf286da6796594bad75e725dc1fc58b Author: Julian Berman Date: Fri Sep 28 11:40:51 2012 -0400 Test is_valid commit 0c1e3023c5485706c8c37c6470ef589c809ecc19 Author: Julian Berman Date: Fri Sep 28 11:31:07 2012 -0400 Refactor is_type. commit 968de69370647459a13c32a3431ca40ceeff888e Author: Julian Berman Date: Fri Sep 28 11:30:51 2012 -0400 Add mock. commit 3c3cf4f850765f5e1825f45767fb6aa7b1317ccf Author: Julian Berman Date: Fri Sep 28 11:30:37 2012 -0400 Update imports. commit 911e14897e1398b8946a96f5a760e3f995a3175d Author: Julian Berman Date: Fri Sep 28 10:45:00 2012 -0400 Create Draft3Validator class. commit dbb298069c8d04a51ce3f47f90226bdb91e292c7 Author: Julian Berman Date: Thu Sep 27 14:49:10 2012 -0400 Add number arg to perftest. commit c626b4b0771a40dc80682ac44263c83e7bd6101f Author: Julian Berman Date: Thu Sep 27 14:04:57 2012 -0400 More minor duplication removal. commit 7921c3c6320480a7a0f6bab26b9474ea6b7fdf85 Author: Julian Berman Date: Thu Sep 27 14:03:15 2012 -0400 Grouped the iter_errors tests. commit 52bec28ae638e79d08737d657de4c3d14e4cc3ad Author: Julian Berman Date: Thu Sep 27 14:00:03 2012 -0400 From import. commit ee0b6928f4112ac905f38e604495329c8b301d70 Author: Julian Berman Date: Thu Sep 27 10:23:58 2012 -0400 Move out tests into new test cases. commit 1d0fcda65261f36f6f141b2fc99509b516e0f1b4 Author: Julian Berman Date: Thu Sep 27 10:23:02 2012 -0400 Cleanup a test commit 207138a1a62e0cc4b87a3485005bdf1d2a508d0a Author: Julian Berman Date: Thu Sep 27 09:11:33 2012 -0400 Didn't like how this reads. commit 43b99fae5af42689989f5429e10e5082d2cd2fdb Author: Julian Berman Date: Thu Sep 27 09:10:04 2012 -0400 Module docstring update commit e47a081bb3396d9b99335e7484a3a161c47fe437 Author: Julian Berman Date: Wed Sep 26 21:00:44 2012 -0400 Minor formatting. commit 2d4a16b8cd5bbe1ea014b2fe7b9f6aa1c9cb5508 Author: Chase Sterling Date: Wed Sep 26 20:54:08 2012 -0400 Fix another merge problem. commit 0522f9112a5bd07148622c617ea178e54ff1b538 Author: Chase Sterling Date: Wed Sep 26 20:49:49 2012 -0400 Fix bad merge. commit 688420f719bd8ba4f8a9e500be3348a1c17c2f8e Merge: 9a4a4ef e44b0b2 Author: Chase Sterling Date: Wed Sep 26 20:40:15 2012 -0400 Merge branch 'master' into additionalItems_fix Conflicts: tests.py commit 9a4a4ef512cba056a8d6ae6e68be7f92806295b5 Author: Chase Sterling Date: Wed Sep 26 20:21:53 2012 -0400 Fix additionalItems behavior when items is not in tuple form. commit e44b0b29e38a09e0b244db7e1aade2127ab89913 Author: Julian Berman Date: Mon Sep 24 18:22:33 2012 -0400 Don't recommend using version. It is imminently going to be deprecated. commit 6615916ffc1cea2bca2dc60e0509ed1242ac02c4 Author: Julian Berman Date: Mon Sep 24 15:10:57 2012 -0400 Fix additionalProperties with patternProperties present. Closes #24. commit 69dc5c134e497ac003f071f7841f108d897c263c Author: Julian Berman Date: Mon Sep 24 14:17:32 2012 -0400 Centralize irrelevant types tests. commit 01de645e86e725c420e1b05b32fa38597cd7abab Author: Julian Berman Date: Sun Sep 23 15:24:21 2012 -0400 Never mind, travis is annoying. commit 885db7a26bebed11a312c73ac0495c002c5f7dcd Author: Julian Berman Date: Sun Sep 23 15:21:49 2012 -0400 Unittest2 dep. commit 65a0c6905e7ceb73dbae35a6e31b4e1150e437fd Author: Julian Berman Date: Sun Sep 23 15:18:12 2012 -0400 Really basic perf test. commit 8d308daec7dfcefa21f990ca69ca23b0b8f6b280 Author: Julian Berman Date: Sun Sep 23 15:17:38 2012 -0400 Version bump. commit 0b4b381ac4e4f766116d3114bf83ee09ef513590 Author: Julian Berman Date: Sun Sep 23 14:44:09 2012 -0400 Travis commit 638809ad7f8374d7bb480ed633708817ba847b75 Author: Julian Berman Date: Sun Sep 23 14:38:51 2012 -0400 Centralize rest of error message tests. commit 9709948ba6e577874677fabc861b67f3b168377d Author: Julian Berman Date: Sun Sep 23 14:22:00 2012 -0400 Show `name` in type validation error if present. This is mostly just a convenience to make debugging error messages for object types easier, since as-is, they can span many lines if an object type is really complicated. Closes: #25, #26 commit 75cca40af6e1f6bf29088707064fa36212237fff Author: Julian Berman Date: Sun Sep 23 00:04:30 2012 -0400 This can just be a regular test. commit 98c8a4fcb9adea08c53fbe020bba5b882ac18b82 Author: Julian Berman Date: Sun Sep 23 00:04:23 2012 -0400 Spacing. commit 652698bef1a5109bdbf9f30c660e753ea1f999bf Merge: 1e47794 33bb92f Author: Julian Berman Date: Sun Sep 23 00:01:10 2012 -0400 Merge remote-tracking branch 'gazpachoking/dependencies_fix2' commit 33bb92fa31d2bd51a46e59af3a59390a0fa6dc07 Author: Chase Sterling Date: Sun Sep 23 00:01:25 2012 -0400 Add a unit test for dependencies validaton on non-objects. commit 663ddba17f3178efc3282f376289d5b0748a6330 Author: Chase Sterling Date: Sat Sep 22 23:53:50 2012 -0400 Fix dependencies behavior when instance is not of type object. refs #30 commit 1e47794fb0bec5830646d2004ed9eebed48c5ca1 Author: Julian Berman Date: Fri Sep 21 09:56:28 2012 -0400 Release v0.6 commit 80472b89f932572399c293985f50ea26f348908c Author: Julian Berman Date: Thu Sep 20 21:15:20 2012 -0400 Restore proper error message for dependencies. With a test to back it up. commit 5c6cadfc1c4af2d75897d4d972d21d2dc4c7cbdd Author: Julian Berman Date: Thu Sep 20 21:14:38 2012 -0400 Move out the sad path to clean out the conditional. commit 0a4421e5f990d9359346ffc0bb24a4a40b5c3d90 Author: Chase Sterling Date: Thu Sep 20 20:38:28 2012 -0400 Refactor 'dependencies' to work how I understand it in the spec. Fixed 3.x incompatibility. Closes #30 commit e6eff879eca4071fd3a2e92291a0cd12350ba8bf Author: Julian Berman Date: Sun Aug 12 12:04:42 2012 -0400 Minor style fixes. commit 2f17868c4862f5b57822678406f6e49fed81b20b Author: Julian Berman Date: Mon Jul 30 19:21:12 2012 -0400 Fix a bytestring test that was mis-written commit 9d8b6b38daad10025fcc3656c36ab7ad6e8b2ebd Author: Julian Berman Date: Mon Jul 30 14:08:06 2012 -0400 Typo commit 1685cdcaea5b25cc453306ce5e5ff50dae1a0956 Author: Julian Berman Date: Mon Jul 30 14:06:29 2012 -0400 Added a note on running the test suite. commit c882db9d760c63228f487240f96f45f034217816 Author: Julian Berman Date: Tue Jul 17 15:33:02 2012 -0400 Relese v0.5 Closes: #19 commit b04c608c708dd8a7226baa13e815da249ebf7453 Author: Julian Berman Date: Mon Jul 9 19:55:36 2012 -0400 Multiple types now validate correctly even for non-objects. Closes #18. commit 9e4571442f1f194ea6c47e502a81613b48b13cd4 Author: Julian Berman Date: Sun Jul 8 15:04:44 2012 +0000 Revert "Putting the license in the readme." This reverts commit a5e7964b4622142d3c15c6c057e62efebc36229c. commit 2472c3c7f137788c1441e892bf8aba651a0a4d7d Author: Julian Berman Date: Thu Jul 5 22:23:38 2012 -0400 Fixed the two failing tests. commit cce27c083046a3967d0fdfb6438954888ee91a87 Author: Federico Mora Date: Thu Jun 28 12:10:58 2012 -0400 Added path of require to ValidationError commit 7dfabf8d8022a297619b7fd120cfe48d67e9afb0 Author: Julian Berman Date: Tue Jun 19 13:26:57 2012 -0400 Forgot to actually remove the args. commit 766cc164b56c1d790397b337a04ee64bad9d44b6 Author: Julian Berman Date: Tue Jun 19 13:16:17 2012 -0400 Remove all the deprecations. commit b8b43a4544a529814ae0d7f5b5e065b974cc0b5f Author: Julian Berman Date: Tue Jun 19 10:13:27 2012 -0400 Lets wrestle with reSt shall we. commit 6afe17703e9c6834ab6e23c3ca4002ea8a59b6ee Author: Julian Berman Date: Tue Jun 19 09:57:43 2012 -0400 Release 0.4 commit d8d813c9a1ce24e8da84490f455e0f84bc71a13b Author: Julian Berman Date: Tue Jun 19 09:57:04 2012 -0400 Update release notes. commit a5e7964b4622142d3c15c6c057e62efebc36229c Author: Julian Berman Date: Tue Jun 19 09:49:16 2012 -0400 Putting the license in the readme. commit ca2ce055ae90c8d71d13eac51b5cbb85c34c9505 Author: Julian Berman Date: Tue Jun 19 09:46:35 2012 -0400 Clarify a deprecation message. commit dee2e14a5817853cdd1d28b8349cf5b15f2a7bd3 Author: Julian Berman Date: Tue Jun 19 09:44:41 2012 -0400 Deprecate meta_validate commit 0b0d59b12f3641c74a3efb0973eca85b2eb57c07 Author: Julian Berman Date: Tue Jun 19 09:25:53 2012 -0400 ErrorTree.__repr__ commit 69faf9185c2607dadc68ca96b57578cba2adcc94 Author: Julian Berman Date: Mon Jun 18 23:17:13 2012 -0400 Added an example of ErrorTree to the README. commit 4837056c3868eac6c0970bb8dbe10355d51164d1 Author: Julian Berman Date: Mon Jun 18 23:05:25 2012 -0400 ErrorTrees, to make programmatic poking at validation easier. commit 00a6128b28af8a61e14ca566433305031278049b Author: Julian Berman Date: Mon Jun 18 14:58:19 2012 -0400 Forgot to bump the version number. commit 87ac636ef345f841d44f32accfc4a836c98d91b2 Author: Julian Berman Date: Mon Jun 18 14:56:53 2012 -0400 With the validation detail, the reraise stuff should be unnecessary. commit cbb37aad7e5bafa8c5339885c5dd95390d463e1b Author: Julian Berman Date: Mon Jun 18 14:54:34 2012 -0400 Typo commit b1d7464cddabaa8fab11113537328cd286768496 Author: Julian Berman Date: Mon Jun 18 14:52:12 2012 -0400 Provide error details for each ValidationError. Closes #5. To make this work, raising errors from validators is now deprecated. Instead, each validator needs to yield each error it wishes to signal. This was probably broken before anyhow with stop_on_error but there wasn't a covering unit test at the time for it. commit eb026bd526132b113fec719ecf00532b15f9a38c Author: Julian Berman Date: Sun Jun 10 13:53:37 2012 -0400 Split off deprecation tests. commit 07697625e8d52996c90c080d8d4e8ad1c03fb273 Author: Julian Berman Date: Sun Jun 10 13:46:12 2012 -0400 Clarify the line about iter_errors. commit 3916c23f70b36542434e55e6a93776586981daca Author: Julian Berman Date: Sun Jun 10 13:44:06 2012 -0400 Reimplement deprecated stop_on_error commit 221c653478a8c2fd7f6190e8e50236d8d5849e81 Author: Julian Berman Date: Fri Jun 8 19:20:50 2012 -0400 Deprecate stop_on_error in favor of iter_errors. Temporarily reimplementing stop_on_error is not done yet. Also fix a small dependencies bug in the meta schema. commit 4d6598b98024ccb94cb15d0b6d4fe6443d65818a Author: Julian Berman Date: Thu Jun 7 19:56:59 2012 -0400 Fixed a bug caused by implementation of _SKIPPED Failing to be able to subclass Validator and implement additional validation for one of the properties that the Validator happens to not validate (like format). commit 23da7cedc58103d8dd037d6b9144c4e90532037e Author: Julian Berman Date: Thu Jun 7 14:58:38 2012 -0400 Minor style changes commit 5780369c57882c84070cbd20a6cd96f121352990 Author: Julian Berman Date: Thu Jun 7 14:44:54 2012 -0400 Fix reraising with the stack for Py3 The extra modules were not being installed, and even installing them would be quite dirty without turning into a package. Just borrow six.py's solution. commit f195a3f20c036cde5042b45adb33e30c010d2af1 Author: Glenn Maynard Date: Thu Jun 7 16:18:03 2012 +0000 Rename property in test schema. This test has nothing to do with additionalProperties; this is just a property name. commit 5b0e318ad44fb3b79e6ced3c022721655b778f31 Author: Glenn Maynard Date: Thu Jun 7 16:10:15 2012 +0000 Test .errors propagation for SchemaError. commit 770c0a0f2878ef64d402ca99951b5f27b5e53439 Author: Glenn Maynard Date: Thu Jun 7 16:04:26 2012 +0000 Preserve .errors in SchemaError. When meta-validation exceptions are translated from ValidationError to SchemaError, propagate the .errors attribute to SchemaError. commit 5dcb87b6f33beec067d3e4e35634bcb14cef282b Author: Glenn Maynard Date: Thu Jun 7 15:27:03 2012 +0000 Python3-compatible fix: don't discard exception backtraces. This is important; it's next to impossible to debug problems when backtraces are lost. commit ef233ae41387598978a19afd16f0296ad200bfdf Author: Glenn Maynard Date: Wed Jun 6 22:08:16 2012 +0000 Fix an exception when a "properties" value is not an object. This is fixed by checking for it in the metaschema, which means it can still happen if meta_validate is false. I'm not sure if it should try to always behave for any arbitrary input, even if it fails against the metaschema; I've done it this way for now since I suspect there's a lot of broken behavior if metaschema checks are disabled. Note that I havn't tried to fix all possible gaps in the metaschema; for example, additionalProperties should probably also require this. I'm only fixing the ones that actually cause runtime exceptions (for now). commit 46e0910765182c494bdda7020658860604727731 Author: Julian Berman Date: Tue Jun 5 23:25:03 2012 -0400 Deprecate {string,number}_types for a more robust thing. commit deb1648ac91f16d3388c8273777edac32908a586 Author: Julian Berman Date: Tue Jun 5 19:27:26 2012 -0400 Release notes & version bump for v0.3 commit 7de543262710dc23ff71e45f30541505dc7562b0 Author: Julian Berman Date: Sun Jun 3 10:00:50 2012 -0400 Removed two more stale 2.5 things. commit 3032b97c93d0364241582595c561cced53a72fa5 Author: Julian Berman Date: Sun Jun 3 09:57:48 2012 -0400 Comment cleanup. commit 5e1f54f61eda289201abc6e11369691d3dc88f8a Author: Julian Berman Date: Sun Jun 3 09:55:22 2012 -0400 Moved irrelevant type tests to test_ methods. commit baef48e7c1b79188071e7695c44daeb6c5cb6b75 Author: Julian Berman Date: Sun Jun 3 09:50:33 2012 -0400 Revert "Fix the stack for ValidationErrors being lost." This is a small pain to do in a PY3 compatible way. Delaying for now. This reverts commit ee1855f55cc42fb9272ae061592feb3187e31b34. commit ee1855f55cc42fb9272ae061592feb3187e31b34 Author: Glenn Maynard Date: Thu May 31 16:58:09 2012 +0000 Fix the stack for ValidationErrors being lost. commit caf0d6334adea122a9e28180ecbab4a1affdcf77 Author: Glenn Maynard Date: Thu May 31 16:52:38 2012 +0000 Fix divisibleBy when the item isn't a number. The spec doesn't actually say this one--there's no "when the type is a number", but that seems like an oversight, since it doesn't otherwise specify what should happen and that's how all other number-based constraints work. commit 09b36567dd1f0da38f7086a20286322cbf513142 Author: Glenn Maynard Date: Thu May 31 16:51:03 2012 +0000 Replace multiple_types_with_properties and multiple_types_with_items with simpler regression tests. commit 23e16ca5001186c9827e06f03f4c7e0afd0ecd8d Author: Glenn Maynard Date: Thu May 31 16:49:06 2012 +0000 Fix verification for minimum and maximum. commit ca301e70873358c9d6238dff020e676d058b5b3f Author: Glenn Maynard Date: Thu May 31 16:42:33 2012 +0000 Fix quotes (for consistency). commit 716d797a69385095b02c2f81bf652ebe7d8025de Author: Glenn Maynard Date: Thu May 31 16:42:01 2012 +0000 Fix "items" verification. Like "properties", "items" was failing: jsonschema.validate(1, {'type': ['number', 'array'], 'items': {'type': 'string'}}) (The regression tests I'm adding for these can probably be done more concisely.) commit 2c0ff4f0d2f4accc6589d9bfb5bcbdc02fcfc2d3 Author: Glenn Maynard Date: Wed May 30 22:04:49 2012 +0000 Fix "properties" verification. This fixes the following: jsonschema.validate(1, {'type': ['number', 'object'], 'properties': {'x': {}}}) raising an error at 'instance[property]' when instance isn't actually an object. "properties" only has any effect when the instance value is an object. commit abe593d6d0f4a83f1fab62fe5af6d05f82118d2b Author: Julian Berman Date: Wed May 23 19:12:39 2012 -0400 Fixed docstring for updated unknown_* default. commit ed54b2a0ee0538e4bcd2c917114044767f073a72 Author: Julian Berman Date: Sun Apr 29 21:51:59 2012 -0400 Stale future import from 2.5. commit ee75ae845cdace66b6a1d166b0b55b289e9081b7 Author: Julian Berman Date: Sun Apr 29 21:47:58 2012 -0400 Fixed classifiers for py3. commit 5afe2146767b9a5a4857a28d8189f4c549fd7521 Author: Michael Droettboom Date: Mon Apr 23 15:34:52 2012 -0400 Clarify the ``string_types`` parameter for Python 2.x vs. Python 3.x commit e54568dd929735ba8d6bf4c03fd1c1dd4738350b Author: Michael Droettboom Date: Mon Apr 23 15:34:21 2012 -0400 Remove Python 2.5 "next" backward compatibility, since this code no longer works on Python 2.6 anyway. commit 1532b6ba22b2e219a264a573857bb9b206be9a54 Author: Julian Berman Date: Fri Apr 20 18:38:10 2012 -0400 Minor formatting and cleanup. commit 5510597e44b7a4758972fa7ebec1055db8880b1d Author: Julian Berman Date: Fri Apr 20 18:08:00 2012 -0400 Fix a doctest for py3, which includes modules in tracebacks. commit 267a9152c6340546ba7eba8049e8659cf50804fb Author: Michael Droettboom Date: Fri Apr 20 15:22:23 2012 -0400 An initial stab at making jsonschema Python 3.x compatible. This takes the approach of being Python 2.6, 2.7, 3.1 and 3.2 compatible from an identical code base, i.e. not by requiring an explicit 2to3 step. With this approach it is almost impossible to also support Python 2.5, though that can be investigated if that is a hard requirement. The testing framework was changed from Twisted.trial to nosetests, since Twisted does not yet have Python 3.x support. Alternatively, pytest could be used. Most changes are related to adding "from __future__ import unicode_literals" and removing all of the "u" prefixes on string literals. Since 3.x drops renames dict.iteritems to dict.items, a function "iteritems" was added to handle either case. Likewise, itertools.izip was dropped in favor of just using zip. Comparisions of strings and numbers no longer works, so the string is forcibly converted to a float before doing a numeric comparison. Updated "try .. except" to use the new "Exception as e" syntax. Python 3 changed the way metaclasses are handled. The metaclass in tests.py (there are none in the library proper) now uses a crazy inscrutable syntax that is Python 2.x and 3.x compatible. See http://mikewatkins.ca/2008/11/29/python-2-and-3-metaclasses/ There is one doctest failing on Python 3.x that fails due to the fact that in Python 3 the full path to the Exception object is shown in tracebacks, i.e. jsonschema.ValidationError vs. ValidationError. I'm not sure how to resolve this in a way that is both Python 2 and 3 compatible. We may just want to skip the doctests on Python 3. commit f72f335455a029d9e07f415c46483cc5b00c2d25 Author: Julian Berman Date: Thu Apr 19 14:39:50 2012 -0400 Removed the securetypes stuff. The hash fix has been released, so this can all go away. commit b202cfd22e69e97dfbc7c714c3d0bf85beab5e92 Author: Julian Berman Date: Thu Apr 19 14:07:38 2012 -0400 Change defaults for unknown type and unknown property commit 6bc1587dca6441e96c27b5f8e4e2ef3774936167 Author: Julian Berman Date: Fri Feb 24 11:12:55 2012 -0500 Updating the README commit f84bc39658d0464fc36d3d2cc97a0c4ab4bf0f25 Author: Julian Berman Date: Sun Feb 19 20:16:58 2012 -0500 Fixed a typo and elaborated a tiny bit. commit 425243d0162b7f019e70ab1ccf0638cc62ee2627 Author: Julian Berman Date: Sun Feb 19 19:53:53 2012 -0500 Stale import commit 35aeb624de72ef81dc6f8978053edcebe1cee40f Author: Julian Berman Date: Sun Feb 19 19:48:16 2012 -0500 Upping the epsilon for checking floats' divisibleBy commit 1206175b307f58ac3747696965cdba2fa0c239da Author: Julian Berman Date: Sun Feb 12 15:37:10 2012 -0500 Expose .is_type, .error, .schema_error commit b5c159bf702ed78a5002e8fac06cbf744bea2737 Author: Julian Berman Date: Fri Feb 10 15:25:39 2012 -0500 Minor style fix commit 6555eb0cfc31800ae6fa76f7f344dd904262f71e Author: Julian Berman Date: Fri Feb 10 15:22:12 2012 -0500 Fixing a docstring commit add00db44d7822370b176acddd617040e117cd6b Author: Julian Berman Date: Fri Feb 10 15:20:52 2012 -0500 Meta schema validation commit 1537b5fcf68a642caaa1d60a88d2cf74dee440b8 Author: Julian Berman Date: Thu Feb 9 14:16:32 2012 -0500 Some more documentation commit b79320fa77e17b9e710f736c5b88ffd64e805c18 Author: Julian Berman Date: Mon Jan 30 22:55:56 2012 -0500 Ignore TODO scribbles. commit 7030485561ea6ca8ed557e47117a57033b4aac5f Author: Julian Berman Date: Mon Jan 30 22:41:13 2012 -0500 Added basic extends support. forthcoming (I hope) commit e169504250e709ae9e45a6afa1eb09af8f593011 Author: Julian Berman Date: Mon Jan 30 22:03:42 2012 -0500 Make the error message for additionals prettier Also fixes an unexpected bug in additionalItems. commit c205e546f550bb7d1d0c92f880e19796661ab955 Author: Julian Berman Date: Sun Jan 29 19:53:55 2012 -0500 Fixed additional{Properties,Items} to appropriately typecheck. commit 0fd249c320b971920407a1d4f2382c2552aed6d3 Author: Julian Berman Date: Fri Jan 20 00:30:40 2012 -0500 Minor cleanup + 'privatize' of _uniq commit b3ae1de431b2df4f9918c2029c5b51afcfb114d2 Author: Julian Berman Date: Wed Jan 18 19:29:09 2012 -0500 Adding uniqueItems with optional (recommended) dep on securetypes. commit 2a409776e2370e562851d1f01f22055b823e1d1d Author: Julian Berman Date: Mon Jan 16 19:04:38 2012 -0500 Being less clever. Github and PyPI don't like this directive. commit 54e5ae2af7ed40cc52cc6e319bd46015bbca6d73 Author: Julian Berman Date: Mon Jan 16 15:10:50 2012 -0500 Adding a basic readme, some classifiers, and bumped the version. commit a1db2118b25fd450e1ca34a8174005a5a194fa65 Author: Julian Berman Date: Mon Jan 16 15:07:13 2012 -0500 Minor: Changed a few errant %s's to %r's. commit 5d6910d544991eef9210ab2573b797add4b6cb73 Author: Julian Berman Date: Sun Jan 15 20:54:14 2012 -0500 Decimal test. commit ce63985a3d854c016985923d55e8716d5aa579c5 Author: Julian Berman Date: Sun Jan 15 20:42:51 2012 -0500 Make {max,min}{Items,Length} stricter, and 'clean up' type checking. commit 0500c5069db7e997bb71cdab497e6b8e8a17d5b2 Author: Julian Berman Date: Sun Jan 15 20:08:03 2012 -0500 Docstring commit c54d30f61e3dea2f5fd7b6eb9ace8ee2c0662a0b Author: Julian Berman Date: Sun Jan 1 21:49:14 2012 -0500 MANIFEST commit 1f0e66bf614fda68d0809b9fd7fae8e240cff618 Author: Julian Berman Date: Sun Jan 1 21:42:40 2012 -0500 Fixed setup.py commit b44a6c98f4853bb573c964f3e7a5fe694e95e7e8 Author: Julian Berman Date: Sun Jan 1 21:42:19 2012 -0500 __version__ bump commit e8b741e6a2f19c767d00db87b730ed7ae9d39ee5 Author: Julian Berman Date: Sun Jan 1 21:26:46 2012 -0500 Broke 2.5 test support. commit bb69bdded671a589f8ad0390db735570c1fe0105 Author: Julian Berman Date: Sun Jan 1 21:22:31 2012 -0500 A docstring, and unknown_type/unknown_property. commit f09af6c2a2300b76dbbf975074e0ce4922c24acc Author: Julian Berman Date: Sun Jan 1 20:47:29 2012 -0500 Parametrized Tests, Or, How I Learned To Stop Worrying and Make My Tests Look Like C commit 3f0ec54ad37282079e10c9d30071ed8fe89d4d24 Author: Julian Berman Date: Sat Dec 31 20:45:58 2011 -0500 Hey. Let's try not stopping on errors too. commit 34ff653e3b3a0eea199299a12b18f5faa4c7508b Author: Julian Berman Date: Sat Dec 31 19:47:08 2011 -0500 disallowed commit 49d3bb3dc015fe0cc231e5a15efa777571716b55 Author: Julian Berman Date: Fri Dec 30 15:28:21 2011 -0500 A few docstrings. commit 31bbe94cca31cfee4630ef3a7506e184c7bebf7e Author: Julian Berman Date: Fri Dec 30 15:10:10 2011 -0500 Missed a dep. commit 008e747fb8067edb5bec4ce80c1c2eda5fc71dad Author: Julian Berman Date: Fri Dec 30 14:03:11 2011 -0500 setup.py and tox commit 5d68fa84ee198942100579707b9929436475681d Author: Julian Berman Date: Fri Dec 30 14:03:01 2011 -0500 Py2.5+ Support. commit b18bb96b9bd74a1e52c607bd4ae6dcf924e7caf1 Author: Julian Berman Date: Fri Dec 30 12:45:45 2011 -0500 Renaming to jsonschema commit 75e9a5bf24c63911c58d6f3e320ea1e1b15d2034 Author: Julian Berman Date: Fri Dec 30 12:44:00 2011 -0500 enum, pattern, and divisibleBy commit 2c25dc77051fbdb10b7e5552f317edb72bb6bcc4 Author: Julian Berman Date: Thu Dec 29 22:36:53 2011 -0500 Initial commit debian/python3-jsonschema.install0000644000000000000000000000002112250765307014312 0ustar usr/lib/python3/ debian/tests/0000755000000000000000000000000012250765307010337 5ustar debian/tests/upstream-py20000644000000000000000000000005512250765307012632 0ustar #!/bin/sh set -e py.test -v -s jsonschema debian/tests/upstream-py30000644000000000000000000000005712250765307012635 0ustar #!/bin/sh set -e py.test-3 -v -s jsonschema debian/tests/control0000644000000000000000000000011312250765307011735 0ustar Tests: upstream-py2 upstream-py3 Depends: @, python-pytest, python3-pytest debian/rules0000755000000000000000000000121612250765307010255 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 PYTHON3:=$(shell py3versions -r) py3sdo=set -ex; $(foreach py, $(PYTHON3), $(py) $(1);) UPSTREAM_GIT = git://github.com/Julian/jsonschema.git -include /usr/share/openstack-pkg-tools/pkgos.make %: dh $@ --with python2,python3 override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) nosetests nosetests3 endif override_dh_auto_build: dh_auto_build $(call py3sdo, setup.py build) override_dh_auto_install: dh_auto_install $(call py3sdo, setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb) override_dh_auto_clean: dh_auto_clean rm -rf build rm -rf *.egg-info __pycache__ debian/source/0000755000000000000000000000000012250765307010475 5ustar debian/source/format0000644000000000000000000000001412250765307011703 0ustar 3.0 (quilt) debian/gbp.conf0000644000000000000000000000024012250765307010610 0ustar [DEFAULT] upstream-branch = master debian-branch = debian/unstable upstream-tag = v%(version)s compression = xz [git-buildpackage] export-dir = ../build-area/ debian/watch0000644000000000000000000000011412250765307010222 0ustar version=3 https://github.com/Julian/jsonschema/tags .*v(\d[\d\.]+)\.tar\.gz