Skip to content

Commit

Permalink
Release 1.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jshprentz committed Sep 13, 2021
2 parents 694f18f + 3a0ae90 commit fa0df85
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.10.0
current_version = 1.11.0
commit = True
tag = False

Expand Down
5 changes: 5 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ Recent History
.. Next Release
.. ------------------
1.11.0 (2021-09-13)
------------------

* Make "Add new guests to contacts list only if email entered" the default for Wild Apricot events.

1.10.0 (2021-08-18)
------------------

Expand Down
2 changes: 1 addition & 1 deletion meetup2apricot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

__author__ = """Joel Shprentz"""
__email__ = "[email protected]"
__version__ = "1.10.0"
__version__ = "1.11.0"
4 changes: 2 additions & 2 deletions meetup2apricot/event_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ def process(self, meetup_event):
photo_path = self.copy_photo(meetup_event)
except (PhotoRetrieveError, PhotoUploadError) as err:
self.logger.warning(
"skipping %s: %s at %s",
"skipping %s: %s at %s\n%s",
meetup_event.meetup_id,
meetup_event.name,
f"{meetup_event.start_time:%Y-%m-%d %H:%M}",
err,
)
self.logger.warning(err)
return
event_tags = self.get_event_tags(meetup_event)
apricot_event_id = self.add_apricot_event(meetup_event, photo_path, event_tags)
Expand Down
3 changes: 3 additions & 0 deletions meetup2apricot/meetup_to_apricot_event_adaptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ def for_json(self):
"AvailableForAnyLevel": True,
"AvailableForAnyGroup": True,
},
"GuestRegistrationSettings": {
"CreateContactMode": "CreateContactForGuestsWithEmail"
},
"PaymentMethod": "OnlineOnly",
"RegistrationConfirmationExtraInfo": self.extra_info,
"IsWaitlistEnabled": False,
Expand Down
28 changes: 16 additions & 12 deletions requirements/dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@
#
alabaster==0.7.12
# via sphinx
appdirs==1.4.4
# via black
babel==2.9.1
# via sphinx
black==21.7b0
black==21.8b0
# via -r dev-requirements.in
bleach==4.0.0
bleach==4.1.0
# via readme-renderer
bump2version==1.0.1
# via -r dev-requirements.in
Expand All @@ -30,7 +28,7 @@ click==8.0.1
# via black
colorama==0.4.4
# via twine
cryptography==3.4.7
cryptography==3.4.8
# via secretstorage
docutils==0.17.1
# via
Expand All @@ -42,7 +40,7 @@ idna==3.2
# requests
imagesize==1.2.0
# via sphinx
importlib-metadata==4.6.4
importlib-metadata==4.8.1
# via
# keyring
# twine
Expand All @@ -52,7 +50,7 @@ jeepney==0.7.1
# secretstorage
jinja2==3.0.1
# via sphinx
keyring==23.1.0
keyring==23.2.1
# via twine
markupsafe==2.0.1
# via jinja2
Expand All @@ -67,6 +65,10 @@ pathspec==0.9.0
# via black
pkginfo==1.7.1
# via twine
platformdirs==2.3.0
# via
# -c test-requirements.txt
# black
pycparser==2.20
# via cffi
pygments==2.10.0
Expand All @@ -77,13 +79,13 @@ pyparsing==2.4.7
# via
# -c test-requirements.txt
# packaging
pysnooper==0.5.0
pysnooper==1.0.0
# via -r dev-requirements.in
pytz==2021.1
# via babel
readme-renderer==29.0
# via twine
regex==2021.8.3
regex==2021.8.28
# via black
requests==2.26.0
# via
Expand All @@ -106,7 +108,7 @@ six==1.16.0
# readme-renderer
snowballstemmer==2.1.0
# via sphinx
sphinx==4.1.2
sphinx==4.2.0
# via -r dev-requirements.in
sphinxcontrib-applehelp==1.0.2
# via sphinx
Expand All @@ -122,15 +124,17 @@ sphinxcontrib-serializinghtml==1.1.5
# via sphinx
tomli==1.2.1
# via black
tqdm==4.62.1
tqdm==4.62.2
# via twine
twine==3.4.2
# via -r dev-requirements.in
typing-extensions==3.10.0.2
# via black
urllib3==1.26.6
# via
# -c requirements.txt
# requests
watchdog==2.1.3
watchdog==2.1.5
# via -r dev-requirements.in
webencodings==0.5.1
# via bleach
Expand Down
8 changes: 4 additions & 4 deletions requirements/test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ packaging==21.0
# via
# pytest
# tox
platformdirs==2.2.0
platformdirs==2.3.0
# via virtualenv
pluggy==0.13.1
pluggy==1.0.0
# via
# pytest
# tox
Expand All @@ -42,7 +42,7 @@ pyflakes==2.3.1
# via flake8
pyparsing==2.4.7
# via packaging
pytest==6.2.4
pytest==6.2.5
# via
# -r test-requirements.in
# pytest-mock
Expand All @@ -58,7 +58,7 @@ toml==0.10.2
# via
# pytest
# tox
tox==3.24.1
tox==3.24.3
# via -r test-requirements.in
virtualenv==20.7.2
# via tox
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@
test_suite="tests",
tests_require=test_requirements,
url="https://github.com/jshprentz/meetup2apricot",
version="1.10.0",
version="1.11.0",
zip_safe=False,
)
6 changes: 6 additions & 0 deletions tests/sample_apricot_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
"AvailableForAnyLevel": True,
"AvailableForAnyGroup": True,
},
"GuestRegistrationSettings": {
"CreateContactMode": "CreateContactForGuestsWithEmail"
},
"PaymentMethod": "OnlineOnly",
"RegistrationConfirmationExtraInfo": "How to find us: "
"https://zoom.us/j/92758362882?pwd=a2VJOGxyOTBqelNhdjY1dGpqZStjZz09",
Expand Down Expand Up @@ -76,6 +79,9 @@
"VisibleTo": "Members",
},
"DescriptionHtml": EXPECTED_PAID_DESCRIPTION_HTML,
"GuestRegistrationSettings": {
"CreateContactMode": "CreateContactForGuestsWithEmail"
},
"IsWaitlistEnabled": False,
"PaymentMethod": "OnlineOnly",
"RegistrationConfirmationExtraInfo": "",
Expand Down

0 comments on commit fa0df85

Please sign in to comment.