Skip to content

Commit

Permalink
Prepare for release: Update version 1.1.1 -> 1.1.2 (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
H-Shay authored May 23, 2023
1 parent 936525a commit 1634053
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Synapse module to automatically accept invites.

Compatible with Synapse v1.57.0 and later.
Compatible with Synapse v1.84.0 and later.

## Installation

Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = synapse_auto_accept_invite
description = "Synapse module to automatically accept invites"
long_description = file: README.md
long_description_content_type=text/markdown
version = 1.1.1
version = 1.1.2
classifiers=
Development Status :: 5 - Production/Stable
License :: OSI Approved :: Apache Software License
Expand All @@ -17,7 +17,7 @@ python_requires = >= 3.7
[options.extras_require]
dev =
# for tests
matrix-synapse >= 1.57.0
matrix-synapse >= 1.84.0
tox
twisted
aiounittest
Expand Down
3 changes: 2 additions & 1 deletion tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from unittest.mock import Mock

import attr
from synapse.module_api import ModuleApi, run_as_background_process
from synapse.module_api import ModuleApi

from synapse_auto_accept_invite import InviteAutoAccepter

Expand Down Expand Up @@ -76,6 +76,7 @@ def create_module(

config = InviteAutoAccepter.parse_config(config_override)

run_as_background_process = Mock()
run_as_background_process.side_effect = (
lambda desc, func, *args, bg_start_span, **kwargs: asyncio.create_task(
func(*args, **kwargs)
Expand Down

0 comments on commit 1634053

Please sign in to comment.