diff --git a/VERSION b/VERSION index ee1372d..7179039 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.2.2 +0.2.3 diff --git a/gaek/__init__.py b/gaek/__init__.py index 85b98d9..24b3962 100755 --- a/gaek/__init__.py +++ b/gaek/__init__.py @@ -2,4 +2,4 @@ __author__ = 'Eric Higgins' __email__ = 'erichiggins@gmail.com' -__version__ = '0.2.2' +__version__ = '0.2.3' diff --git a/gaek/environ.py b/gaek/environ.py index 1f04e0a..32cf6a0 100644 --- a/gaek/environ.py +++ b/gaek/environ.py @@ -3,23 +3,25 @@ Environment discovery and helper functions for Google App Engine. Some methods from the following modules have been made available for convenience: -* [`google.appengine.api.app_identity`](https://cloud.google.com/appengine/docs/python/appidentity/) -* [`google.appengine.api.modules`](https://cloud.google.com/appengine/docs/python/modules/) -* [`google.appengine.api.namespace_manager`](https://cloud.google.com/appengine/docs/python/multitenancy/) +* google.appengine.api.app_identity + https://cloud.google.com/appengine/docs/python/appidentity/ +* google.appengine.api.modules + https://cloud.google.com/appengine/docs/python/modules/ +* google.appengine.api.namespace_manager + https://cloud.google.com/appengine/docs/python/multitenancy/ Example: - import environ + import gaek.environ # Only send emails in production. - if environ.is_production(): + if gaek.environ.is_production(): mail.send(*args, **kwargs) """ __author__ = 'Eric Higgins' __copyright__ = 'Copyright 2015, Eric Higgins' -__version__ = '0.0.1' __email__ = 'erichiggins@gmail.com' @@ -92,7 +94,7 @@ def is_host_google(): def is_default_version(version=None): """True if the current or specified app version is the default.""" version = version or get_current_version_name() - return get_current_version_name() == get_default_version() + return version == get_default_version() def is_development(): diff --git a/gaek/ndb_json.py b/gaek/ndb_json.py index 8e0b741..477d57f 100644 --- a/gaek/ndb_json.py +++ b/gaek/ndb_json.py @@ -28,7 +28,6 @@ __author__ = 'Eric Higgins' __copyright__ = 'Copyright 2013, Eric Higgins' -__version__ = '0.0.5' __email__ = 'erichiggins@gmail.com' diff --git a/requirements.txt b/requirements.txt index bb43fdb..26b0361 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1 @@ python-dateutil>=2.4.2 -PyYAML~=3.10 diff --git a/test_requirements.txt b/test_requirements.txt deleted file mode 100644 index 8d6b195..0000000 --- a/test_requirements.txt +++ /dev/null @@ -1,2 +0,0 @@ -python-dateutil>=2.4.2 -PyYAML==3.10