Skip to content

Commit

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

* rel : CHANGELOG.md updated for version 0.2

* doc : minor edit in issue templates

* rel : minor edit in functions_test.py
  • Loading branch information
sepandhaghighi authored Sep 14, 2024
1 parent cf0e5f2 commit ea575ff
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ body:
- Python 3.8
- Python 3.7
- Python 3.6
- Python 3.5
default: 1
validations:
required: true
Expand All @@ -85,6 +84,7 @@ body:
label: MyCoffee version
description: Which version of MyCoffee are you using?
options:
- MyCoffee 0.2
- MyCoffee 0.1
default: 0
validations:
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.2] - 2024-09-17
### Added
- 5 new methods
1. Pour-over
Expand All @@ -31,7 +32,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.1...dev
[Unreleased]: https://github.com/sepandhaghighi/mycoffee/compare/v0.2...dev
[0.2]: https://github.com/sepandhaghighi/mycoffee/compare/v0.1...v0.2
[0.1]: https://github.com/sepandhaghighi/mycoffee/compare/c2d0bb4...v0.1


Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@
## Installation

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


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

0.1
0.2
```

### 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.1 | :white_check_mark: |
| < 0.1 | :x: |
| 0.2 | :white_check_mark: |
| < 0.2 | :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
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
"""mycoffee params."""

MY_COFFEE_VERSION = "0.1"
MY_COFFEE_VERSION = "0.2"
INPUT_ERROR_MESSAGE = "[Error] Wrong input"
INPUT_EXAMPLE = "Example: mycoffee --method=v60"
EXIT_MESSAGE = "See you. Bye!"
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.1"
VERSION = "0.2"

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

0 comments on commit ea575ff

Please sign in to comment.