Skip to content

Commit e08fa43

Browse files
author
Lennart Haack
authored
Merge pull request #13 from Lennolium/dev
v0.1.3 Release
2 parents 80f302b + 5591f64 commit e08fa43

File tree

7 files changed

+7
-14
lines changed

7 files changed

+7
-14
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
alt="commit activity" >
2424
<a></a>
2525
<a href="https://github.com/Lennolium/simple-useragent/releases" >
26-
<img src="https://img.shields.io/badge/Version-0.1.2-brightgreen"
26+
<img src="https://img.shields.io/badge/Version-0.1.3-brightgreen"
2727
alt="stable version" >
2828
<br>
2929
<a href="https://github.com/Lennolium/simple-useragent/issues" >

build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ cd .. || exit
194194
# Upload build to PyPI. Credentials are in '~.pypirc'.
195195
_info "Uploading to the built package PyPI ..."
196196
twine upload --repository pypi ./dist/*.tar.gz ./dist/*.whl && _success || _failed
197-
197+
# _warn "Upload to PyPI is disabled. You need to uncomment it" && _warn
198198

199199
# Exit out of virtual environment, cleanup egg files and delete venv.
200200
_info "Cleaning up ..."

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = simple-useragent
3-
version = 0.1.2
3+
version = 0.1.3
44
author = Lennart Haack
55
author_email = info@lennolium.dev
66
license = GPL-3.0

src/simple_useragent/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
__author__ = "Lennart Haack"
4747
__email__ = "simple-useragent@lennolium.dev"
4848
__license__ = "GNU GPLv3"
49-
__version__ = "0.1.2"
49+
__version__ = "0.1.3"
5050
__date__ = "2024-02-13"
5151
__status__ = "Development"
5252
__github__ = "https://github.com/Lennolium/simple-useragent"

src/simple_useragent/core.py

+1-8
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class to parse a single, custom user agent string and gain access to its
1414
__author__ = "Lennart Haack"
1515
__email__ = "simple-useragent@lennolium.dev"
1616
__license__ = "GNU GPLv3"
17-
__version__ = "0.1.2"
17+
__version__ = "0.1.3"
1818
__date__ = "2024-02-13"
1919
__status__ = "Development"
2020
__github__ = "https://github.com/Lennolium/simple-useragent"
@@ -963,10 +963,3 @@ def get(
963963
get_dict = UserAgents().get_dict
964964
get = UserAgents().get
965965
parse = UserAgent
966-
967-
# Test:
968-
lol = get_list(num=3, force_cached=False)
969-
print("OK?", lol)
970-
print("OK?", get_dict(force_cached=True))
971-
print("OK?", get(num=3, mobile=True, shuffle=True))
972-
print("OK?", parse(lol[0]))

tests/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
__author__ = "Lennart Haack"
99
__email__ = "simple-useragent@lennolium.dev"
1010
__license__ = "GNU GPLv3"
11-
__version__ = "0.1.2"
11+
__version__ = "0.1.3"
1212
__date__ = "2024-02-13"
1313
__status__ = "Development"
1414
__github__ = "https://github.com/Lennolium/simple-useragent"

tests/test_core.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
__author__ = "Lennart Haack"
1919
__email__ = "simple-useragent@lennolium.dev"
2020
__license__ = "GNU GPLv3"
21-
__version__ = "0.1.2"
21+
__version__ = "0.1.3"
2222
__date__ = "2024-02-13"
2323
__status__ = "Development"
2424
__github__ = "https://github.com/Lennolium/simple-useragent"

0 commit comments

Comments
 (0)