Skip to content

Commit

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

* rel : CHANGELOG.md updated

* rel : migrate to version 0.6
  • Loading branch information
sepandhaghighi authored Oct 17, 2024
1 parent af19198 commit 10429c7
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.6
- MyCoffee 0.5
- MyCoffee 0.4
- MyCoffee 0.3
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.6] - 2024-10-18
### Added
- `show_coffee_units_list` function
- `--coffee-unit` argument
Expand Down Expand Up @@ -69,7 +70,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.5...dev
[Unreleased]: https://github.com/sepandhaghighi/mycoffee/compare/v0.6...dev
[0.6]: https://github.com/sepandhaghighi/mycoffee/compare/v0.5...v0.6
[0.5]: https://github.com/sepandhaghighi/mycoffee/compare/v0.4...v0.5
[0.4]: https://github.com/sepandhaghighi/mycoffee/compare/v0.3...v0.4
[0.3]: https://github.com/sepandhaghighi/mycoffee/compare/v0.2...v0.3
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.5](https://github.com/sepandhaghighi/mycoffee/archive/v0.5.zip) or [Latest Source](https://github.com/sepandhaghighi/mycoffee/archive/dev.zip)
- Download [Version 0.6](https://github.com/sepandhaghighi/mycoffee/archive/v0.6.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.5`
- `pip install mycoffee==0.6`


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

0.5
0.6
```

### 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.5 | :white_check_mark: |
| < 0.5 | :x: |
| 0.6 | :white_check_mark: |
| < 0.6 | :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.5"
MY_COFFEE_VERSION = "0.6"
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.5"
VERSION = "0.6"

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.5',
version='0.6',
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.5',
download_url='https://github.com/sepandhaghighi/mycoffee/tarball/v0.6',
keywords="python3 python ratio coffee terminal",
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 @@ -160,7 +160,7 @@
>>> _ = parser.add_argument('--version', help='version', nargs="?", const=1)
>>> args = parser.parse_args({"--version":True})
>>> run(args)
0.5
0.6
>>>
>>> args = parser.parse_args(["--method", 'v60'])
>>> run(args)
Expand Down

0 comments on commit 10429c7

Please sign in to comment.