Skip to content

Commit 6d78a24

Browse files
Version 1.2 (#82)
* rel : migrate to version 1.2 * rel : CHANGELOG.md updated
1 parent 8b4b544 commit 6d78a24

File tree

8 files changed

+14
-11
lines changed

8 files changed

+14
-11
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ body:
8585
label: MyCoffee version
8686
description: Which version of MyCoffee are you using?
8787
options:
88+
- MyCoffee 1.2
8889
- MyCoffee 1.1
8990
- MyCoffee 1.0
9091
- MyCoffee 0.9

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
## [1.2] - 2025-01-13
89
### Added
910
- 2 new water units
1011
1. Troy Pounds (`t lb`)
@@ -140,7 +141,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
140141
5. Siphon
141142
6. Custom
142143

143-
[Unreleased]: https://github.com/sepandhaghighi/mycoffee/compare/v1.1...dev
144+
[Unreleased]: https://github.com/sepandhaghighi/mycoffee/compare/v1.2...dev
145+
[1.2]: https://github.com/sepandhaghighi/mycoffee/compare/v1.1...v1.2
144146
[1.1]: https://github.com/sepandhaghighi/mycoffee/compare/v1.0...v1.1
145147
[1.0]: https://github.com/sepandhaghighi/mycoffee/compare/v0.9...v1.0
146148
[0.9]: https://github.com/sepandhaghighi/mycoffee/compare/v0.8...v0.9

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@
5454
## Installation
5555

5656
### Source Code
57-
- Download [Version 1.1](https://github.com/sepandhaghighi/mycoffee/archive/v1.1.zip) or [Latest Source](https://github.com/sepandhaghighi/mycoffee/archive/dev.zip)
57+
- Download [Version 1.2](https://github.com/sepandhaghighi/mycoffee/archive/v1.2.zip) or [Latest Source](https://github.com/sepandhaghighi/mycoffee/archive/dev.zip)
5858
- `pip install .`
5959

6060
### PyPI
6161

6262
- Check [Python Packaging User Guide](https://packaging.python.org/installing/)
63-
- `pip install mycoffee==1.1`
63+
- `pip install mycoffee==1.2`
6464

6565

6666
## Usage
@@ -72,7 +72,7 @@
7272
```shell
7373
> mycoffee --version
7474

75-
1.1
75+
1.2
7676
```
7777

7878
### Method

SECURITY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
| Version | Supported |
66
| ------------- | ------------------ |
7-
| 1.1 | :white_check_mark: |
8-
| < 1.1 | :x: |
7+
| 1.2 | :white_check_mark: |
8+
| < 1.2 | :x: |
99

1010
## Reporting a Vulnerability
1111

mycoffee/params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"""mycoffee params."""
33
from fractions import Fraction
44

5-
MY_COFFEE_VERSION = "1.1"
5+
MY_COFFEE_VERSION = "1.2"
66
INPUT_ERROR_MESSAGE = "[Error] Wrong input"
77
RATIO_WARNING_MESSAGE = "[Warning] The ratio is not within the standard range. For `{0}`, the ratio can be anywhere between `{1}` and `{2}`"
88
GRIND_WARNING_MESSAGE = "[Warning] The grind size is not within the standard range. For `{0}`, the grind size can be anywhere between `{1} um` and `{2} um`"

otherfiles/version_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import codecs
66

77
Failed = 0
8-
VERSION = "1.1"
8+
VERSION = "1.2"
99

1010
README_ITEMS = [
1111
"[Version {0}](https://github.com/sepandhaghighi/mycoffee/archive/v{0}.zip)",

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ def read_description():
2929
setup(
3030
name='mycoffee',
3131
packages=['mycoffee'],
32-
version='1.1',
32+
version='1.2',
3333
description='Brew Perfect Coffee Right from Your Terminal',
3434
long_description=read_description(),
3535
long_description_content_type='text/markdown',
3636
include_package_data=True,
3737
author='Sepand Haghighi',
3838
author_email='[email protected]',
3939
url='https://github.com/sepandhaghighi/mycoffee',
40-
download_url='https://github.com/sepandhaghighi/mycoffee/tarball/v1.1',
40+
download_url='https://github.com/sepandhaghighi/mycoffee/tarball/v1.2',
4141
keywords="coffee ratio terminal brew cli",
4242
project_urls={
4343
'Source': 'https://github.com/sepandhaghighi/mycoffee'

test/functions_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@
309309
>>> _ = parser.add_argument('--version', help='version', nargs="?", const=1)
310310
>>> args = parser.parse_args({"--version":True})
311311
>>> run(args)
312-
1.1
312+
1.2
313313
>>>
314314
>>> args = parser.parse_args(["--method", 'v60'])
315315
>>> run(args)

0 commit comments

Comments
 (0)