aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradamw <adam@warski.org>2018-03-28 13:31:01 +0200
committeradamw <adam@warski.org>2018-03-28 13:31:01 +0200
commitb0b1535a6609c88121c2d972562aee175f713347 (patch)
treeb9249efb09cd1194fd4aeb52d1de074557ced944
parent3d8b615c89c276ff1c2db349688079a6d9f5405c (diff)
downloadsttp-b0b1535a6609c88121c2d972562aee175f713347.tar.gz
sttp-b0b1535a6609c88121c2d972562aee175f713347.tar.bz2
sttp-b0b1535a6609c88121c2d972562aee175f713347.zip
Update SBT, use shields.io
-rw-r--r--README.md2
-rw-r--r--core/src/test/scala/com/softwaremill/sttp/testing/SttpBackendStubTests.scala3
-rw-r--r--project/build.properties2
3 files changed, 4 insertions, 3 deletions
diff --git a/README.md b/README.md
index 23ac407..f367966 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
[![Join the chat at https://gitter.im/softwaremill/sttp](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/softwaremill/sttp?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Build Status](https://travis-ci.org/softwaremill/sttp.svg?branch=master)](https://travis-ci.org/softwaremill/sttp)
-[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.softwaremill.sttp/core_2.12/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.softwaremill.sttp/core_2.12)
+![Maven Central](https://img.shields.io/maven-central/v/com.softwaremill.sttp/core_2.12.svg)
[![Dependencies](https://app.updateimpact.com/badge/634276070333485056/sttp.svg?config=compile)](https://app.updateimpact.com/latest/634276070333485056/sttp)
The Scala HTTP client that you always wanted!
diff --git a/core/src/test/scala/com/softwaremill/sttp/testing/SttpBackendStubTests.scala b/core/src/test/scala/com/softwaremill/sttp/testing/SttpBackendStubTests.scala
index 772757e..83096be 100644
--- a/core/src/test/scala/com/softwaremill/sttp/testing/SttpBackendStubTests.scala
+++ b/core/src/test/scala/com/softwaremill/sttp/testing/SttpBackendStubTests.scala
@@ -27,7 +27,8 @@ class SttpBackendStubTests extends FlatSpec with Matchers with ScalaFutures {
.whenRequestMatches(_.uri.port.exists(_ == 8080))
.thenRespondWrapped(Response(Right("OK from monad"), 200, "OK", Nil, Nil))
.whenRequestMatches(_.uri.port.exists(_ == 8081))
- .thenRespondWrapped(r => Response(Right(s"OK from request. Request was sent to host: ${r.uri.host}"), 200, "OK", Nil, Nil))
+ .thenRespondWrapped(r =>
+ Response(Right(s"OK from request. Request was sent to host: ${r.uri.host}"), 200, "OK", Nil, Nil))
"backend stub" should "use the first rule if it matches" in {
implicit val b = testingStub
diff --git a/project/build.properties b/project/build.properties
index 66fe511..40577b0 100644
--- a/project/build.properties
+++ b/project/build.properties
@@ -1 +1 @@
-sbt.version=1.1.0 \ No newline at end of file
+sbt.version=1.1.2 \ No newline at end of file