Skip to content

Commit

Permalink
Add the JOURNALISTIC blocking reason (#39)
Browse files Browse the repository at this point in the history
This PR adds the `JOURNALISTIC` blocking reason.

## Changes made

- Add a new `JOURNALISTIC` value to the existing `BlockReason` enum.
- Bump data provider version to 0.9.2.
  • Loading branch information
MGaetan89 authored May 10, 2024
1 parent e6b9c0a commit a0d7df4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/Config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ object Config {

const val major = 0
const val minor = 9
const val patch = 1
const val patch = 2
const val versionName = "$major.$minor.$patch"

const val maven_group = "ch.srg.data.provider"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ enum class YouthProtectionColor {

@Serializable(with = BlockReasonSerializer::class)
enum class BlockReason {
GEOBLOCK, LEGAL, COMMERCIAL, AGERATING18, AGERATING12, STARTDATE, ENDDATE, UNKNOWN;
GEOBLOCK, LEGAL, COMMERCIAL, AGERATING18, AGERATING12, STARTDATE, ENDDATE, JOURNALISTIC, UNKNOWN;

companion object {
fun parseValue(value: String): BlockReason {
Expand Down

0 comments on commit a0d7df4

Please sign in to comment.