Skip to content

Commit

Permalink
Merge branch 'release/0.2.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
erichiggins committed May 7, 2016
2 parents 484da0d + a92864f commit ee1056d
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.2
0.2.3
2 changes: 1 addition & 1 deletion gaek/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

__author__ = 'Eric Higgins'
__email__ = 'erichiggins@gmail.com'
__version__ = '0.2.2'
__version__ = '0.2.3'
16 changes: 9 additions & 7 deletions gaek/environ.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'


Expand Down Expand Up @@ -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():
Expand Down
1 change: 0 additions & 1 deletion gaek/ndb_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@

__author__ = 'Eric Higgins'
__copyright__ = 'Copyright 2013, Eric Higgins'
__version__ = '0.0.5'
__email__ = 'erichiggins@gmail.com'


Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
python-dateutil>=2.4.2
PyYAML~=3.10
2 changes: 0 additions & 2 deletions test_requirements.txt

This file was deleted.

0 comments on commit ee1056d

Please sign in to comment.