Skip to content

Commit

Permalink
Updated libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
jdiazcano committed Mar 17, 2020
1 parent db1460b commit 797e025
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ buildscript {
}

plugins {
id 'com.github.kt3k.coveralls' version '2.8.2'
id 'com.github.ben-manes.versions' version '0.20.0'
id 'com.github.kt3k.coveralls' version '2.10.1'
id 'com.github.ben-manes.versions' version '0.28.0'
id "com.jfrog.bintray" version "1.8.4"
}

Expand All @@ -34,7 +34,7 @@ idea {

project.ext {
artifactGroup = "com.jdiazcano.cfg4k"
artifactVersion = "0.9.4"
artifactVersion = "0.9.41"
}

repositories {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class URLConfigSourceTest: FeatureSpec({
val configSource = "a: b"
val configPath = "/path"
val server = MockWebServer().apply { start() }
val configUrl = server.url(configPath).url()
val configUrl = server.url(configPath).toUrl()

scenario("should fetch config") {
val source = URLConfigSource(configUrl)
Expand All @@ -38,7 +38,7 @@ class URLConfigSourceTest: FeatureSpec({
val fetchedConfigSource = it.toList().single()
fetchedConfigSource.shouldBe(configSource)

val request = server.takeRequest(1, TimeUnit.MILLISECONDS)
val request = server.takeRequest(1, TimeUnit.MILLISECONDS)!!
request.method shouldBe "GET"
request.path shouldBe configPath
}
Expand All @@ -49,7 +49,7 @@ class URLConfigSourceTest: FeatureSpec({
server.enqueue(MockResponse().setBody(configSource))
// Calling use to auto-close the stream
source.read().use {
val request = server.takeRequest(1, TimeUnit.MILLISECONDS)
val request = server.takeRequest(1, TimeUnit.MILLISECONDS)!!
request.getHeader(AUTH_HEADER).shouldBeNull()
}
}
Expand All @@ -60,7 +60,7 @@ class URLConfigSourceTest: FeatureSpec({
server.enqueue(MockResponse().setBody(configSource))
// Calling use to auto-close the stream
source.read().use {
val request = server.takeRequest(1, TimeUnit.MILLISECONDS)
val request = server.takeRequest(1, TimeUnit.MILLISECONDS)!!
request.getHeader(AUTH_HEADER).shouldBe(authHeader)
}
}
Expand Down
18 changes: 9 additions & 9 deletions gradle/versions.gradle
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
ext.versions = [
jetbrains: [
kotlin: '1.3.21',
kotlin: '1.3.70',
spek: '1.1.2',
engine: '1.2.1'
],
bytebuddy: '1.9.10',
klaxon: '5.0.5',
typesafe: '1.3.3',
bytebuddy: '1.10.8',
klaxon: '5.2',
typesafe: '1.4.0',
jgit: '4.9.0.201710071750-r',
expekt: '0.5.0',
junitrunner: '1.1.0-M1',
snakeyaml: '1.24',
snakeyaml: '1.26',
jcommander: '1.72',
mockwebserver: '3.13.1',
aws: '1.11.510',
logging: '1.6.25',
mockwebserver: '4.4.1',
aws: '1.11.745',
logging: '1.7.8',
mockk: '1.9.3',
kotlintest: '3.3.1',
kotlintest: '3.4.2',
assertk: '0.13'
]

Expand Down

0 comments on commit 797e025

Please sign in to comment.