From 6bd93a6f93e9ce1a3a4d8f98779fe36143a3d98e Mon Sep 17 00:00:00 2001 From: sepandhaghighi Date: Sat, 14 Sep 2024 19:45:10 +0430 Subject: [PATCH 1/4] rel : migrate to version 0.2 --- README.md | 6 +++--- mycoffee/params.py | 2 +- otherfiles/version_check.py | 2 +- setup.py | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 73805c2..d4142c9 100644 --- a/README.md +++ b/README.md @@ -52,13 +52,13 @@ ## Installation ### Source Code -- Download [Version 0.1](https://github.com/sepandhaghighi/mycoffee/archive/v0.1.zip) or [Latest Source](https://github.com/sepandhaghighi/mycoffee/archive/dev.zip) +- Download [Version 0.2](https://github.com/sepandhaghighi/mycoffee/archive/v0.2.zip) or [Latest Source](https://github.com/sepandhaghighi/mycoffee/archive/dev.zip) - `pip install .` ### PyPI - Check [Python Packaging User Guide](https://packaging.python.org/installing/) -- `pip install mycoffee==0.1` +- `pip install mycoffee==0.2` ## Usage @@ -70,7 +70,7 @@ ```shell > mycoffee --version -0.1 +0.2 ``` ### Method diff --git a/mycoffee/params.py b/mycoffee/params.py index 0d9765a..a3b7e41 100644 --- a/mycoffee/params.py +++ b/mycoffee/params.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """mycoffee params.""" -MY_COFFEE_VERSION = "0.1" +MY_COFFEE_VERSION = "0.2" INPUT_ERROR_MESSAGE = "[Error] Wrong input" INPUT_EXAMPLE = "Example: mycoffee --method=v60" EXIT_MESSAGE = "See you. Bye!" diff --git a/otherfiles/version_check.py b/otherfiles/version_check.py index 4122a86..ec9e977 100644 --- a/otherfiles/version_check.py +++ b/otherfiles/version_check.py @@ -5,7 +5,7 @@ import codecs Failed = 0 -VERSION = "0.1" +VERSION = "0.2" README_ITEMS = [ "[Version {0}](https://github.com/sepandhaghighi/mycoffee/archive/v{0}.zip)", diff --git a/setup.py b/setup.py index 689d5da..d1f3827 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ def read_description(): setup( name='mycoffee', packages=['mycoffee'], - version='0.1', + version='0.2', description='Brew Perfect Coffee Right from Your Terminal', long_description=read_description(), long_description_content_type='text/markdown', @@ -37,7 +37,7 @@ def read_description(): author='Sepand Haghighi', author_email='me@sepand.tech', url='https://github.com/sepandhaghighi/mycoffee', - download_url='https://github.com/sepandhaghighi/mycoffee/tarball/v0.1', + download_url='https://github.com/sepandhaghighi/mycoffee/tarball/v0.2', keywords="python3 python ratio coffee terminal", project_urls={ 'Source': 'https://github.com/sepandhaghighi/mycoffee' From 486f82670aeb36c4cc3361205b2915b3c33f0dc2 Mon Sep 17 00:00:00 2001 From: sepandhaghighi Date: Sat, 14 Sep 2024 19:47:01 +0430 Subject: [PATCH 2/4] rel : CHANGELOG.md updated for version 0.2 --- .github/ISSUE_TEMPLATE/bug_report.yml | 1 + CHANGELOG.md | 4 +++- SECURITY.md | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 79e4bcf..a327e9f 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -85,6 +85,7 @@ body: label: MyCoffee version description: Which version of MyCoffee are you using? options: + - MyCoffee 0.2 - MyCoffee 0.1 default: 0 validations: diff --git a/CHANGELOG.md b/CHANGELOG.md index 12e42ea..3883201 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## [Unreleased] +## [0.2] - 2024-09-17 ### Added - 5 new methods 1. Pour-over @@ -31,7 +32,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. 5. Siphon 6. Custom -[Unreleased]: https://github.com/sepandhaghighi/mycoffee/compare/v0.1...dev +[Unreleased]: https://github.com/sepandhaghighi/mycoffee/compare/v0.2...dev +[0.2]: https://github.com/sepandhaghighi/mycoffee/compare/v0.1...v0.2 [0.1]: https://github.com/sepandhaghighi/mycoffee/compare/c2d0bb4...v0.1 diff --git a/SECURITY.md b/SECURITY.md index c5438e7..32eb3d9 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -4,8 +4,8 @@ | Version | Supported | | ------------- | ------------------ | -| 0.1 | :white_check_mark: | -| < 0.1 | :x: | +| 0.2 | :white_check_mark: | +| < 0.2 | :x: | ## Reporting a Vulnerability From f4248c34ba377de886a6636ff8712a62f88559c2 Mon Sep 17 00:00:00 2001 From: sepandhaghighi Date: Sat, 14 Sep 2024 19:48:10 +0430 Subject: [PATCH 3/4] doc : minor edit in issue templates --- .github/ISSUE_TEMPLATE/bug_report.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index a327e9f..ff72fc3 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -75,7 +75,6 @@ body: - Python 3.8 - Python 3.7 - Python 3.6 - - Python 3.5 default: 1 validations: required: true From 0f880c1adf79b2ab501ee9079516fb1373e173a0 Mon Sep 17 00:00:00 2001 From: sepandhaghighi Date: Sat, 14 Sep 2024 19:50:38 +0430 Subject: [PATCH 4/4] rel : minor edit in functions_test.py --- test/functions_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functions_test.py b/test/functions_test.py index e5a94ac..b0b3f59 100644 --- a/test/functions_test.py +++ b/test/functions_test.py @@ -107,7 +107,7 @@ >>> _ = parser.add_argument('--version', help='version', nargs="?", const=1) >>> args = parser.parse_args({"--version":True}) >>> run(args) -0.1 +0.2 >>> >>> args = parser.parse_args(["--method", 'v60']) >>> run(args)