Skip to content

Commit

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

* rel : CHANGELOG.md updated
  • Loading branch information
sepandhaghighi authored Dec 31, 2024
1 parent 901cfb7 commit 1be5f03
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 1.1
- MyCoffee 1.0
- MyCoffee 0.9
- MyCoffee 0.8
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]
## [1.1] - 2025-01-02
### Added
- 5 new water units
1. Troy Ounce (`t oz`)
Expand Down Expand Up @@ -125,7 +126,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.0...dev
[Unreleased]: https://github.com/sepandhaghighi/mycoffee/compare/v1.1...dev
[1.1]: https://github.com/sepandhaghighi/mycoffee/compare/v1.0...v1.1
[1.0]: https://github.com/sepandhaghighi/mycoffee/compare/v0.9...v1.0
[0.9]: https://github.com/sepandhaghighi/mycoffee/compare/v0.8...v0.9
[0.8]: https://github.com/sepandhaghighi/mycoffee/compare/v0.7...v0.8
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@
## Installation

### Source Code
- Download [Version 1.0](https://github.com/sepandhaghighi/mycoffee/archive/v1.0.zip) or [Latest Source](https://github.com/sepandhaghighi/mycoffee/archive/dev.zip)
- Download [Version 1.1](https://github.com/sepandhaghighi/mycoffee/archive/v1.1.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.0`
- `pip install mycoffee==1.1`


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

1.0
1.1
```

### 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 |
| ------------- | ------------------ |
| 1.0 | :white_check_mark: |
| < 1.0 | :x: |
| 1.1 | :white_check_mark: |
| < 1.1 | :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 = "1.0"
MY_COFFEE_VERSION = "1.1"
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 = "1.0"
VERSION = "1.1"

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

0 comments on commit 1be5f03

Please sign in to comment.