diff --git a/README.md b/README.md index eb73959..78206f3 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ to iOS Shortcuts-like shareable text. ```text $ surplus 9R3J+R9 Singapore -surplus version 2.0.0 +surplus version 2.0.1 Thomson Plaza 301 Upper Thomson Road Sin Ming, Bishan @@ -255,7 +255,7 @@ of incorrect outputs. ```text $ s+ --debug 8QJF+RP Singapore -surplus version 2.0.0, debug mode +surplus version 2.0.1, debug mode debug: parse_query: behaviour.query=['8QJF+RP', 'Singapore'] debug: _match_plus_code: portion_plus_code='8QJF+RP', portion_locality='Singapore' debug: cli: query=Result(value=LocalCodeQuery(code='8QJF+RP', locality='Singapore'), error=None) diff --git a/pyproject.toml b/pyproject.toml index 16b1adb..2f7aea4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "surplus" -version = "2.0.0" +version = "2.0.1" description = "Python script to convert Google Maps Plus Codes to iOS Shortcuts-like shareable text." authors = ["Mark Joshwel "] license = "Unlicense" diff --git a/surplus/__init__.py b/surplus/__init__.py index c1983a1..a82f118 100644 --- a/surplus/__init__.py +++ b/surplus/__init__.py @@ -56,6 +56,7 @@ from .surplus import ( PlusCodeNotFoundError, PlusCodeQuery, Query, + Result, ResultType, StringQuery, SurplusException, diff --git a/surplus/surplus.py b/surplus/surplus.py index 41816a9..ff6bc6f 100644 --- a/surplus/surplus.py +++ b/surplus/surplus.py @@ -56,7 +56,7 @@ from pluscodes.openlocationcode import ( # type: ignore # isort: skip # constants -VERSION: Final[tuple[int, int, int]] = (2, 0, 0) +VERSION: Final[tuple[int, int, int]] = (2, 0, 1) USER_AGENT: Final[str] = "surplus" SHAREABLE_TEXT_LINE_0_KEYS: Final[tuple[str, ...]] = ( "emergency",