From dd88842c741008693fb1b956b3187445dbaa49c0 Mon Sep 17 00:00:00 2001 From: ycd Date: Sun, 16 Aug 2020 05:06:09 +0300 Subject: [PATCH 1/2] Hotfix 0.1.41 --- README.md | 5 +++++ docs/release-notes.md | 6 ++++++ manage_fastapi/tests/test_version.py | 2 +- manage_fastapi/utils.py | 6 +----- pyproject.toml | 2 +- 5 files changed, 14 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 0e83867..d482f42 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,11 @@ fastproject/ ### Latest Changes +### 0.1.41 + +* Quick fix for a little bug + + ### 0.1.4 * Changed project architecture diff --git a/docs/release-notes.md b/docs/release-notes.md index 84e5d31..dfefc5e 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -2,6 +2,12 @@ ### Latest Changes + +### 0.1.41 + +* Quick fix for a little bug + + ### 0.1.4 * Changed project architecture diff --git a/manage_fastapi/tests/test_version.py b/manage_fastapi/tests/test_version.py index beed6fe..9e1c184 100644 --- a/manage_fastapi/tests/test_version.py +++ b/manage_fastapi/tests/test_version.py @@ -2,4 +2,4 @@ def test_version(): - assert __version__ == "0.1.4" + assert __version__ == "0.1.41" diff --git a/manage_fastapi/utils.py b/manage_fastapi/utils.py index 827d90b..5065182 100644 --- a/manage_fastapi/utils.py +++ b/manage_fastapi/utils.py @@ -31,6 +31,7 @@ def start_project( parents=True, exist_ok=False ) Path(f"{current_path}/{project_name}/__init__.py").touch() + Path(f"{current_path}/{project_name}/core/__init__.py").touch() Path(f"{current_path}/{project_name}/tests/__init__.py").touch() Path(f"{current_path}/{project_name}/core/schemas/__init__.py").touch() @@ -155,11 +156,6 @@ def select_database(): # TODO - - -# TODO - - # def run_server(server: str = ("uvicorn")): # import os # import subprocess diff --git a/pyproject.toml b/pyproject.toml index 356e0d1..efe8c68 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "manage-fastapi" -version = "0.1.4" +version = "0.1.41" description = "Managing FastAPI projects made easy." authors = ["ycd "] readme = "README.md" From 4698c5c0bdb8316cfa4b14fa5d7fc437febd919d Mon Sep 17 00:00:00 2001 From: ycd Date: Sun, 16 Aug 2020 05:09:28 +0300 Subject: [PATCH 2/2] update version 0.1.41 --- manage_fastapi/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manage_fastapi/__init__.py b/manage_fastapi/__init__.py index bbab024..6e862d0 100644 --- a/manage_fastapi/__init__.py +++ b/manage_fastapi/__init__.py @@ -1 +1 @@ -__version__ = "0.1.4" +__version__ = "0.1.41"