Commit 90c1c1b5 authored by Jon Wayne Parrott's avatar Jon Wayne Parrott Committed by GitHub

Release v0.5.0 (#98)

parent 54451fbd
Changelog
=========
v0.5.0
------
- Added ``app_engine.Signer``. (#97)
- Added ``crypt.Signer.from_service_account_file``. (#95)
- Fixed error handling in the oauth2 client. (#96)
- Fixed the App Engine system tests.
v0.4.0
------
......
......@@ -7,10 +7,10 @@ This library simplifies using Google's various server-to-server authentication
mechanisms to access Google APIs.
.. |build| image:: https://travis-ci.org/GoogleCloudPlatform/google-auth-library-python.svg?branch=master
:target: https://travis-ci.org/GoogleCloudPlatform//google-auth-library-python
:target: https://travis-ci.org/GoogleCloudPlatform/google-auth-library-python
.. |docs| image:: https://readthedocs.org/projects/google-auth/badge/?version=latest
:target: https://google-auth.readthedocs.io/en/latest/
.. |pypi| image:: https://img.shields.io/pypi/v//google-auth.svg
.. |pypi| image:: https://img.shields.io/pypi/v/google-auth.svg
:target: https://pypi.python.org/pypi/google-auth
Installing
......
......@@ -13,6 +13,8 @@
# All configuration values have a default; values that are commented out
# serve to show the default.
import pkg_resources
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
......@@ -64,9 +66,9 @@ author = 'Google, Inc.'
# built documents.
#
# The short X.Y version.
version = '0.4.0'
version = pkg_resources.get_distribution('google-auth').version
# The full version, including alpha/beta/rc tags.
release = '0.4.0'
release = version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
......
......@@ -204,7 +204,7 @@ class Signer(object):
key_id (str): An optional key id used to identify the private key.
Returns:
Signer: The constructed signer.
~google.auth.crypt.Signer: The constructed signer.
Raises:
ValueError: If the key cannot be parsed as PKCS#1 or PKCS#8 in
......@@ -242,7 +242,7 @@ class Signer(object):
format.
Returns:
Signer: The constructed signer.
~google.auth.crypt.Signer: The constructed signer.
Raises:
ValueError: If the info is not in the expected format.
......@@ -265,7 +265,7 @@ class Signer(object):
filename (str): The path to the service account .json file.
Returns:
Signer: The constructed signer.
~google.auth.crypt.Signer: The constructed signer.
"""
with io.open(filename, 'r', encoding='utf-8') as json_file:
data = json.load(json_file)
......
......@@ -29,7 +29,7 @@ with open('README.rst', 'r') as fh:
setup(
name='google-auth',
version='0.4.0',
version='0.5.0',
author='Google Cloud Platform',
author_email='jonwayne+google-auth@google.com',
description='Google Authentication Library',
......
......@@ -70,7 +70,7 @@ deps =
commands = make -C docs html
[testenv:lint]
basepython = python3.5
basepython = python3.4
commands =
python setup.py check --metadata --restructuredtext --strict
flake8 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment