watch-diff 1.2.0__tar.gz → 1.3.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- watch_diff-1.3.1/.local/.env +5 -0
- {watch_diff-1.2.0 → watch_diff-1.3.1}/LICENSE +1 -1
- {watch_diff-1.2.0 → watch_diff-1.3.1}/PKG-INFO +3 -3
- {watch_diff-1.2.0 → watch_diff-1.3.1}/pyproject.toml +3 -3
- {watch_diff-1.2.0 → watch_diff-1.3.1}/uv.lock +1 -1
- {watch_diff-1.2.0 → watch_diff-1.3.1}/watch_diff/email.py +3 -1
- {watch_diff-1.2.0 → watch_diff-1.3.1}/.github/workflows/build.yml +0 -0
- {watch_diff-1.2.0 → watch_diff-1.3.1}/.gitignore +0 -0
- {watch_diff-1.2.0 → watch_diff-1.3.1}/README.md +0 -0
- {watch_diff-1.2.0 → watch_diff-1.3.1}/tests/__init__.py +0 -0
- {watch_diff-1.2.0 → watch_diff-1.3.1}/tests/test_watch_diff.py +0 -0
- {watch_diff-1.2.0 → watch_diff-1.3.1}/watch_diff/__init__.py +0 -0
- {watch_diff-1.2.0 → watch_diff-1.3.1}/watch_diff/__main__.py +0 -0
- {watch_diff-1.2.0 → watch_diff-1.3.1}/watch_diff/command.py +0 -0
- {watch_diff-1.2.0 → watch_diff-1.3.1}/watch_diff/diff.py +0 -0
- {watch_diff-1.2.0 → watch_diff-1.3.1}/watch_diff/format.py +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: watch-diff
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.3.1
|
|
4
4
|
Summary: Watch command output and get notified on changes
|
|
5
5
|
Project-URL: Homepage, https://github.com/francisbergin/watch-diff
|
|
6
|
-
Author-email: Francis Bergin <
|
|
7
|
-
Maintainer-email: Francis Bergin <
|
|
6
|
+
Author-email: Francis Bergin <contact@francisbergin.net>
|
|
7
|
+
Maintainer-email: Francis Bergin <contact@francisbergin.net>
|
|
8
8
|
License-Expression: MIT
|
|
9
9
|
License-File: LICENSE
|
|
10
10
|
Requires-Python: >=3.10
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "watch-diff"
|
|
3
|
-
version = "1.
|
|
3
|
+
version = "1.3.1"
|
|
4
4
|
description = "Watch command output and get notified on changes"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
authors = [
|
|
7
|
-
{name = "Francis Bergin", email = "
|
|
7
|
+
{name = "Francis Bergin", email = "contact@francisbergin.net"},
|
|
8
8
|
]
|
|
9
9
|
maintainers = [
|
|
10
|
-
{name = "Francis Bergin", email = "
|
|
10
|
+
{name = "Francis Bergin", email = "contact@francisbergin.net"},
|
|
11
11
|
]
|
|
12
12
|
license = "MIT"
|
|
13
13
|
requires-python = ">=3.10"
|
|
@@ -2,6 +2,7 @@ import functools
|
|
|
2
2
|
import logging
|
|
3
3
|
import smtplib
|
|
4
4
|
import socket
|
|
5
|
+
import ssl
|
|
5
6
|
import time
|
|
6
7
|
from email.mime.multipart import MIMEMultipart
|
|
7
8
|
from email.mime.text import MIMEText
|
|
@@ -71,7 +72,8 @@ class Email:
|
|
|
71
72
|
|
|
72
73
|
s = self._smtp_connect(self._smtp_host, self._smtp_port)
|
|
73
74
|
s.ehlo()
|
|
74
|
-
|
|
75
|
+
context = ssl.create_default_context()
|
|
76
|
+
s.starttls(context=context)
|
|
75
77
|
s.ehlo()
|
|
76
78
|
self._smtp_login(s, self._smtp_user, self._smtp_pass)
|
|
77
79
|
s.sendmail(self._smtp_user, self._recipient, msg.as_string())
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|