diff --git a/README.md b/README.md index 73854de5..f664b656 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ While we are working on Bintray support, Scarlet is available via [JitPack][jitp com.github.tinder.scarlet scarlet - 0.2.2-alpha2 + 0.2.2-alpha3 ``` @@ -98,7 +98,7 @@ repositories { maven { url "https://jitpack.io" } } -implementation 'com.github.tinder.scarlet:scarlet:$0.2.2-alpha2' +implementation 'com.github.tinder.scarlet:scarlet:$0.2.2-alpha3' ``` ### Plug-in Roadmap diff --git a/gradle.properties b/gradle.properties index f9dc699b..018a5492 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,4 +4,4 @@ android.enableJetifier=true android.useAndroidX=true -version=0.2.2-alpha2 +version=0.2.2-alpha3 diff --git a/scarlet-message-adapter-gson/src/test/java/com/tinder/scarlet/messageadapter/gson/GsonMessageAdapterTest.kt b/scarlet-message-adapter-gson/src/test/java/com/tinder/scarlet/messageadapter/gson/GsonMessageAdapterTest.kt index a062d4b1..ccb83be7 100644 --- a/scarlet-message-adapter-gson/src/test/java/com/tinder/scarlet/messageadapter/gson/GsonMessageAdapterTest.kt +++ b/scarlet-message-adapter-gson/src/test/java/com/tinder/scarlet/messageadapter/gson/GsonMessageAdapterTest.kt @@ -14,10 +14,9 @@ import com.tinder.scarlet.Message import com.tinder.scarlet.MessageAdapter import com.tinder.scarlet.Stream import com.tinder.scarlet.testutils.any -import com.tinder.scarlet.testutils.test -import com.tinder.scarlet.testutils.rule.OkHttpWebSocketConnection import com.tinder.scarlet.testutils.containingText -import com.tinder.scarlet.StateTransition +import com.tinder.scarlet.testutils.rule.OkHttpWebSocketConnection +import com.tinder.scarlet.testutils.test import com.tinder.scarlet.websocket.WebSocketEvent import com.tinder.scarlet.ws.Receive import com.tinder.scarlet.ws.Send diff --git a/scarlet/src/main/java/com/tinder/scarlet/Scarlet.kt b/scarlet/src/main/java/com/tinder/scarlet/Scarlet.kt index 2b79e606..c3f5c22a 100644 --- a/scarlet/src/main/java/com/tinder/scarlet/Scarlet.kt +++ b/scarlet/src/main/java/com/tinder/scarlet/Scarlet.kt @@ -25,7 +25,6 @@ import com.tinder.scarlet.internal.utils.MessageAdapterResolver import com.tinder.scarlet.internal.utils.RuntimePlatform import com.tinder.scarlet.internal.utils.StreamAdapterResolver import com.tinder.scarlet.lifecycle.DefaultLifecycle -import com.tinder.scarlet.lifecycle.FlowableLifecycle import com.tinder.scarlet.lifecycle.LifecycleRegistry import com.tinder.scarlet.messageadapter.builtin.BuiltInMessageAdapterFactory import com.tinder.scarlet.retry.BackoffStrategy diff --git a/scarlet/src/main/java/com/tinder/scarlet/lifecycle/DefaultLifecycle.kt b/scarlet/src/main/java/com/tinder/scarlet/lifecycle/DefaultLifecycle.kt index fc1d23aa..25169d35 100644 --- a/scarlet/src/main/java/com/tinder/scarlet/lifecycle/DefaultLifecycle.kt +++ b/scarlet/src/main/java/com/tinder/scarlet/lifecycle/DefaultLifecycle.kt @@ -14,4 +14,3 @@ internal class DefaultLifecycle( lifecycleRegistry.onNext(LifecycleState.Started) } } - diff --git a/scarlet/src/test/java/com/tinder/scarlet/internal/coordinator/LifecycleEventSourceTest.kt b/scarlet/src/test/java/com/tinder/scarlet/internal/coordinator/LifecycleEventSourceTest.kt index de366cda..e7320880 100644 --- a/scarlet/src/test/java/com/tinder/scarlet/internal/coordinator/LifecycleEventSourceTest.kt +++ b/scarlet/src/test/java/com/tinder/scarlet/internal/coordinator/LifecycleEventSourceTest.kt @@ -96,5 +96,4 @@ class LifecycleEventSourceTest { then(eventCallback).should().onEvent(Event.OnLifecycleStateChange(LifecycleState.Started)) then(eventCallback).should().onEvent(Event.OnLifecycleStateChange(LifecycleState.Stopped)) } - } \ No newline at end of file diff --git a/scarlet/src/test/java/com/tinder/scarlet/internal/coordinator/TimerEventSourceTest.kt b/scarlet/src/test/java/com/tinder/scarlet/internal/coordinator/TimerEventSourceTest.kt index b538a424..a67d1fa9 100644 --- a/scarlet/src/test/java/com/tinder/scarlet/internal/coordinator/TimerEventSourceTest.kt +++ b/scarlet/src/test/java/com/tinder/scarlet/internal/coordinator/TimerEventSourceTest.kt @@ -81,5 +81,4 @@ class TimerEventSourceTest { // Then then(eventCallback).should(never()).onEvent(Event.OnShouldConnect) } - } \ No newline at end of file diff --git a/scarlet/src/test/java/com/tinder/scarlet/lifecycle/DefaultLifecycleTest.kt b/scarlet/src/test/java/com/tinder/scarlet/lifecycle/DefaultLifecycleTest.kt index 640c4b49..a61404e6 100644 --- a/scarlet/src/test/java/com/tinder/scarlet/lifecycle/DefaultLifecycleTest.kt +++ b/scarlet/src/test/java/com/tinder/scarlet/lifecycle/DefaultLifecycleTest.kt @@ -29,5 +29,4 @@ internal class DefaultLifecycleTest { // Then testSubscriber.assertNotTerminated() } - }