Repository: sepandhaghighi/mycoffee

Issue:
[Bug]: Ratio boundary points 
### Contact details

me@sepand.tech

### What happened?

**MyCoffee** print a warning message on boundary points.

### Steps to reproduce

```console
mycoffee --method=v60 --water-ratio=18 --coffee-ratio=1
```

### Expected behavior

No warning

### Actual behavior

[Warning] The ratio is not within the standard range. For `v60`, the ratio can be anywhere between `1/18` and `1/14`

### Operating system

Windows

### Python version

Python 3.10

### MyCoffee version

MyCoffee 1.1

### Relevant log output

```
 __  __  _  _   ___  _____  ____  ____  ____  ____
(  \/  )( \/ ) / __)(  _  )( ___)( ___)( ___)( ___)
 )    (  \  / ( (__  )(_)(  )__)  )__)  )__)  )__)
(_/\/\_) (__)  \___)(_____)(__)  (__)  (____)(____)



Method: `v60`

Cups: 1

Coffee: 13.889 g

Water: 250 g

Ratio: 1/18

Info: V60 method

[Warning] The ratio is not within the standard range. For `v60`, the ratio can be anywhere between `1/18` and `1/14`
```

Discussion:

Patch:
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index 934c278..1b819e2 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 1.3
         - MyCoffee 1.2
         - MyCoffee 1.1
         - MyCoffee 1.0
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2c4791f..242022b 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]
+## [1.3] - 2025-01-31
 ### Added
 - `get_grind_type` function
 - `validate_positive_int` function
@@ -150,7 +151,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/v1.2...dev
+[Unreleased]: https://github.com/sepandhaghighi/mycoffee/compare/v1.3...dev
+[1.3]: https://github.com/sepandhaghighi/mycoffee/compare/v1.2...v1.3
 [1.2]: https://github.com/sepandhaghighi/mycoffee/compare/v1.1...v1.2
 [1.1]: https://github.com/sepandhaghighi/mycoffee/compare/v1.0...v1.1
 [1.0]: https://github.com/sepandhaghighi/mycoffee/compare/v0.9...v1.0
diff --git a/README.md b/README.md
index 715482b..fa0a94c 100644
--- a/README.md
+++ b/README.md
@@ -54,13 +54,13 @@
 ## Installation		
 
 ### Source Code
-- Download [Version 1.2](https://github.com/sepandhaghighi/mycoffee/archive/v1.2.zip) or [Latest Source](https://github.com/sepandhaghighi/mycoffee/archive/dev.zip)
+- Download [Version 1.3](https://github.com/sepandhaghighi/mycoffee/archive/v1.3.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==1.2`						
+- `pip install mycoffee==1.3`						
 
 
 ## Usage
@@ -72,7 +72,7 @@
 ```shell
 > mycoffee --version
 
-1.2
+1.3
 ```
 
 ### Method
diff --git a/SECURITY.md b/SECURITY.md
index b7c533c..69aa3ff 100644
--- a/SECURITY.md
+++ b/SECURITY.md
@@ -4,8 +4,8 @@
 
 | Version       | Supported          |
 | ------------- | ------------------ |
-| 1.2           | :white_check_mark: |
-| < 1.2         | :x:                |
+| 1.3           | :white_check_mark: |
+| < 1.3         | :x:                |
 
 ## Reporting a Vulnerability
 
diff --git a/mycoffee/params.py b/mycoffee/params.py
index 0a3cdf4..323f1ef 100644
--- a/mycoffee/params.py
+++ b/mycoffee/params.py
@@ -2,7 +2,7 @@
 """mycoffee params."""
 from fractions import Fraction
 
-MY_COFFEE_VERSION = "1.2"
+MY_COFFEE_VERSION = "1.3"
 INPUT_ERROR_MESSAGE = "[Error] Wrong input"
 POSITIVE_INTEGER_ERROR_MESSAGE = "invalid positive int value: '{string}'"
 POSITIVE_FLOAT_ERROR_MESSAGE = "invalid positive float value: '{string}'"
diff --git a/otherfiles/version_check.py b/otherfiles/version_check.py
index 1a2443c..a18dcec 100644
--- a/otherfiles/version_check.py
+++ b/otherfiles/version_check.py
@@ -5,7 +5,7 @@ import sys
 import codecs
 
 Failed = 0
-VERSION = "1.2"
+VERSION = "1.3"
 
 README_ITEMS = [
     "[Version {0}](https://github.com/sepandhaghighi/mycoffee/archive/v{0}.zip)",
diff --git a/setup.py b/setup.py
index 9f539bb..cf77a3e 100644
--- a/setup.py
+++ b/setup.py
@@ -29,7 +29,7 @@ def read_description():
 setup(
     name='mycoffee',
     packages=['mycoffee'],
-    version='1.2',
+    version='1.3',
     description='Brew Perfect Coffee Right from Your Terminal',
     long_description=read_description(),
     long_description_content_type='text/markdown',
@@ -37,7 +37,7 @@ setup(
     author='Sepand Haghighi',
     author_email='me@sepand.tech',
     url='https://github.com/sepandhaghighi/mycoffee',
-    download_url='https://github.com/sepandhaghighi/mycoffee/tarball/v1.2',
+    download_url='https://github.com/sepandhaghighi/mycoffee/tarball/v1.3',
     keywords="coffee ratio terminal brew cli",
     project_urls={
         'Source': 'https://github.com/sepandhaghighi/mycoffee'


Test patch:
diff --git a/test/functions_test.py b/test/functions_test.py
index 5405af4..7946bb6 100644
--- a/test/functions_test.py
+++ b/test/functions_test.py
@@ -320,7 +320,7 @@ True
 >>> _ = parser.add_argument('--version', help='version', nargs="?", const=1)
 >>> args = parser.parse_args({"--version":True})
 >>> run(args)
-1.2
+1.3
 >>>
 >>> args = parser.parse_args(["--method", 'v60'])
 >>> run(args)