Skip to content

Commit

Permalink
Release 5.1.0-alpha02
Browse files Browse the repository at this point in the history
Signed-off-by: mramotar <[email protected]>
  • Loading branch information
matt-ramotar committed Jan 28, 2024
1 parent 29fe667 commit 40e604b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@

#### 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)

```kotlin
commonMain {
dependencies {
implementation("org.mobilenativefoundation.store:store5:5.1.0-alpha01")
implementation("org.mobilenativefoundation.store:store5:5.1.0-alpha02")
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,16 @@ class LaunchPagingStoreTests {
val state2 = awaitItem()
assertIs<StoreReadResponse.Loading>(state2)
val state3 = awaitItem()
assertIs<StoreReadResponse.Data<PostData>>(state3)
expectNoEvents()
assertIs<StoreReadResponse.Data<PostData.Feed>>(state3)
assertEquals("1", state3.value.posts[0].postId)

val state4 = awaitItem()
assertIs<StoreReadResponse.Data<PostData>>(state4)
assertIs<StoreReadResponse.Data<PostData.Feed>>(state4)
assertEquals("11", state4.value.posts[0].postId)
assertEquals("1", state4.value.posts[10].postId)
val data4 = state4.value
assertIs<PostData.Feed>(data4)
assertEquals(20, data4.items.size)

expectNoEvents()
}
}
Expand Down

0 comments on commit 40e604b

Please sign in to comment.