From 08d808e2ace017ace45c4043ef9b414333051810 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Wed, 8 May 2019 18:08:11 +0200 Subject: [PATCH] Bump Mastodon version in some places --- README.rst | 2 +- docs/index.rst | 5 +++-- mastodon/Mastodon.py | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 87985c9..053ba16 100644 --- a/README.rst +++ b/README.rst @@ -1,7 +1,7 @@ Mastodon.py =========== Python wrapper for the Mastodon ( https://github.com/tootsuite/mastodon/ ) API. -Feature complete for public API as of Mastodon version 2.8.0 and easy to get started with: +Feature complete for public API as of Mastodon version 2.8.2 and easy to get started with: .. code-block:: python diff --git a/docs/index.rst b/docs/index.rst index 637e771..b5b1ea5 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -54,9 +54,10 @@ node running Mastodon by setting `api_base_url` when creating the api object (or creating an app). Mastodon.py aims to implement the complete public Mastodon API. As -of this time, it is feature complete for Mastodon version 2.8.0. Pleromas +of this time, it is feature complete for Mastodon version 2.8.2. Pleromas Mastodon API layer, while not an official target, should also be basically -compatible. +compatible, and Mastodon.py does make some allowances for behaviour that isn't +strictly like Mastodons. A note about rate limits ------------------------ diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 34e6552..fd8df1b 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -154,7 +154,7 @@ class Mastodon: } __VALID_SCOPES = ['read', 'write', 'follow', 'push'] + __SCOPE_SETS['read'] + __SCOPE_SETS['write'] - __SUPPORTED_MASTODON_VERSION = "2.4.3" + __SUPPORTED_MASTODON_VERSION = "2.8.2" # Dict versions __DICT_VERSION_APPLICATION = "2.7.2"