Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* release/2.0.0: (34 commits) Bump version: 1.2.0 → 2.0.0 add example update history prepare history and setup.py for release update docs update travis secure key test connect object more tests update docs, fix 2.6 tests fix spam saving cleanup make delete work renamed tests, test deserialization more cleanup fix regression tests, cleanup cleanup scaffold and organize tests, error_handling on serializer baseclass use dynamic serializer dynamically tweak refactored baseclasses, to make JSON serializer easily swappable ...
- Loading branch information
Showing
60 changed files
with
3,191 additions
and
938 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
; vi:syntax=ini | ||
; See https://coverage.readthedocs.org/en/coverage-4.0.3/config.html | ||
|
||
[run] | ||
data_file = .coverage | ||
source = | ||
json_config | ||
|
||
; debug = config | ||
; branch = False | ||
; include = | ||
; json_config/ | ||
; omit = | ||
; tests/ | ||
|
||
[report] | ||
fail_under = 80 | ||
show_missing = True | ||
omit = | ||
json_config/_compat.py | ||
|
||
; exclude_lines = | ||
; (?i)#\s*pragma[:\s]?\s*no\s*cover | ||
; include_errors = False | ||
; include = | ||
; json_config/ | ||
; skip_covered = False | ||
|
||
[html] | ||
directory = .htmlcov | ||
title = json_config coverage report |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,66 @@ | ||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Packages | ||
*.egg | ||
*.egg-info | ||
dist | ||
build | ||
eggs | ||
parts | ||
bin | ||
var | ||
sdist | ||
develop-eggs | ||
|
||
# Distribution / packaging | ||
.Python | ||
env/ | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
*.egg-info/ | ||
.installed.cfg | ||
lib | ||
lib64 | ||
*.egg | ||
|
||
# PyInstaller | ||
# Usually these files are written by a python script from a template | ||
# before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
*.manifest | ||
*.spec | ||
|
||
# Installer logs | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
|
||
# Unit test / coverage reports | ||
.htmlcov/ | ||
.tox/ | ||
.coverage | ||
.tox | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
*,cover | ||
.hypothesis/ | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
|
||
# Mr Developer | ||
.mr.developer.cfg | ||
.project | ||
.pydevproject | ||
# Django stuff: | ||
*.log | ||
|
||
# Complexity | ||
output/*.html | ||
output/*/index.html | ||
|
||
# Sphinx | ||
docs/build | ||
# Sphinx documentation | ||
docs/_build/ | ||
|
||
# Pycharm | ||
.idea/ | ||
.eggs/ | ||
compiled/ | ||
|
||
# PyBuilder | ||
target/ | ||
|
||
# pip wheels | ||
wheelhouse/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
diff --git i/requirements_dev.txt w/requirements_dev.txt | ||
index 13adb71..e2087c6 100644 | ||
--- i/requirements_dev.txt | ||
+++ w/requirements_dev.txt | ||
@@ -24,8 +24,10 @@ ipython==4.0.1 # via ipdb | ||
jinja2==2.8 # via sphinx | ||
markupsafe==0.23 # via jinja2 | ||
mccabe==0.3.1 # via flake8 | ||
+mock==1.3.0 | ||
path.py==8.1.2 # via pickleshare | ||
pathtools==0.1.2 # via watchdog | ||
+pbr==1.8.1 # via mock | ||
pep8==1.5.7 # via flake8 | ||
pexpect==4.0.1 # via ipython | ||
pickleshare==0.5 # via ipython | ||
@@ -43,7 +45,7 @@ pytz==2015.7 # via babel | ||
pyyaml==3.11 | ||
restructuredtext-lint==0.14.0 | ||
simplegeneric==0.8.1 # via ipython | ||
-six==1.10.0 # via cryptography, pip-tools, sphinx | ||
+six==1.10.0 # via cryptography, mock, pip-tools, sphinx | ||
snowballstemmer==1.2.1 # via sphinx | ||
sphinx-rtd-theme==0.1.9 # via sphinx | ||
sphinx==1.3.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,39 @@ | ||
language: python | ||
python: 2.7 | ||
|
||
python: | ||
- "3.5" | ||
|
||
install: | ||
- pip install tox --use-mirrors | ||
- pip install coveralls | ||
- pip install tox coveralls | ||
|
||
env: | ||
- TOXENV=py27 | ||
- TOXENV=py32 | ||
- TOXENV=py33 | ||
- TOXENV=py35 | ||
- TOXENV=py34 | ||
- TOXENV=py33 | ||
- TOXENV=py27 | ||
- TOXENV=py26 | ||
- TOXENV=pypy | ||
- TOXENV=docs | ||
|
||
# command to run tests, e.g. python setup.py test | ||
script: | ||
- tox -e $TOXENV | ||
- coverage run --source=json_config setup.py test | ||
- coverage run setup.py test | ||
|
||
after_success: | ||
coveralls | ||
- coveralls | ||
|
||
deploy: | ||
provider: pypi | ||
distributions: sdist bdist_wheel | ||
user: bionikspoon | ||
password: | ||
secure: !!binary | | ||
ZkJNaXJhNFBSWTlMeEZEaU5nSlV2OFlKVkVLT2JpVnd2KzFoVWFWMkYvdXJDSTkzemJ2WmcxUWpS | ||
UmgwODFnYVF2VFFYTmxoZTdsclNJSUQwS2RXaysxK2p3b1Y4QjBwZmJKTHBGRDMxOVdOc0dOeXpN | ||
ZnBCUUgrWjc4WTFYZmluMWJJTVFEU3RhLzJFK0NnMXZzTVNKL1hac2Qyb01SWTB1c0U4NE94eDZN | ||
PQ== | ||
on: | ||
tags: true | ||
repo: bionikspoon/json_config | ||
condition: $TOXENV == py35 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.