Skip to content

Commit

Permalink
Apply ktlint
Browse files Browse the repository at this point in the history
  • Loading branch information
zhxnlai committed Jan 17, 2019
1 parent e08af6a commit eb2ea63
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 11 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ While we are working on Bintray support, Scarlet is available via [JitPack][jitp
<dependency>
<groupId>com.github.tinder.scarlet</groupId>
<artifactId>scarlet</artifactId>
<version>0.2.2-alpha2</version>
<version>0.2.2-alpha3</version>
</dependency>
```

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

android.enableJetifier=true
android.useAndroidX=true
version=0.2.2-alpha2
version=0.2.2-alpha3
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion scarlet/src/main/java/com/tinder/scarlet/Scarlet.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ internal class DefaultLifecycle(
lifecycleRegistry.onNext(LifecycleState.Started)
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,4 @@ class LifecycleEventSourceTest {
then(eventCallback).should().onEvent(Event.OnLifecycleStateChange(LifecycleState.Started))
then(eventCallback).should().onEvent(Event.OnLifecycleStateChange(LifecycleState.Stopped))
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,4 @@ class TimerEventSourceTest {
// Then
then(eventCallback).should(never()).onEvent(Event.OnShouldConnect)
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,4 @@ internal class DefaultLifecycleTest {
// Then
testSubscriber.assertNotTerminated()
}

}

0 comments on commit eb2ea63

Please sign in to comment.