Skip to content

Commit

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

* rel : bug_report.yml updated
  • Loading branch information
sepandhaghighi authored Nov 28, 2024
1 parent ce43bdf commit e4fd38a
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.8
- MyCoffee 0.7
- MyCoffee 0.6
- MyCoffee 0.5
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.8] - 2024-11-29
### Added
- 1 new coffee unit
1. Cup (`cup`)
Expand Down Expand Up @@ -96,7 +97,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.7...dev
[Unreleased]: https://github.com/sepandhaghighi/mycoffee/compare/v0.8...dev
[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
[0.5]: https://github.com/sepandhaghighi/mycoffee/compare/v0.4...v0.5
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.7](https://github.com/sepandhaghighi/mycoffee/archive/v0.7.zip) or [Latest Source](https://github.com/sepandhaghighi/mycoffee/archive/dev.zip)
- Download [Version 0.8](https://github.com/sepandhaghighi/mycoffee/archive/v0.8.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.7`
- `pip install mycoffee==0.8`


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

0.7
0.8
```

### 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.7 | :white_check_mark: |
| < 0.7 | :x: |
| 0.8 | :white_check_mark: |
| < 0.8 | :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.7"
MY_COFFEE_VERSION = "0.8"
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.7"
VERSION = "0.8"

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.7',
version='0.8',
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.7',
download_url='https://github.com/sepandhaghighi/mycoffee/tarball/v0.8',
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 @@ -213,7 +213,7 @@
>>> _ = parser.add_argument('--version', help='version', nargs="?", const=1)
>>> args = parser.parse_args({"--version":True})
>>> run(args)
0.7
0.8
>>>
>>> args = parser.parse_args(["--method", 'v60'])
>>> run(args)
Expand Down

0 comments on commit e4fd38a

Please sign in to comment.