Skip to content

Commit

Permalink
Release v0.5.0 (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Wayne Parrott authored Dec 14, 2016
1 parent 54451fb commit 90c1c1b
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 9 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
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
------

Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -64,9 +66,9 @@
# 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.
Expand Down
6 changes: 3 additions & 3 deletions google/auth/crypt.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def from_string(cls, key, key_id=None):
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
Expand Down Expand Up @@ -242,7 +242,7 @@ def from_service_account_info(cls, info):
format.
Returns:
Signer: The constructed signer.
~google.auth.crypt.Signer: The constructed signer.
Raises:
ValueError: If the info is not in the expected format.
Expand All @@ -265,7 +265,7 @@ def from_service_account_file(cls, filename):
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)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

setup(
name='google-auth',
version='0.4.0',
version='0.5.0',
author='Google Cloud Platform',
author_email='[email protected]',
description='Google Authentication Library',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 90c1c1b

Please sign in to comment.