diff --git a/.gitignore b/.gitignore index 51cbe85..d8496a8 100644 --- a/.gitignore +++ b/.gitignore @@ -21,6 +21,7 @@ var/ *.egg-info/ .installed.cfg *.egg +.eggs/ # Installer logs pip-log.txt diff --git a/.travis.yml b/.travis.yml index d0a03e9..8fe7f1e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,9 +5,9 @@ python: - '3.3' - '2.7' install: -- pip install -r requirements.txt + - pip install -r requirements.txt + - pip install coveralls script: -- python setup.py test -notifications: - flowdock: - secure: NLWhZq2aD3ewRciEzJVcIeWKKaBt34loZqWITiI+XA3vyUkyW7BSo46ssZMPEfepdCu4ASiXJOwdMy0IummtW3WMSVjIpZ9OUUJX20inR0yk1YxaQ2kZdDGuFe/aSP3usFX3Bz6o1ufme3LwLQXhrKt79uI6r2JOz4VnK4nZE3k= + - coverage run --source=rinse setup.py test +after_success: + - coveralls diff --git a/CHANGELOG.rst b/CHANGELOG.rst new file mode 100644 index 0000000..66bdc45 --- /dev/null +++ b/CHANGELOG.rst @@ -0,0 +1,54 @@ +Changelog +========= + +0.3.0 +----- +* Add 'SOAPAction' header to requests. +* Expose requests.Session. +* Include missing XSD files in package data. +* Add Python 3.4 to test builds. + +0.2.0 +----- +* Declared BETA status. +* Homepage URL set to https://rinse.readthedocs.org/. + +0.1.3 +----- +* Add links to README. + +0.1.2 +----- +* Added Sphinx documentation. + +0.1.1 +----- +* Add ElementMaker wrapper class and safe_parse_url function. +* Add travis-ci.org build configuration. +* Split features into submodules. + +0.1.0 +----- +* Support for WSDL. +* Simplified usage through use of SoapClient and SoapMessage classes. + +0.0.5 +----- +* Pylint/PEP8/pychecker fixes. + +0.0.4 +----- +* Remove reference to stale source (client.py). + +0.0.3 +----- +* Add defused.xml to requirements. + +0.0.2 +----- +* Validate messages against SOAP 1.1 Envelope and SOAP 1.2 XML schema. +* Add support for WSSE (Security) headers. + +0.0.1 +----- +* Generate SOAP requests and parse SOAP 1.1 responses. \ No newline at end of file diff --git a/README.rst b/README.rst index 7d49e98..e215edf 100644 --- a/README.rst +++ b/README.rst @@ -3,14 +3,29 @@ rinse Rinse_ is a Python SOAP client using lxml_, requests_ and defusedxml_. -.. image:: https://travis-ci.org/tysonclugg/rinse.svg?branch=master +.. image:: https://img.shields.io/pypi/v/rinse.svg + :target: https://pypi.python.org/pypi/rinse/ + :alt: Latest Version + +.. image:: https://img.shields.io/pypi/pyversions/rinse.svg + :target: https://pypi.python.org/pypi/rinse/ + :alt: Latest Version + +.. image:: https://readthedocs.org/projects/rinse/badge/?version=latest + :target: https://rinse.readthedocs.org/ + :alt: Documentation + +.. image:: https://img.shields.io/travis/tysonclugg/rinse.svg :target: https://travis-ci.org/tysonclugg/rinse :alt: Build Status - :align: right + +.. image:: https://img.shields.io/coveralls/tysonclugg/rinse.svg + :target: https://coveralls.io/github/tysonclugg/rinse + :alt: Coverage Rinse_ works with both Python 2 and Python 3. Continuous integration -testing is performed against the latest python 2.7 and python 3.3 -releases. +testing is performed against the latest python 2.7, python 3.3 and +python 3.4 releases. The name "rinse" refers to its dictionary meaning, such as the act of removing soap suds from something using water. diff --git a/bumpversion.sh b/bumpversion.sh new file mode 100755 index 0000000..fa0e05a --- /dev/null +++ b/bumpversion.sh @@ -0,0 +1,3 @@ +#!/bin/sh +cd "${0%/*}" +cat setup.py | sed -e "s/version='[0123456789]\{1,\}\.[0123456789]\{1,\}\.[01234567989]\{1,\}'/version='$( git rev-parse --abbrev-ref HEAD | cut -d / -f 2 )'/" > setup.py diff --git a/docs/index.rst b/docs/index.rst index 513b1c4..1dcd491 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -45,6 +45,8 @@ Indices and tables * :ref:`modindex` * :ref:`search` +.. include:: ../CHANGELOG.rst + License ======= .. include:: ../LICENSE diff --git a/rinse/client.py b/rinse/client.py index c9956a8..d327173 100644 --- a/rinse/client.py +++ b/rinse/client.py @@ -33,7 +33,7 @@ def _session(self, session): self.__session = session def __call__(self, msg, action="", build_response=RinseResponse, - debug=False): + debug=False): """Post 'msg' to remote service.""" # generate HTTP request from msg request = msg.request(self.url, action).prepare() diff --git a/setup.py b/setup.py index 79199e6..2a75308 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup( name='rinse', - version='0.2.0', + version='0.3.0', description='SOAP client built with lxml and requests.', long_description=open('README.rst').read(), author='Tyson Clugg', @@ -21,8 +21,9 @@ tests_require=['mock'], classifiers=[ "Development Status :: 4 - Beta", - "Programming Language :: Python :: 2", - "Programming Language :: Python :: 3", + "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3.3", + "Programming Language :: Python :: 3.4", "License :: OSI Approved :: MIT License", "Topic :: Communications", "Topic :: Internet :: WWW/HTTP",