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

View File

@ -6,9 +6,9 @@
#, fuzzy #, fuzzy
msgid "" msgid ""
msgstr "" 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" "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" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\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} Twitter, Twist, XBMC, XMPP, Webex Teams}
Name: python-%{pypi_name} Name: python-%{pypi_name}
Version: 0.9.8 Version: 0.9.8.1
Release: 1%{?dist} Release: 1%{?dist}
Summary: A simple wrapper to many popular notification services used today Summary: A simple wrapper to many popular notification services used today
License: MIT License: MIT
@ -237,6 +237,9 @@ LANG=C.UTF-8 PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version
%endif %endif
%changelog %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 * Mon Apr 18 2022 Chris Caron <lead2gold@gmail.com> - 0.9.8-1
- Updated to v0.9.8 - Updated to v0.9.8

View File

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

View File

@ -407,7 +407,7 @@ def test_plugin_telegram_general(mock_post):
# Test our payload # Test our payload
assert payload['text'] == \ 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 # Test sending attachments
attach = AppriseAttachment(os.path.join(TEST_VAR_DIR, 'apprise-test.gif')) 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 # Test that everything is escaped properly in a TEXT mode
assert payload['text'] == \ assert payload['text'] == \
'<h1>🚨 Change detected for &lt;i&gt;Apprise Test Title&lt;/i&gt;' \ '<b>🚨 Change detected for &lt;i&gt;Apprise Test Title&lt;/i&gt;</b>' \
'</h1>&lt;a href="http://localhost"&gt;&lt;i&gt;Apprise Body Title' \ '\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;/i&gt;&lt;/a&gt; had &lt;a href="http://127.0.0.1"&gt;a change' \
'&lt;/a&gt;' '&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 # Test that everything is escaped properly in a HTML mode
assert payload['text'] == \ 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://localhost"><i>Apprise Body Title</i></a> had ' \
'<a href="http://127.0.0.1">a change</a>' '<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 # Test that everything is escaped properly in a HTML mode
assert payload['text'] == \ assert payload['text'] == \
'<h1><p>🚨 Change detected for <em>Apprise Test Title</em></p>' \ '<b><p>🚨 Change detected for <em>Apprise Test Title</em></p></b>' \
'</h1><p><em><a href="http://localhost">Apprise Body Title</a></em> ' \ '\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>' '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 # Test that everything is escaped properly in a TEXT mode
assert payload['text'].encode('utf-8') == \ assert payload['text'].encode('utf-8') == \
'<h1>\xf0\x9f\x9a\xa8 Change detected for &lt;i&gt;' \ '<b>\xf0\x9f\x9a\xa8 Change detected for &lt;i&gt;' \
'Apprise Test Title&lt;/i&gt;</h1>' \ 'Apprise Test Title&lt;/i&gt;</b>\r\n' \
'&lt;a href="http://localhost"&gt;&lt;i&gt;' \ '&lt;a href="http://localhost"&gt;&lt;i&gt;' \
'Apprise Body Title&lt;/i&gt;&lt;/a&gt; had &lt;a ' \ 'Apprise Body Title&lt;/i&gt;&lt;/a&gt; had &lt;a ' \
'href="http://127.0.0.1"&gt;a change&lt;/a&gt;' '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 # Test that everything is escaped properly in a HTML mode
assert payload['text'].encode('utf-8') == \ assert payload['text'].encode('utf-8') == \
'<h1>\xf0\x9f\x9a\xa8 Change detected for <i>Apprise Test Title</i>' \ '<b>\xf0\x9f\x9a\xa8 Change detected for <i>Apprise Test Title</i>' \
'</h1><a href="http://localhost"><i>Apprise Body Title</i></a> had ' \ '</b>\r\n<a href="http://localhost"><i>Apprise Body Title</i></a> ' \
'<a href="http://127.0.0.1">a change</a>' 'had <a href="http://127.0.0.1">a change</a>'
# Reset our values # Reset our values
mock_post.reset_mock() 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 # Test that everything is escaped properly in a HTML mode
assert payload['text'].encode('utf-8') == \ assert payload['text'].encode('utf-8') == \
'<h1><p>\xf0\x9f\x9a\xa8 Change detected for ' \ '<b><p>\xf0\x9f\x9a\xa8 Change detected for ' \
'<em>Apprise Test Title</em></p></h1><p><em>' \ '<em>Apprise Test Title</em></p></b>\r\n<p><em>' \
'<a href="http://localhost">Apprise Body Title</a></em>' \ '<a href="http://localhost">Apprise Body Title</a></em>' \
' had <a href="http://127.0.0.1">a change</a></p>' ' 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 # Test that everything is escaped properly in a HTML mode
assert payload['text'].encode('utf-8') == \ assert payload['text'].encode('utf-8') == \
'<h1>\xd7\x9b\xd7\x95\xd7\xaa\xd7\xa8\xd7\xaa '\ '<b>\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 '\ '\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)_' '\xd7\x94\xd7\x95\xd7\x93\xd7\xa2\xd7\x94](http://localhost)_'