Skip to content

Commit

Permalink
Version 1.4.2 (#37)
Browse files Browse the repository at this point in the history
* Trim data when import and before save to avoid errors

* Update dependencies
  • Loading branch information
walter-juan authored May 5, 2024
1 parent a1e8b13 commit ea43d81
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 16 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
### Security

## [1.4.2]
### Fixed
- Trim data when import and before save to avoid errors
### Changed
- Update dependencies

## [1.4.1]
### Changed
- Update dependencies
Expand Down Expand Up @@ -169,7 +175,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.0.0]
_First version_

[unreleased]: https://github.com/walter-juan/ghd/compare/v1.4.1...dev
[unreleased]: https://github.com/walter-juan/ghd/compare/v1.4.2...dev
[1.4.2]: https://github.com/walter-juan/ghd/releases/tag/v1.4.2
[1.4.1]: https://github.com/walter-juan/ghd/releases/tag/v1.4.1
[1.4.0]: https://github.com/walter-juan/ghd/releases/tag/v1.4.0
[1.3.4]: https://github.com/walter-juan/ghd/releases/tag/v1.3.4
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ For more detailed information follow [the tutorial from H2](https://www.h2databa
- Android official
- [Material Design Components](https://developer.android.com/reference/kotlin/androidx/compose/material/package-summary) code documentation, the package `androidx.compose.material`
- [Material Design 3 Components](https://developer.android.com/reference/kotlin/androidx/compose/material3/package-summary) code documentation, the package `androidx.compose.material3`
- [List of Compose modifiers](https://developer.android.com/develop/ui/compose/modifiers-list)
- [List and id's for performance](https://developer.android.com/jetpack/compose/lists)
- [State](https://developer.android.com/jetpack/compose/state)
- [Kotlin for compose](https://developer.android.com/jetpack/compose/kotlin)
Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ plugins {
}

group = "com.woowla"
version = "1.4.1"
version = "1.4.2"
val debug = (extra["debugConfig"] as String).toBoolean()
val debugAppFolder = "ghd-debug"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ class YamlRepoToCheckFileParser : RepoToCheckFileParser {
return result.repos.map { yamlRepo ->
RepoToCheck(
id = RepoToCheckFileParser.ID,
owner = yamlRepo.owner,
name = yamlRepo.name,
groupName = yamlRepo.group,
pullBranchRegex = yamlRepo.pulls.branchRegexFilter,
owner = yamlRepo.owner.trim(),
name = yamlRepo.name.trim(),
groupName = yamlRepo.group?.trim(),
pullBranchRegex = yamlRepo.pulls.branchRegexFilter?.trim(),
arePullRequestsEnabled = yamlRepo.pulls.enabled ?: true,
areReleasesEnabled = yamlRepo.releases.enabled ?: true,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@ class RepoToCheckEditViewModel(
val events: SharedFlow<Events> = _events

fun ownerUpdated(value: String) {
_updateRequest.value = _updateRequest.value.copy(owner = value)
_updateRequest.value = _updateRequest.value.copy(owner = value.trim())
}

fun nameUpdated(value: String) {
_updateRequest.value = _updateRequest.value.copy(name = value)
_updateRequest.value = _updateRequest.value.copy(name = value.trim())
}

fun groupUpdated(value: String) {
_updateRequest.value = _updateRequest.value.copy(groupName = value)
_updateRequest.value = _updateRequest.value.copy(groupName = value.trim())
}

fun branchRegexUpdated(value: String) {
_updateRequest.value = _updateRequest.value.copy(pullBranchRegex = value)
_updateRequest.value = _updateRequest.value.copy(pullBranchRegex = value.trim())
}

fun arePullRequestsEnabledUpdated(value: Boolean) {
Expand Down
12 changes: 6 additions & 6 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ kotlin = "1.9.23"
apollo3 = "3.8.3"
voyager = "1.0.0"
kotest = "5.8.1"
exposed = "0.48.0"
ktor = "2.3.9"
exposed = "0.49.0"
ktor = "2.3.10"

[plugins]
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
Expand Down Expand Up @@ -35,7 +35,7 @@ exposed-jdbc = { group = "org.jetbrains.exposed", name = "exposed-jdbc", version
exposed-dao = { group = "org.jetbrains.exposed", name = "exposed-dao", version.ref = "exposed" }
exposed-kotlin-datetime = { group = "org.jetbrains.exposed", name = "exposed-kotlin-datetime", version.ref = "exposed" }
# logger
logback-classic = { group = "ch.qos.logback", name = "logback-classic", version = "1.5.3" }
logback-classic = { group = "ch.qos.logback", name = "logback-classic", version = "1.5.6" }
# cross-platform lib to resolve some application directories for desktop
appdirs = { group = "net.harawata", name = "appdirs", version = "1.2.2" }
# kamel, media loading and caching (requires Ktor HttpClient)
Expand All @@ -46,11 +46,11 @@ voyager-navigator-screenmodel = { group = "cafe.adriel.voyager", name = "voyager
voyager-navigator-tab = { group = "cafe.adriel.voyager", name = "voyager-tab-navigator", version.ref = "voyager" }
voyager-transitions = { group = "cafe.adriel.voyager", name = "voyager-transitions", version.ref = "voyager" }
# YAML support for kotlinx.serialization
kaml = { group = "com.charleskorn.kaml", name = "kaml", version = "0.58.0" }
# Kotlin data class for Semantic Versioning 2.0.0 specification (SemVer)
kaml = { group = "com.charleskorn.kaml", name = "kaml", version = "0.59.0" }
# Kotlin's data class for Semantic Versioning 2.0.0 specification (SemVer)
semver = { group = "net.swiftzer.semver", name = "semver", version = "2.0.0" }
# Database migration, release notes https://documentation.red-gate.com/fd/release-notes-for-flyway-engine-179732572.html
flyway-core = { group = "org.flywaydb", name = "flyway-core", version = "10.10.0" }
flyway-core = { group = "org.flywaydb", name = "flyway-core", version = "10.12.0" }
# state machine
tinder-statemachine = { group = "com.tinder.statemachine", name = "statemachine", version = "0.2.0" }

Expand Down

0 comments on commit ea43d81

Please sign in to comment.