Skip to content

Commit

Permalink
Fixed PlanToWatch/PlanToRead value in enums.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ervie committed Mar 17, 2019
1 parent e01df97 commit 763f7ab
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 19 deletions.
3 changes: 2 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
## 17.03.2019 - Version 1.2.3 (newest)
## 17.03.2019 - Version 1.2.4 (newest)

- Fixes
- <b>[Recommendation]</b> Added missing `Title` field.
- <b>[AiringStatus]</b> Fixed PlanToWatch/PlanToRead values (in 1.2.4).
- New fields
- AnimeList
- `AnimeListEntry` now has `AiringStatus` and `PublishingStatus` fields.
Expand Down
12 changes: 6 additions & 6 deletions JikanDotNet/JikanDotNet/Enumerations/UserAnimeListExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,36 +11,36 @@ public enum UserAnimeListExtension
/// Basic extension, parse data for all entries.
/// </summary>
[Description("all")]
All,
All = 0,

/// <summary>
/// Watching extension, parses only anime with watching status.
/// </summary>
[Description("watching")]
Watching,
Watching = 1,

/// <summary>
/// Completed extension, parses only anime with completed status.
/// </summary>
[Description("completed")]
Completed,
Completed = 2,

/// <summary>
/// On hold extension, parses only anime with on hold status.
/// </summary>
[Description("onhold")]
OnHold,
OnHold = 3,

/// <summary>
/// Dropped extension, parses only anime with dropped status.
/// </summary>
[Description("dropped")]
Dropped,
Dropped = 4,

/// <summary>
/// Plan to watch extension, parses only anime with plan to watch status.
/// </summary>
[Description("plantowatch")]
PlanToWatch
PlanToWatch = 6
}
}
12 changes: 6 additions & 6 deletions JikanDotNet/JikanDotNet/Enumerations/UserMangaListExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,36 +11,36 @@ public enum UserMangaListExtension
/// Basic extension, parse data for all entries.
/// </summary>
[Description("all")]
All,
All = 0,

/// <summary>
/// Reading extension, parses only manga with reading status.
/// </summary>
[Description("reading")]
Reading,
Reading = 1,

/// <summary>
/// Completed extension, parses only manga with completed status.
/// </summary>
[Description("completed")]
Completed,
Completed = 2,

/// <summary>
/// On hold extension, parses only manga with on hold status.
/// </summary>
[Description("onhold")]
OnHold,
OnHold = 3,

/// <summary>
/// Dropped extension, parses only manga with dropped status.
/// </summary>
[Description("dropped")]
Dropped,
Dropped = 4,

/// <summary>
/// Plan to read extension, parses only manga with plan to read status.
/// </summary>
[Description("plantoread")]
PlanToRead
PlanToRead = 6
}
}
6 changes: 3 additions & 3 deletions JikanDotNet/JikanDotNet/JikanDotNet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>1.2.3</Version>
<Version>1.2.4</Version>
<Authors>Bartłomiej Buchała</Authors>
<Description>A dotnet wrapper for Jikan REST API, fetching data from MyAnimeList.</Description>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
Expand All @@ -12,8 +12,8 @@
<PackageLicenseUrl>https://github.com/Ervie/jikan.net/blob/master/LICENSE</PackageLicenseUrl>
<PackageProjectUrl>https://github.com/Ervie/jikan.net</PackageProjectUrl>
<PackageIconUrl>https://jikan.moe/assets/images/favicon/apple-touch-icon.png</PackageIconUrl>
<FileVersion>1.2.0.3</FileVersion>
<AssemblyVersion>1.2.0.3</AssemblyVersion>
<FileVersion>1.2.0.4</FileVersion>
<AssemblyVersion>1.2.0.4</AssemblyVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
- <b>[Recommendation]</b> Added missing `Title` field.
Expand Down

0 comments on commit 763f7ab

Please sign in to comment.