Skip to content
This repository has been archived by the owner on Oct 22, 2023. It is now read-only.

Commit

Permalink
Version 0.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
cyb3rko committed Jul 22, 2022
1 parent f6128fc commit 2baa193
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
7 changes: 2 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,14 @@ apply plugin: 'maven-publish'
def githubProperties = new Properties()
githubProperties.load(new FileInputStream(rootProject.file("github.properties")))

def libraryArtifactId = "m3okotlin"
def libraryVersion = "0.2.3"

def getArtificatId = { ->
return "m3okotlin"
}

publishing {
publications {
bar(MavenPublication) {
groupId 'com.cyb3rko'
artifactId getArtificatId()
artifactId libraryArtifactId
version libraryVersion
artifact("build/libs/m3o-kotlin.jar")
}
Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/com/cyb3rko/m3okotlin/services/AppsService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ object AppsService {

/**
* Get the status of an app
* @since 0.2.3
* @since 0.2.4
*/
suspend fun status(name: String): AppsStatusResponse {
return M3O.ktorHttpClient.post(M3O.getUrl(SERVICE, "Status")) {
Expand All @@ -102,7 +102,7 @@ object AppsService {
/**
* Update the app. The latest source code will be downloaded, built and
* deployed.
* @since 0.2.3
* @since 0.2.4
*/
suspend fun update(name: String, envVars: Map<String, String> = mapOf()) {
return M3O.ktorHttpClient.post(M3O.getUrl(SERVICE, "Update")) {
Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/com/cyb3rko/m3okotlin/services/UrlsService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ object UrlsService {

/**
* Create a URL
* @since 0.2.3
* @since 0.2.4
*/
suspend fun create(destinationUrl: String, id: String): UrlsCreateResponse {
return M3O.ktorHttpClient.post(M3O.getUrl(SERVICE, "Create")) {
Expand Down Expand Up @@ -48,7 +48,7 @@ object UrlsService {

/**
* Resolve returns the destination URL of a short URL.
* @since 0.2.3
* @since 0.2.4
*/
suspend fun resolve(shortUrl: String): UrlsResolveResponse {
return M3O.ktorHttpClient.post(M3O.getUrl(SERVICE, "Resolve")) {
Expand Down

0 comments on commit 2baa193

Please sign in to comment.