From e25e3c130187d9294ad5b998136b0498bd91d88f Mon Sep 17 00:00:00 2001 From: Matt Ramotar Date: Sun, 28 Jan 2024 13:28:16 -0500 Subject: [PATCH] Release 5.1.0-alpha02 (#601) Signed-off-by: mramotar --- README.md | 4 ++-- gradle.properties | 2 +- gradle/libs.versions.toml | 2 +- .../store/paging5/LaunchPagingStoreTests.kt | 9 +++++---- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index e5b6e7f22..e15e4d44e 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ #### Android ```kotlin -implementation "org.mobilenativefoundation.store:store5:5.1.0-alpha01" +implementation "org.mobilenativefoundation.store:store5:5.1.0-alpha02" ``` #### Multiplatform (Common, JVM, Native, JS) @@ -42,7 +42,7 @@ implementation "org.mobilenativefoundation.store:store5:5.1.0-alpha01" ```kotlin commonMain { dependencies { - implementation("org.mobilenativefoundation.store:store5:5.1.0-alpha01") + implementation("org.mobilenativefoundation.store:store5:5.1.0-alpha02") } } ``` diff --git a/gradle.properties b/gradle.properties index afc579615..79b22a43c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,7 +8,7 @@ org.gradle.jvmargs=-XX:MaxMetaspaceSize=2G # POM file GROUP=org.mobilenativefoundation.store -VERSION_NAME=5.1.0-alpha01 +VERSION_NAME=5.1.0-alpha02 POM_PACKAGING=pom POM_DESCRIPTION = Store5 is a Kotlin Multiplatform network-resilient repository layer diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 39809f772..6de9532a9 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -21,7 +21,7 @@ testCore = "1.5.0" kmmBridge = "0.3.2" ktlint = "0.39.0" kover = "0.6.0" -store = "5.1.0-alpha01" +store = "5.1.0-alpha02" truth = "1.1.3" [libraries] diff --git a/paging/src/commonTest/kotlin/org/mobilenativefoundation/store/paging5/LaunchPagingStoreTests.kt b/paging/src/commonTest/kotlin/org/mobilenativefoundation/store/paging5/LaunchPagingStoreTests.kt index ba3a455a7..af2d0e036 100644 --- a/paging/src/commonTest/kotlin/org/mobilenativefoundation/store/paging5/LaunchPagingStoreTests.kt +++ b/paging/src/commonTest/kotlin/org/mobilenativefoundation/store/paging5/LaunchPagingStoreTests.kt @@ -71,15 +71,16 @@ class LaunchPagingStoreTests { val state2 = awaitItem() assertIs(state2) val state3 = awaitItem() - assertIs>(state3) - expectNoEvents() + assertIs>(state3) + assertEquals("1", state3.value.posts[0].postId) val state4 = awaitItem() - assertIs>(state4) + assertIs>(state4) + assertEquals("11", state4.value.posts[0].postId) + assertEquals("1", state4.value.posts[10].postId) val data4 = state4.value assertIs(data4) assertEquals(20, data4.items.size) - expectNoEvents() } }