Skip to content

Commit

Permalink
Uploaded new package version with updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
abatomunkuev committed Nov 27, 2021
1 parent 36a2af4 commit a5e1d81
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Fast Static Site Generator (Fast SSG) - a tool for generating a complete HTML fi
## Tool installation
To install the tool run the following command
```
pip install fast-ssg==1.0.0
pip install fast-ssg==1.0.1
```

## Tool features
Expand Down Expand Up @@ -87,4 +87,3 @@ pip install fast-ssg==1.0.0
# Live version & Project-package website

https://abatomunkuev.github.io/static_site_generator/
https://pypi.org/project/fast-ssg/1.0.0/
2 changes: 1 addition & 1 deletion fast_ssg/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def cla_parser():
"-v",
"--version",
action="version",
version="Fast Static Site Generator 1.0.0",
version="Fast Static Site Generator 1.0.1",
help="show program's version number and exit",
)
# --stylesheet -s argument
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = fast_ssg
version = 1.0.0
version = 1.0.1
author = Andrei Batomunkuev
author_email = [email protected]
description = Fast Static Site Generator - a tool for generating a complete HTML files from raw data like txt and markdown files.
Expand Down
8 changes: 4 additions & 4 deletions tests/utils_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@ def test_cla_parser_version_arg(self):
)
assert (
shortcut_version_output.decode("utf-8")
== "Fast Static Site Generator 1.0.0\n"
), 'Should output "Fast Static Site Generator 1.0.0"'
== "Fast Static Site Generator 1.0.1\n"
), 'Should output "Fast Static Site Generator 1.0.1"'
# Check full argument --version
full_version_output = subprocess.check_output(
"python3 -c 'from fast_ssg.utils import cla_parser; cla_parser()' --version",
shell=True,
)
assert (
full_version_output.decode("utf-8") == "Fast Static Site Generator 1.0.0\n"
), 'Should output "Fast Static Site Generator 1.0.0"'
full_version_output.decode("utf-8") == "Fast Static Site Generator 1.0.1\n"
), 'Should output "Fast Static Site Generator 1.0.1"'

def test_cla_parser_invalid_input_arg(self):
"""
Expand Down

0 comments on commit a5e1d81

Please sign in to comment.