Commit Graph

76 Commits

Author SHA1 Message Date
Brian Waldon 19b2b3e103 Release version 1.3.0 2016-06-25 11:13:15 -07:00
Brian Waldon d1b16182c3 Run python setup.py develop in Travis 2016-06-25 11:08:28 -07:00
Victor Costan 4f839e8fdb Better error message on __setitem__ failure (#22)
repr helps distinguish between strings and integers
2016-06-25 11:06:43 -07:00
Brian Waldon 632a78601d Update HACKING.txt 2016-06-25 11:05:23 -07:00
Brian Waldon a2d0041ace flake8 compliance 2016-06-25 11:04:19 -07:00
Brian Waldon b7b22e5972 Use py.test and flake8 in Travis CI 2016-06-25 10:59:48 -07:00
David Johnson 64a771d151 Allow a resolver to be set on the Model 2016-06-25 10:49:15 -07:00
Alex Turek 9d89de02df Implement copy magic methods on Model
- Add Model.__copy__
- Add Model.__deepcopy__
2016-06-25 10:48:53 -07:00
Brian Waldon 59c79b8c21 Setup Travis CI config 2016-06-25 10:41:34 -07:00
Brian Waldon 3e046b84b8 bump version to 1.2.0 2015-10-12 10:09:05 -07:00
Brian Waldon 0646fcab47 Merge pull request #19 from graingert/patch-1
Support universal wheels
2015-10-12 13:07:38 -04:00
Thomas Grainger 091686ddc5 Support universal wheels 2015-10-02 00:48:00 +01:00
Brian Waldon 3811a1e742 Merge pull request #18 from wackywendell/master
Make 'name' optional
2015-08-03 10:12:27 -07:00
Wendell Smith 5c077e0136 Test naming scheme 2015-06-22 16:56:20 -04:00
Wendell Smith 5b13d4201d Optional name 2015-06-22 16:56:06 -04:00
Wendell Smith 9dca65662e Use python 3.4 2015-06-22 16:55:05 -04:00
Brian Waldon a73b25215a Merge pull request #17 from jacquerie/issue-13
Compare JSON strings as JSON instead of strings.
2015-05-11 11:12:33 -07:00
Jacopo Notarstefano 279384fe93 Compare JSON strings as JSON instead of strings.
Fixes #13.
2015-04-13 10:13:54 +02:00
Brian Waldon a398784748 Merge pull request #12 from apevec/master
LICENSE.txt was missing in the source tarball
2013-10-12 13:53:24 -07:00
Alan Pevec bf9ad4e42b LICENSE.txt was missing in the source tarball
it was renamed in c4d87ac700
2013-10-10 01:07:23 +02:00
Brian Waldon 60c667e1fd Merge pull request #11 from isethi/validation
Add description to exception messages
2013-09-14 08:39:07 -07:00
iccha.sethi 97d6f13fe2 Add description to exception messages
Add description to exception messages, so users know how they
violated the schema.
2013-09-06 13:59:26 -04:00
Chuck Short 1a0de8a67d Add python3 support
Signed-off-by: Chuck Short <chuck.short@canonical.com>
2013-07-23 07:10:27 -07:00
Brian Waldon 460080eb27 Update version to 1.0.1 2013-06-28 09:47:26 -07:00
Brian Waldon 8f19350195 Merge pull request #8 from dirkmueller/master
Allow jsonschema 2.0.0
2013-06-28 09:40:52 -07:00
Dirk Mueller cf9762b9b5 jsonschema 2.0.0 passes unit tests as well
Allow jsonschema 2.0.0, restrict to <3
2013-06-22 16:18:14 +02:00
Brian Waldon 10f3fa765f Bump version to 1.0.0 2013-04-26 10:13:54 -07:00
Brian Waldon 9b030794ad Trigger DeprecationWarning in Model.changes 2013-04-26 10:13:54 -07:00
Brian Waldon 4f9d175541 Modify jsonpatch dep to >=0.10,<2 2013-04-26 10:13:24 -07:00
Brian Waldon c9775d94cf Bump version to 0.8.2 2013-03-25 09:44:58 -07:00
Brian Waldon 825fc4f98b Merge pull request #5 from saschpe/master
Allow jsonschema<2.0 too.
2013-02-25 10:34:10 -08:00
Sascha Peilicke 46144e6831 Allow jsonschema<2.0 too.
Tests still pass and we need it for openSUSE.
2013-02-25 19:32:00 +01:00
Brian Waldon 694756c2cd Bump version to 0.8.1 2013-01-31 07:46:08 -08:00
Brian Waldon 6d13c02ad4 Update README with JSON Patch example
Also, replace the remaining tabs with spaces.
2013-01-31 07:45:33 -08:00
Brian Waldon c55fca16a5 Move HACKING to HACKING.txt 2013-01-31 07:17:02 -08:00
Brian Waldon c4d87ac700 Add license headers to source files 2013-01-31 07:16:37 -08:00
Brian Waldon 286c8dbcc3 Update version to 0.8.0 2013-01-21 09:27:49 -08:00
Brian Waldon d5cdd5c561 Relax jsonpatch dep to >=0.10,<=0.12 2013-01-21 09:27:49 -08:00
Brian Waldon 455fe617d9 Rename Model method validator to validate 2013-01-21 09:27:49 -08:00
Brian Waldon c0e7fba643 Adding documentation of Model methods 2013-01-21 09:27:49 -08:00
Rob c2c4461930 Made validator inheritable by base classes. 2013-01-21 09:27:44 -08:00
Rob 98a44c6601 Break up core pieces into separate modules
- Create model.py to hold the core Model class
- Create exceptions.py to hold all custom exceptions
2012-12-22 15:39:09 -08:00
Brian Waldon e8f0a5ade7 Bump version to 0.7.0 2012-11-26 12:26:25 -05:00
Brian Waldon c265073862 Use jsonpatch to provide a JSON patch document
The attribute "patch" of a model now returns a string
representing all of the operations that have occurred
on the model since it was created in JSON patch form.
2012-11-26 12:23:12 -05:00
Brian Waldon ec39437bfd Allow delattr and del operations 2012-11-26 11:40:09 -05:00
Brian Waldon d34e169d1e Update README to reflect exception output 2012-11-19 14:08:18 -08:00
Brian Waldon c8e3fbd246 Bump version to 0.6.0 2012-11-19 14:00:54 -08:00
Brian Waldon 40abb76f3b Add helful text to Exceptions
Fixes issue #2
2012-11-19 13:59:22 -08:00
Brian Waldon cd69c88a69 Update jsonschema dep to >=0.7,<1 2012-11-19 13:45:55 -08:00
Brian Waldon 53c43921c8 Bump version to 0.5.0 2012-10-09 10:53:11 -07:00