Skip to content

Commit

Permalink
Fixes runtime dict key, bump version to 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nezhar committed Jun 9, 2017
1 parent fa54f36 commit 222bf2d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions anexia_monitoring/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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',
Expand All @@ -70,7 +70,7 @@ def get(self, request, *args, **kwargs):
}

data = {
'platform': platform,
'runtime': runtime,
'modules': modules,
}

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 222bf2d

Please sign in to comment.