Skip to content

Commit

Permalink
Version 0.9 (#53)
Browse files Browse the repository at this point in the history
* rel : migrate to version 0.9

* rel : CHANGELOG.md --> v0.9

* rel : bug_report.yml updated
  • Loading branch information
sepandhaghighi authored Dec 4, 2024
1 parent 269416c commit 8fdbfb6
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 11 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ body:
label: MyCoffee version
description: Which version of MyCoffee are you using?
options:
- MyCoffee 0.9
- MyCoffee 0.8
- MyCoffee 0.7
- MyCoffee 0.6
Expand Down
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.9] - 2024-12-06
### Added
- 4 new water units
1. Tablespoon (`tbsp`)
Expand Down Expand Up @@ -103,7 +104,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.8...dev
[Unreleased]: https://github.com/sepandhaghighi/mycoffee/compare/v0.9...dev
[0.9]: https://github.com/sepandhaghighi/mycoffee/compare/v0.8...v0.9
[0.8]: https://github.com/sepandhaghighi/mycoffee/compare/v0.7...v0.8
[0.7]: https://github.com/sepandhaghighi/mycoffee/compare/v0.6...v0.7
[0.6]: https://github.com/sepandhaghighi/mycoffee/compare/v0.5...v0.6
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@
## Installation

### Source Code
- Download [Version 0.8](https://github.com/sepandhaghighi/mycoffee/archive/v0.8.zip) or [Latest Source](https://github.com/sepandhaghighi/mycoffee/archive/dev.zip)
- Download [Version 0.9](https://github.com/sepandhaghighi/mycoffee/archive/v0.9.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.8`
- `pip install mycoffee==0.9`


## Usage
Expand All @@ -71,7 +71,7 @@
```shell
> mycoffee --version

0.8
0.9
```

### Method
Expand Down
4 changes: 2 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

| Version | Supported |
| ------------- | ------------------ |
| 0.8 | :white_check_mark: |
| < 0.8 | :x: |
| 0.9 | :white_check_mark: |
| < 0.9 | :x: |

## Reporting a Vulnerability

Expand Down
2 changes: 1 addition & 1 deletion mycoffee/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"""mycoffee params."""
from fractions import Fraction

MY_COFFEE_VERSION = "0.8"
MY_COFFEE_VERSION = "0.9"
INPUT_ERROR_MESSAGE = "[Error] Wrong input"
RATIO_WARNING_MESSAGE = "[Warning] The ratio is not within the standard range. For `{0}`, the ratio can be anywhere between `{1}` and `{2}`"
INPUT_EXAMPLE = "Example: mycoffee --method=v60"
Expand Down
2 changes: 1 addition & 1 deletion otherfiles/version_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import codecs

Failed = 0
VERSION = "0.8"
VERSION = "0.9"

README_ITEMS = [
"[Version {0}](https://github.com/sepandhaghighi/mycoffee/archive/v{0}.zip)",
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ def read_description():
setup(
name='mycoffee',
packages=['mycoffee'],
version='0.8',
version='0.9',
description='Brew Perfect Coffee Right from Your Terminal',
long_description=read_description(),
long_description_content_type='text/markdown',
include_package_data=True,
author='Sepand Haghighi',
author_email='[email protected]',
url='https://github.com/sepandhaghighi/mycoffee',
download_url='https://github.com/sepandhaghighi/mycoffee/tarball/v0.8',
download_url='https://github.com/sepandhaghighi/mycoffee/tarball/v0.9',
keywords="coffee ratio terminal brew cli",
project_urls={
'Source': 'https://github.com/sepandhaghighi/mycoffee'
Expand Down
2 changes: 1 addition & 1 deletion test/functions_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
>>> _ = parser.add_argument('--version', help='version', nargs="?", const=1)
>>> args = parser.parse_args({"--version":True})
>>> run(args)
0.8
0.9
>>>
>>> args = parser.parse_args(["--method", 'v60'])
>>> run(args)
Expand Down

0 comments on commit 8fdbfb6

Please sign in to comment.