Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Optimize "deep" ``replace`` operation, fixes #36 | Stefan Kögl | 2016-02-13 | 1 | -0/+18 | |
| | | ||||||
* | | Add failing test for #40 | Stefan Kögl | 2015-11-03 | 1 | -0/+7 | |
| | | ||||||
* | | Allow running certain tests separately | selurvedu | 2015-10-24 | 1 | -19/+19 | |
| | | | | | | | | | | E.g. `python2 -m unittest tests.MakePatchTestCase.test_objects` or `nose tests:MakePatchTestCase.test_objects`. | |||||
* | | Fix tests for Python 3.2v1.19v1.10 | Stefan Kögl | 2015-05-07 | 1 | -1/+1 | |
| | | ||||||
* | | Fix make_patch with unicode paths | Stefan Kögl | 2015-05-07 | 1 | -0/+8 | |
|/ | ||||||
* | raise JsonPatchException on missing patch attributes | Stefan Kögl | 2014-07-03 | 1 | -1/+3 | |
| | ||||||
* | Fix make_patch() when root is an array (fixes #28) | Stefan Kögl | 2014-06-24 | 1 | -0/+8 | |
| | ||||||
* | fix test for Python 3 | Stefan Kögl | 2014-03-22 | 1 | -1/+1 | |
| | ||||||
* | fix make_patch where obj keys contain "/", fixes #26 | Stefan Kögl | 2014-03-22 | 1 | -0/+7 | |
| | ||||||
* | Optimize jsonpatch.make_patch for lists. Fixes #24 | Alexander Shorin | 2014-03-22 | 1 | -0/+37 | |
| | | | | | | | | | This optimization tries to work only with really different lists subsequences and trying to preserve as much as possible common ones. This reduces overall of generated operations since now it's possible to simple insertions. Also, it converts pairs of remove-add operations into single replace (if target path is the same) or move (if target value is the same). | |||||
* | Catch KeyError when accessing the sub-doc items | Lucas Alvares Gomes | 2014-02-03 | 1 | -0/+17 | |
| | ||||||
* | allow moving array items into other items in same array | Johan Forsberg | 2014-01-11 | 1 | -0/+6 | |
| | ||||||
* | add test for replacing missing obj | Stefan Kögl | 2013-07-12 | 1 | -0/+6 | |
| | ||||||
* | test for repace outside of list | Stefan Kögl | 2013-07-12 | 1 | -1/+4 | |
| | ||||||
* | add test for replaceing whole document by "add" | Stefan Kögl | 2013-07-12 | 1 | -0/+6 | |
| | ||||||
* | add various tests | Stefan Kögl | 2013-07-12 | 1 | -0/+32 | |
| | ||||||
* | test equality of patch operations to other objs | Stefan Kögl | 2013-07-12 | 1 | -0/+6 | |
| | ||||||
* | test some invalid inputs | Stefan Kögl | 2013-07-11 | 1 | -0/+17 | |
| | ||||||
* | test __str__() and to_string() | Stefan Kögl | 2013-07-11 | 1 | -0/+7 | |
| | ||||||
* | add test for comparing patches to other types | Stefan Kögl | 2013-07-09 | 1 | -0/+7 | |
| | ||||||
* | rework coverage calculation for coveralls.io | Stefan Kögl | 2013-07-08 | 1 | -23/+0 | |
| | ||||||
* | Fixed replacing whole document | William Kral | 2013-06-23 | 1 | -0/+5 | |
| | | | | | | | | - json pointer to_last operation returns None for the part in the case that it is a whole document pointer - json patch now checks to see if the part is None and simply returns the value to replace the document - Added a test to verify the fix | |||||
* | use unicode literals and update tests | Stefan Kögl | 2013-04-13 | 1 | -0/+2 | |
| | ||||||
* | add missing assert in test_append() | Stefan Kögl | 2012-12-17 | 1 | -0/+1 | |
| | ||||||
* | fix incorrect JsonPatch.__hash__(), fixes #11 | Stefan Kögl | 2012-12-14 | 1 | -7/+19 | |
| | ||||||
* | add coverage to tests | Stefan Kögl | 2012-11-15 | 1 | -3/+42 | |
| | ||||||
* | use jsonpointer, update to current spec draft | Stefan Kögl | 2012-11-15 | 1 | -0/+14 | |
| | ||||||
* | implement __has__, __eq__ for JsonPatch, PatchOperation | Stefan Kögl | 2012-09-28 | 1 | -0/+16 | |
| | ||||||
* | use new (more verbose) syntax from spec draft 5 | Stefan Kögl | 2012-09-28 | 1 | -23/+23 | |
| | ||||||
* | update "test" behaviour according to latest spec | Stefan Kögl | 2012-09-17 | 1 | -1/+29 | |
| | ||||||
* | "copy" operation should copy by value, not by reference, fixes #8 | Stefan Kögl | 2012-09-14 | 1 | -0/+12 | |
| | ||||||
* | add "copy" operation, fixes #7 | Stefan Kögl | 2012-09-11 | 1 | -0/+14 | |
| | ||||||
* | ref current spec, add its new test case | Stefan Kögl | 2012-09-05 | 1 | -0/+10 | |
| | | | | | | | | the updated spec [1] didn't change anything that would make a new version of python-json-patch necessary. This commit only updates the reference to the current version, and adds a new example [1] http://tools.ietf.org/html/draft-ietf-appsawg-json-patch-03 | |||||
* | Add forgotten test case. | Alexander Shorin | 2012-07-15 | 1 | -0/+7 | |
| | ||||||
* | Let apply_patch to handle patch as JSON-encoded string. | Alexander Shorin | 2012-06-16 | 1 | -0/+8 | |
| | ||||||
* | Revert to original apply_patch() behavior and make f3f3410 changes optional. | Alexander Shorin | 2012-01-05 | 1 | -23/+50 | |
| | ||||||
* | Add make_patch function to generate JsonPatch by comparing of two documents. | Alexander Shorin | 2011-12-25 | 1 | -0/+29 | |
| | ||||||
* | Rework tests. | Alexander Shorin | 2011-12-25 | 1 | -29/+58 | |
| | ||||||
* | compatibility with Python 2.6+ and Python 3.xv0.1 | Stefan Kögl | 2011-06-23 | 1 | -2/+3 | |
| | ||||||
* | add test.py to run doctests | Stefan Kögl | 2011-06-20 | 1 | -0/+43 | |