Skip to content

Commit

Permalink
v2.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
GitRon committed Jun 20, 2024
1 parent 07111f2 commit 8db776b
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 31 deletions.
27 changes: 1 addition & 26 deletions .ambient-package-update/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,32 +25,7 @@
license_year=2023,
development_status="5 - Production/Stable",
has_migrations=False,
readme_content=ReadmeContent(
tagline="""Welcome to the **django-pony-express** - class-based emails for Django shipping with a full test
suite.
Similar to class-based view in Django core, this package provides a neat, DRY and testable (!) way to handle your
emails in Django.""",
content="""## Features
* Class-based structure for emails
* Avoid duplicate low-level setup
* Utilise inheritance and OOP benefits
* No duplicated templates for HTML and plain-text
* Test suite to write proper unit-tests for your emails
* Access your test outbox like a Django queryset
## Etymology
> The Pony Express was an American express mail service that used relays of horse-mounted riders. [...] During its
> 18 months of operation, the Pony Express reduced the time for messages to travel between the east and west US
> coast to about 10 days.
>
> https://en.wikipedia.org/wiki/Pony_Express
The name of this package combines the Django mascot (a pony) with a once quite successful mail service in the US.
Ingenious, right?""",
),
readme_content=ReadmeContent(uses_internationalisation=True),
dependencies=[
"Django>=3.2",
"html2text>=2020.1.16",
Expand Down
19 changes: 19 additions & 0 deletions .ambient-package-update/templates/snippets/content.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
## Features

* Class-based structure for emails
* Avoid duplicate low-level setup
* Utilise inheritance and OOP benefits
* No duplicated templates for HTML and plain-text
* Test suite to write proper unit-tests for your emails
* Access your test outbox like a Django queryset

## Etymology

> The Pony Express was an American express mail service that used relays of horse-mounted riders. [...] During its
> 18 months of operation, the Pony Express reduced the time for messages to travel between the east and west US
> coast to about 10 days.
>
> https://en.wikipedia.org/wiki/Pony_Express

The name of this package combines the Django mascot (a pony) with a once quite successful mail service in the US.
Ingenious, right?
5 changes: 5 additions & 0 deletions .ambient-package-update/templates/snippets/tagline.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Welcome to the **django-pony-express** - class-based emails for Django shipping with a full test
suite.

Similar to class-based view in Django core, this package provides a neat, DRY and testable (!) way to handle your
emails in Django.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Changelog

* *2.1.2* (2024-06-14)
* Updates via ambient-package updater
* Internal updates via `ambient-package-update`

* *2.1.1* (2024-05-31)
* Changed log-level to "info" for successful dispatching
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ emails in Django.
* [Full documentation](https://django-pony-express.readthedocs.io/en/latest/index.html)
* Creator & Maintainer: [Ambient Digital](https://ambient.digital/)


## Features

* Class-based structure for emails
Expand All @@ -38,7 +39,6 @@ Ingenious, right?

## Installation


- Install the package via pip:

`pip install django-pony-express`
Expand All @@ -60,7 +60,6 @@ Ingenious, right?




## Contribute

### Setup package for development
Expand Down Expand Up @@ -176,3 +175,4 @@ being rendered by this updater. It works similar to well-known updaters like `py

To run an update, refer to the [documentation page](https://pypi.org/project/ambient-package-update/)
of the "ambient-package-update".

2 changes: 1 addition & 1 deletion django_pony_express/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Class-based emails including a test suite for Django"""

__version__ = "2.1.1"
__version__ = "2.1.2"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ dev = [
'm2r2==0.3.3.post2',
'mistune<2.0.0',
'flit~=3.9',
'ambient-package-update~=24.6.1',
'ambient-package-update~=24.6.2',
]

[tool.flit.module]
Expand Down

0 comments on commit 8db776b

Please sign in to comment.