From 763f7abc50b5e1fdaf881cec034e755b9148aa1f Mon Sep 17 00:00:00 2001 From: Ervie Date: Sun, 17 Mar 2019 22:39:07 +0100 Subject: [PATCH] Fixed PlanToWatch/PlanToRead value in enums. --- Changelog.md | 3 ++- .../Enumerations/UserAnimeListExtension.cs | 12 ++++++------ .../Enumerations/UserMangaListExtension.cs | 12 ++++++------ JikanDotNet/JikanDotNet/JikanDotNet.csproj | 6 +++--- README.md | 6 +++--- 5 files changed, 20 insertions(+), 19 deletions(-) diff --git a/Changelog.md b/Changelog.md index 3cb90ec..7e33501 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,7 +1,8 @@ -## 17.03.2019 - Version 1.2.3 (newest) +## 17.03.2019 - Version 1.2.4 (newest) - Fixes - [Recommendation] Added missing `Title` field. + - [AiringStatus] Fixed PlanToWatch/PlanToRead values (in 1.2.4). - New fields - AnimeList - `AnimeListEntry` now has `AiringStatus` and `PublishingStatus` fields. diff --git a/JikanDotNet/JikanDotNet/Enumerations/UserAnimeListExtension.cs b/JikanDotNet/JikanDotNet/Enumerations/UserAnimeListExtension.cs index caa07cd..0e27c43 100644 --- a/JikanDotNet/JikanDotNet/Enumerations/UserAnimeListExtension.cs +++ b/JikanDotNet/JikanDotNet/Enumerations/UserAnimeListExtension.cs @@ -11,36 +11,36 @@ public enum UserAnimeListExtension /// Basic extension, parse data for all entries. /// [Description("all")] - All, + All = 0, /// /// Watching extension, parses only anime with watching status. /// [Description("watching")] - Watching, + Watching = 1, /// /// Completed extension, parses only anime with completed status. /// [Description("completed")] - Completed, + Completed = 2, /// /// On hold extension, parses only anime with on hold status. /// [Description("onhold")] - OnHold, + OnHold = 3, /// /// Dropped extension, parses only anime with dropped status. /// [Description("dropped")] - Dropped, + Dropped = 4, /// /// Plan to watch extension, parses only anime with plan to watch status. /// [Description("plantowatch")] - PlanToWatch + PlanToWatch = 6 } } \ No newline at end of file diff --git a/JikanDotNet/JikanDotNet/Enumerations/UserMangaListExtension.cs b/JikanDotNet/JikanDotNet/Enumerations/UserMangaListExtension.cs index 5d06479..064a55e 100644 --- a/JikanDotNet/JikanDotNet/Enumerations/UserMangaListExtension.cs +++ b/JikanDotNet/JikanDotNet/Enumerations/UserMangaListExtension.cs @@ -11,36 +11,36 @@ public enum UserMangaListExtension /// Basic extension, parse data for all entries. /// [Description("all")] - All, + All = 0, /// /// Reading extension, parses only manga with reading status. /// [Description("reading")] - Reading, + Reading = 1, /// /// Completed extension, parses only manga with completed status. /// [Description("completed")] - Completed, + Completed = 2, /// /// On hold extension, parses only manga with on hold status. /// [Description("onhold")] - OnHold, + OnHold = 3, /// /// Dropped extension, parses only manga with dropped status. /// [Description("dropped")] - Dropped, + Dropped = 4, /// /// Plan to read extension, parses only manga with plan to read status. /// [Description("plantoread")] - PlanToRead + PlanToRead = 6 } } \ No newline at end of file diff --git a/JikanDotNet/JikanDotNet/JikanDotNet.csproj b/JikanDotNet/JikanDotNet/JikanDotNet.csproj index a6205a7..c8af720 100644 --- a/JikanDotNet/JikanDotNet/JikanDotNet.csproj +++ b/JikanDotNet/JikanDotNet/JikanDotNet.csproj @@ -2,7 +2,7 @@ netstandard2.0 - 1.2.3 + 1.2.4 Bartłomiej Buchała A dotnet wrapper for Jikan REST API, fetching data from MyAnimeList. true @@ -12,8 +12,8 @@ https://github.com/Ervie/jikan.net/blob/master/LICENSE https://github.com/Ervie/jikan.net https://jikan.moe/assets/images/favicon/apple-touch-icon.png - 1.2.0.3 - 1.2.0.3 + 1.2.0.4 + 1.2.0.4 diff --git a/README.md b/README.md index a68c6ba..a44e7b0 100644 --- a/README.md +++ b/README.md @@ -89,13 +89,13 @@ Jikan.net is a .NET wrapper for [Jikan](https://jikan.moe) RESTful API for parsi ### Package manager ``` -PM> Install-Package JikanDotNet -Version 1.2.3 +PM> Install-Package JikanDotNet -Version 1.2.4 ``` ### .NET CLI ``` ->dotnet add package JikanDotNet --version 1.2.3 +>dotnet add package JikanDotNet --version 1.2.4 ``` Then restore dependencies: @@ -105,7 +105,7 @@ Then restore dependencies: # Changelog -## 17.03.2019 - Version 1.2.3 +## 17.03.2019 - Version 1.2.3/1.2.4 - Fixes - [Recommendation] Added missing `Title` field.