Commit Graph

738 Commits

Author SHA1 Message Date
Bouke Haarsma 0eb8a89577 Added CLI format checking 2014-05-04 17:49:45 -04:00
Bouke Haarsma b535522074 Fixed #134 -- Added CLI interface 2014-05-04 17:49:45 -04:00
Julian Berman 7013e805c7 Support 3.4 2014-05-04 17:49:45 -04:00
Julian Berman 0da93e8cb3 For my sanity, just depend on setuptools. 2014-05-04 17:49:45 -04:00
Julian Berman 83e810c24a Load meta-schemas via pkgutil rather than searching the filesystem.
Hopefully this makes things like cx_Freeze work, but they appear to all be
special snowflakes and this doesn't appear easy to test.

Credit to @pjdelport for helping clear away some of the smoke.

Closes #161, #162
2014-04-27 18:32:35 -04:00
Julian Berman 6f071cc303 Reorder toxenvs. 2014-04-27 18:27:09 -04:00
Julian Berman 812e07b259 Remove py33 from tox. 2014-04-27 15:37:35 -04:00
Julian Berman 0154fd200e Less repetitive repetetive. 2014-04-27 15:36:59 -04:00
Julian Berman b576c08e4c Point at 2.7 2014-04-27 15:35:58 -04:00
Julian Berman 161f3078ba Squashed 'json/' changes from 0ba6722..ddef9b0
ddef9b0 Add a note to the README about running sanity checks.
f93cc55 Shorten the descriptions slightly.
dd9a876 Merge remote-tracking branch 'fge/develop' into develop
bc84af3 Add string length tests for supplementary Unicode code points

