bumped version to v0.9.8.1

This commit is contained in:
Chris Caron 2022-04-20 16:47:29 -04:00
parent fee93c1cae
commit 1908b26668
5 changed files with 23 additions and 20 deletions

View File

@ -24,7 +24,7 @@
# THE SOFTWARE.
__title__ = 'Apprise'
__version__ = '0.9.8'
__version__ = '0.9.8.1'
__author__ = 'Chris Caron'
__license__ = 'MIT'
__copywrite__ = 'Copyright (C) 2022 Chris Caron <lead2gold@gmail.com>'

View File

@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: apprise 0.9.8\n"
"Project-Id-Version: apprise 0.9.8.1\n"
"Report-Msgid-Bugs-To: lead2gold@gmail.com\n"
"POT-Creation-Date: 2022-04-19 12:42-0400\n"
"POT-Creation-Date: 2022-04-20 16:46-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

View File

@ -59,7 +59,7 @@ Super Toasty, Streamlabs, Stride, Syslog, Techulus Push, Telegram, Twilio,
Twitter, Twist, XBMC, XMPP, Webex Teams}
Name: python-%{pypi_name}
Version: 0.9.8
Version: 0.9.8.1
Release: 1%{?dist}
Summary: A simple wrapper to many popular notification services used today
License: MIT
@ -237,6 +237,9 @@ LANG=C.UTF-8 PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version
%endif
%changelog
* Tue Apr 18 2022 Chris Caron <lead2gold@gmail.com> - 0.9.8.1-1
- Updated to v0.9.8.1
* Mon Apr 18 2022 Chris Caron <lead2gold@gmail.com> - 0.9.8-1
- Updated to v0.9.8

View File

@ -62,7 +62,7 @@ else:
setup(
name='apprise',
version='0.9.8',
version='0.9.8.1',
description='Push Notifications that work with just about every platform!',
license='MIT',
long_description=open('README.md').read(),

View File

@ -407,7 +407,7 @@ def test_plugin_telegram_general(mock_post):
# Test our payload
assert payload['text'] == \
'<h1>special characters</h1><p>\'"This can\'t\t\r\nfail us"\'</p>'
'<b>special characters</b>\r\n<p>\'"This can\'t\t\r\nfail us"\'</p>'
# Test sending attachments
attach = AppriseAttachment(os.path.join(TEST_VAR_DIR, 'apprise-test.gif'))
@ -629,8 +629,8 @@ def test_plugin_telegram_formating_py3(mock_post):
# Test that everything is escaped properly in a TEXT mode
assert payload['text'] == \
'<h1>🚨 Change detected for &lt;i&gt;Apprise Test Title&lt;/i&gt;' \
'</h1>&lt;a href="http://localhost"&gt;&lt;i&gt;Apprise Body Title' \
'<b>🚨 Change detected for &lt;i&gt;Apprise Test Title&lt;/i&gt;</b>' \
'\r\n&lt;a href="http://localhost"&gt;&lt;i&gt;Apprise Body Title' \
'&lt;/i&gt;&lt;/a&gt; had &lt;a href="http://127.0.0.1"&gt;a change' \
'&lt;/a&gt;'
@ -656,7 +656,7 @@ def test_plugin_telegram_formating_py3(mock_post):
# Test that everything is escaped properly in a HTML mode
assert payload['text'] == \
'<h1>🚨 Change detected for <i>Apprise Test Title</i></h1>' \
'<b>🚨 Change detected for <i>Apprise Test Title</i></b>\r\n' \
'<a href="http://localhost"><i>Apprise Body Title</i></a> had ' \
'<a href="http://127.0.0.1">a change</a>'
@ -716,8 +716,8 @@ def test_plugin_telegram_formating_py3(mock_post):
# Test that everything is escaped properly in a HTML mode
assert payload['text'] == \
'<h1><p>🚨 Change detected for <em>Apprise Test Title</em></p>' \
'</h1><p><em><a href="http://localhost">Apprise Body Title</a></em> ' \
'<b><p>🚨 Change detected for <em>Apprise Test Title</em></p></b>' \
'\r\n<p><em><a href="http://localhost">Apprise Body Title</a></em> ' \
'had <a href="http://127.0.0.1">a change</a></p>'
@ -809,8 +809,8 @@ def test_plugin_telegram_formating_py2(mock_post):
# Test that everything is escaped properly in a TEXT mode
assert payload['text'].encode('utf-8') == \
'<h1>\xf0\x9f\x9a\xa8 Change detected for &lt;i&gt;' \
'Apprise Test Title&lt;/i&gt;</h1>' \
'<b>\xf0\x9f\x9a\xa8 Change detected for &lt;i&gt;' \
'Apprise Test Title&lt;/i&gt;</b>\r\n' \
'&lt;a href="http://localhost"&gt;&lt;i&gt;' \
'Apprise Body Title&lt;/i&gt;&lt;/a&gt; had &lt;a ' \
'href="http://127.0.0.1"&gt;a change&lt;/a&gt;'
@ -837,9 +837,9 @@ def test_plugin_telegram_formating_py2(mock_post):
# Test that everything is escaped properly in a HTML mode
assert payload['text'].encode('utf-8') == \
'<h1>\xf0\x9f\x9a\xa8 Change detected for <i>Apprise Test Title</i>' \
'</h1><a href="http://localhost"><i>Apprise Body Title</i></a> had ' \
'<a href="http://127.0.0.1">a change</a>'
'<b>\xf0\x9f\x9a\xa8 Change detected for <i>Apprise Test Title</i>' \
'</b>\r\n<a href="http://localhost"><i>Apprise Body Title</i></a> ' \
'had <a href="http://127.0.0.1">a change</a>'
# Reset our values
mock_post.reset_mock()
@ -897,8 +897,8 @@ def test_plugin_telegram_formating_py2(mock_post):
# Test that everything is escaped properly in a HTML mode
assert payload['text'].encode('utf-8') == \
'<h1><p>\xf0\x9f\x9a\xa8 Change detected for ' \
'<em>Apprise Test Title</em></p></h1><p><em>' \
'<b><p>\xf0\x9f\x9a\xa8 Change detected for ' \
'<em>Apprise Test Title</em></p></b>\r\n<p><em>' \
'<a href="http://localhost">Apprise Body Title</a></em>' \
' had <a href="http://127.0.0.1">a change</a></p>'
@ -948,6 +948,6 @@ def test_plugin_telegram_formating_py2(mock_post):
# Test that everything is escaped properly in a HTML mode
assert payload['text'].encode('utf-8') == \
'<h1>\xd7\x9b\xd7\x95\xd7\xaa\xd7\xa8\xd7\xaa '\
'\xd7\xa0\xd7\xa4\xd7\x9c\xd7\x90\xd7\x94</h1>[_[\xd7\x96\xd7\x95 '\
'<b>\xd7\x9b\xd7\x95\xd7\xaa\xd7\xa8\xd7\xaa '\
'\xd7\xa0\xd7\xa4\xd7\x9c\xd7\x90\xd7\x94</b>\r\n[_[\xd7\x96\xd7\x95 '\
'\xd7\x94\xd7\x95\xd7\x93\xd7\xa2\xd7\x94](http://localhost)_'