Skip to content

Commit

Permalink
Bump version: 2.0.0 → 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gideonshaked committed Dec 30, 2020
1 parent 5c06c7c commit 876eccc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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 = 2.0.0
current_version = 2.0.1
commit = True
tag = True
sign_tags = True
Expand Down
6 changes: 3 additions & 3 deletions nextinspace/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "2.0.0"
__version__ = "2.0.1"
__all__ = ["nextinspace", "next_launch", "next_event"]

import typing
Expand Down Expand Up @@ -216,7 +216,7 @@ def next_launch(num_launches: int, include_launcher: bool = False) -> Tuple[Laun
so HTTPErrors are possible as well.
"""
today_str = datetime_date.today().strftime("%Y-%m-%d")
data = api_get_request("https://ll.thespacedevs.com/2.0.0/launch", {"limit": num_launches, "net__gte": today_str})
data = api_get_request("https://ll.thespacedevs.com/2.0.1/launch", {"limit": num_launches, "net__gte": today_str})

launches = []
for result in data["results"]:
Expand Down Expand Up @@ -259,7 +259,7 @@ def next_event(num_events: int) -> Tuple[Event, ...]:
:raises requests.exceptions.RequestException: If there is a problem connecting to the API. Also does a `raise_for_status()` call \
so HTTP errors are possible as well.
"""
data = api_get_request("https://ll.thespacedevs.com/2.0.0/event/upcoming", {"limit": num_events})
data = api_get_request("https://ll.thespacedevs.com/2.0.1/event/upcoming", {"limit": num_events})

events = []
for result in data["results"]:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ profile = "black"

[tool.poetry]
name = "nextinspace"
version = "2.0.0"
version = "2.0.1"
description = "Never miss a launch."
license = "GPL-3.0-or-later"
authors = ["Gideon Shaked <[email protected]>"]
Expand Down

0 comments on commit 876eccc

Please sign in to comment.