git-subtree-dir: json
git-subtree-split: ddef9b0415461ca948f3c0605e2eb2cc40981b95
2014-04-13 19:35:57 -04:00
Julian Berman 2eadcc3516 Skip the new unicode tests on narrow builds which don't know about surrogates. 2014-04-13 19:35:57 -04:00
Julian Berman 7496cb3675 Merge pull request #157 from cdeil/docs_github_link
Link from top-level docs page to GitHub?
2014-04-13 09:40:49 -04:00
Christoph Deil afbef50bb0 Add link from docs to GitHub (fixes #157) 2014-04-13 14:29:49 +02:00
Julian Berman 99fd549f67 Revert "Maybe Travis supports 3.4"
This reverts commit 99d39f34f1.
2014-04-12 21:35:36 -04:00
Julian Berman 99d39f34f1 Maybe Travis supports 3.4 2014-04-12 21:30:56 -04:00
Julian Berman 68f203b5f0 Fix a small typo and remove trailing whitespace. 2014-04-12 21:29:24 -04:00
Julian Berman 85aa2ab548 Merge remote-tracking branch 'heckj/patch-1'
* heckj/patch-1:
  updating per feedback
  adding in examples and links
2014-04-12 21:22:58 -04:00
Julian Berman ef3e419746 Fix a resource leak. 2014-04-02 18:13:36 -04:00
Julian Berman be7cb49a17 Build for 3.4 as well. 2014-04-02 17:57:19 -04:00
Julian Berman dca5999f25 Merge pull request #153 from asottile/faq_defaulting_validator
Update FAQ with example of using defaulting validator.
2014-04-02 08:46:55 -04:00
Anthony Sottile 73f774e02b Update FAQ with example of using defaulting validator.
The faq example was useful but when used directly with the `validate` method it failed.  I felt the little tidbit about that would be useful to pass along.
2014-03-31 22:43:35 -07:00
Joseph Heck ac0dee4bda updating per feedback
updating per feedback
2014-03-09 20:45:02 -07:00
Joseph Heck f9b1e3225f adding in examples and links
* Adding in an example of using the schema validator
* Adding in a link to 'Understanding JSON Schema' at http://spacetelescope.github.io/understanding-json-schema/
2014-03-09 17:04:29 -07:00
Julian Berman 1ca7d219e6 As per the spec, only dotted-quad IPv4 addresses are valid.
Closes: #149
2014-02-19 20:36:31 -05:00
Julian Berman 11490dfed3 Merge commit 'd97c81177b325010d2a67ad45642f4ff2bf25425'
* commit 'd97c81177b325010d2a67ad45642f4ff2bf25425':
  Squashed 'json/' changes from 468fa78..0ba6722
2014-02-19 20:24:03 -05:00
Julian Berman d97c81177b Squashed 'json/' changes from 468fa78..0ba6722
0ba6722 As per the spec, only dotted-quad is an acceptable format for IPv4 addresses.
6c3ca30 Merge pull request #51 from ericgj/add/validator
9cbcd43 Merge pull request #50 from ericgj/add/not-blank-schema-test
78bccaf add json-schema-valid to list of validators
4fe00e9 add 'forbidden property' test (not with blank schema)
cd2aa75 Merge pull request #49 from Acubed/develop
1186813 Add the enum/required test to draft4 too
30ca2fd Add tests for required/not required values with enums
ae3050a Add Jsonary and tv4 to the list
6c02fd0 Merge pull request #47 from iclanzan/patch-1
dff064d Added Jassi library to the list.

git-subtree-dir: json
git-subtree-split: 0ba672265758f09405b14a6508ff696a35e857ca
2014-02-19 20:24:02 -05:00
Julian Berman 121056f4b5 Fix the doctest 2014-01-05 16:13:29 -05:00
Julian Berman f13ac35b63 Don't floatify the instance in minimum/maximum messages. 2013-12-26 11:53:38 -05:00
Julian Berman 44b35706a7 Add absolute path and absolute schema path.
Closes #120
2013-12-25 13:27:46 -05:00
Julian Berman 8eae430d66 Remove indirection. 2013-12-25 10:46:06 -05:00
Julian Berman cfa287cd7d Another leftover from unicode_literals 2013-12-25 10:31:22 -05:00
Julian Berman b15e7588da Minor cleanup. 2013-12-25 10:23:17 -05:00
Julian Berman 80495381f7 Add `relevance`, hopefully less confusing to directly use than by_relevance(). 2013-12-24 22:08:42 -05:00
Julian Berman 93465e5308 Flake8 2013-12-24 21:41:23 -05:00
Julian Berman 7c0d3073f2 Minor formatting. 2013-12-22 20:02:25 -05:00
Julian Berman 2252edaa49 Remove a lie. 2013-12-15 19:07:39 -05:00
Julian Berman e8e4266d6f Fix RTD links 2013-12-15 19:05:47 -05:00
Julian Berman 8046bc3b83 Take 3. 2013-12-08 22:13:43 -05:00
Julian Berman bf565c976b Or maybe this does. 2013-12-08 15:17:08 -05:00
Julian Berman c0068798ad Maybe this satisfies Travis. 2013-12-08 15:04:28 -05:00
Julian Berman d67b595ca5 Add 2.6 2013-12-08 14:55:24 -05:00
Julian Berman bd8f983f97 Minor cleanup 2013-12-08 14:36:41 -05:00
Julian Berman eb557da58c Enable branch coverage and show report on the command line.
Closes #137
2013-12-08 14:34:08 -05:00
Julian Berman 00e05898bc Update classifiers. 2013-12-08 14:08:27 -05:00
Julian Berman bc42f4da6a Drop support for 3.2 2013-12-01 20:29:40 -05:00
Julian Berman bbbc8f8c22 Don't mix unicode and bytes when loading schemas.
Get rid of stupid from __future__ import unicode_literals in places, which was
causing these to be unicode.
2013-12-01 20:26:53 -05:00
Julian Berman 3de5b177c7 Use setuptools if present. 2013-11-23 20:26:59 -05:00
Julian Berman 537f878b52 Build universal wheels. 2013-11-23 20:25:50 -05:00
Julian Berman d5df8519f1 Make it even more explicit that extend/create operate on classes and return classes. 2013-11-12 07:55:28 -05:00
Julian Berman 35b60f3900 Release v2.3.0 2013-11-02 20:53:22 -04:00