From 222bf2d81680e73f09f7798df2556c017b373fca Mon Sep 17 00:00:00 2001 From: Harald Nezbeda Date: Fri, 9 Jun 2017 08:28:57 +0200 Subject: [PATCH] Fixes runtime dict key, bump version to 1.0.0 --- anexia_monitoring/views.py | 6 +++--- setup.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/anexia_monitoring/views.py b/anexia_monitoring/views.py index 67d9785..f2190e6 100644 --- a/anexia_monitoring/views.py +++ b/anexia_monitoring/views.py @@ -38,7 +38,7 @@ def options(self, request, *args, **kwargs): class MonitorModulesView(BaseView): """ A view that returns a list of all modules installed on the current environment, having current and latest version - of the module. It also contains information about the platform (python and django version). + of the module. It also contains information about the runtime (python and django version). """ @access_token_check @@ -61,7 +61,7 @@ def get(self, request, *args, **kwargs): 'newest_version': package_data['latest_release'], }) - platform = { + runtime = { 'platform': 'python', 'platform_version': sys.version, 'framework': 'django', @@ -70,7 +70,7 @@ def get(self, request, *args, **kwargs): } data = { - 'platform': platform, + 'runtime': runtime, 'modules': modules, } diff --git a/setup.py b/setup.py index 0398508..9d0d210 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setup( name='django-anexia-monitoring', - version='0.1.0', + version='1.0.0', packages=find_packages(), include_package_data=True, license='MIT License',