sweatstack-cli 0.4.1__tar.gz → 0.5.0__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.
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/PKG-INFO +1 -1
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/pyproject.toml +1 -1
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/src/sweatstack_cli/__init__.py +1 -1
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/src/sweatstack_cli/commands/auth.py +1 -1
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/src/sweatstack_cli/version_check.py +2 -2
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/tests/test_version_check.py +1 -1
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/uv.lock +1 -1
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/.claude/settings.local.json +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/.gitignore +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/.python-version +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/CREATE_PRIVATE_APP.md +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/DEVELOPMENT.md +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/Makefile +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/PLAN.md +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/README.md +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/src/sweatstack_cli/api/__init__.py +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/src/sweatstack_cli/api/client.py +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/src/sweatstack_cli/auth/__init__.py +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/src/sweatstack_cli/auth/callback_server.py +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/src/sweatstack_cli/auth/jwt.py +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/src/sweatstack_cli/auth/pkce.py +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/src/sweatstack_cli/auth/tokens.py +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/src/sweatstack_cli/commands/__init__.py +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/src/sweatstack_cli/commands/app.py +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/src/sweatstack_cli/commands/page.py +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/src/sweatstack_cli/config.py +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/src/sweatstack_cli/console.py +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/src/sweatstack_cli/exceptions.py +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/src/sweatstack_cli/main.py +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/src/sweatstack_cli/py.typed +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/tests/__init__.py +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/tests/conftest.py +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/tests/test_api/__init__.py +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/tests/test_api/test_client.py +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/tests/test_auth/__init__.py +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/tests/test_auth/test_callback_server.py +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/tests/test_auth/test_jwt.py +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/tests/test_auth/test_pkce.py +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/tests/test_auth/test_tokens.py +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/tests/test_commands/__init__.py +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/tests/test_commands/test_app.py +0 -0
- {sweatstack_cli-0.4.1 → sweatstack_cli-0.5.0}/tests/test_commands/test_cli.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sweatstack-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.0
|
|
4
4
|
Summary: Command-line interface for SweatStack — the sports data platform for developers
|
|
5
5
|
Project-URL: Homepage, https://sweatstack.no
|
|
6
6
|
Project-URL: Documentation, https://docs.sweatstack.no
|
|
@@ -87,7 +87,7 @@ def status() -> None:
|
|
|
87
87
|
if update_available and latest:
|
|
88
88
|
console.print(
|
|
89
89
|
f"[yellow]⚠[/yellow] Update available: {latest} (current: {__version__})\n"
|
|
90
|
-
f" Run: [cyan]
|
|
90
|
+
f" Run: [cyan]uv tool upgrade sweatstack-cli[/cyan] [dim](or pip/pipx)[/dim]"
|
|
91
91
|
)
|
|
92
92
|
elif latest:
|
|
93
93
|
console.print(f"[green]✓[/green] Up to date ({__version__})")
|
|
@@ -70,6 +70,6 @@ def get_update_message() -> str | None:
|
|
|
70
70
|
return None
|
|
71
71
|
|
|
72
72
|
return (
|
|
73
|
-
f"
|
|
74
|
-
f"
|
|
73
|
+
f"Update available: {latest} (current: {__version__})\n"
|
|
74
|
+
f"Run: [cyan]uv tool upgrade sweatstack-cli[/cyan] [dim](or pip/pipx)[/dim]"
|
|
75
75
|
)
|
|
@@ -103,7 +103,7 @@ class TestGetUpdateMessage:
|
|
|
103
103
|
|
|
104
104
|
assert msg is not None
|
|
105
105
|
assert "99.0.0" in msg
|
|
106
|
-
assert "
|
|
106
|
+
assert "sweatstack-cli" in msg
|
|
107
107
|
|
|
108
108
|
def test_returns_none_when_up_to_date(self, httpx_mock: HTTPXMock) -> None:
|
|
109
109
|
"""Should return None when on latest version."""
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|