Skip to content

Commit

Permalink
Bumped Version to 0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
yubarajshrestha committed Jul 9, 2022
1 parent 5f72045 commit 063f7a2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 17 deletions.
12 changes: 5 additions & 7 deletions README.md
Expand Up @@ -5,13 +5,13 @@
</p>

<p align="center">
<img alt="GitHub Workflow Status" src="https://github.com/yubarajshrestha/masonite-audit/actions/workflows/pythonapp.yml/badge.svg">
<img alt="GitHub Workflow Status" src="https://github.com/py-package/masonite-audit/actions/workflows/pythonapp.yml/badge.svg">
<img alt="PyPI" src="https://img.shields.io/pypi/v/masonite-audit">
<img alt="issues" src="https://img.shields.io/github/issues/yubarajshrestha/masonite-audit">
<img alt="issues" src="https://img.shields.io/github/issues/py-package/masonite-audit">
<img src="https://img.shields.io/badge/python-3.7+-blue.svg" alt="Python Version">
<img alt="GitHub release (latest by date including pre-releases)" src="https://img.shields.io/github/v/release/yubarajshrestha/masonite-audit">
<img alt="License" src="https://img.shields.io/github/license/yubarajshrestha/masonite-audit">
<a href="https://github.com/yubarajshrestha/masonite-audit/stargazers"><img alt="star" src="https://img.shields.io/github/stars/yubarajshrestha/masonite-audit" /></a>
<img alt="GitHub release (latest by date including pre-releases)" src="https://img.shields.io/github/v/release/py-package/masonite-audit">
<img alt="License" src="https://img.shields.io/github/license/py-package/masonite-audit">
<a href="https://github.com/py-package/masonite-audit/stargazers"><img alt="star" src="https://img.shields.io/github/stars/py-package/masonite-audit" /></a>
<img alt="downloads" src="https://img.shields.io/pypi/dm/masonite-audit?style=flat" />
<a href="https://github.com/psf/black"><img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg"></a>
</p>
Expand Down Expand Up @@ -80,9 +80,7 @@ user.rollback() # to rollback to previous version
user.rollback(step=4) # to rollback to version 4
```

## Contributing

Please read the [Contributing Documentation](CONTRIBUTING.md) here.

## License

Expand Down
Binary file modified masonite.sqlite3
Binary file not shown.
8 changes: 4 additions & 4 deletions setup.py
Expand Up @@ -8,7 +8,7 @@
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version="0.0.4",
version="0.0.5",
packages=[
"masonite_audit",
"masonite_audit.config",
Expand All @@ -23,10 +23,10 @@
long_description=long_description,
long_description_content_type="text/markdown",
# The project's main homepage.
url="https://github.com/yubarajshrestha/masonite-audit",
url="https://github.com/py-package/masonite-audit",
# Author details
author="Yubaraj Shrestha",
author_email="companion.krish@outlook.com",
author_email="yubaraj@pypackage.com",
# Choose your license
license="MIT license",
# If your package should include things you specify in your MANIFEST.in file
Expand All @@ -39,7 +39,7 @@
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
"Development Status :: 3 - Alpha",
"Development Status :: 5 - Production/Stable",
# Indicate who your project is intended for
"Intended Audience :: Developers",
"Environment :: Web Environment",
Expand Down
8 changes: 2 additions & 6 deletions tests/unit/test_audit.py
Expand Up @@ -53,9 +53,7 @@ def test_audit_history(self):

self.assertTrue(user.history().count() == 1)

user.update({
"name": "UB"
})
user.update({"name": "UB"})

self.assertTrue(user.history().count() == 2)

Expand All @@ -76,9 +74,7 @@ def test_audit_rollback(self):
},
)

user.update({
"name": "UB"
})
user.update({"name": "UB"})

self.assertDatabaseHas(
"users",
Expand Down

0 comments on commit 063f7a2

Please sign in to comment.