Skip to content

Commit 69673b8

Browse files
committed
Merge branch 'master' into gitlab-ci
2 parents 19739f9 + 48b24e2 commit 69673b8

File tree

3 files changed

+18
-8
lines changed

3 files changed

+18
-8
lines changed

build.sbt

+13-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import sbt.Keys.crossScalaVersions
33
lazy val scala212 = "2.12.8"
44
lazy val scala211 = "2.11.12"
55

6-
ThisBuild / organization := "com.guizmaii"
6+
ThisBuild / organization := "com.colisweb"
77
ThisBuild / scalaVersion := scala212
88
ThisBuild / crossScalaVersions := Seq(scala211, scala212)
99
ThisBuild / scalafmtOnCompile := true
@@ -123,10 +123,18 @@ lazy val noPublishSettings = Seq(
123123
ThisBuild / releaseCrossBuild := true
124124
ThisBuild / credentials += Credentials(Path.userHome / ".bintray" / ".credentials")
125125
ThisBuild / licenses := Seq("MIT" -> url("http://opensource.org/licenses/MIT"))
126-
ThisBuild / scmInfo := Some(ScmInfo(url("https://github.com/guizmaii/scala-distances"), "scm:git:[email protected]:guizmaii/scala-distances.git"))
127-
ThisBuild / homepage := Some(url("https://github.com/guizmaii/scala-distances"))
128-
ThisBuild / developers := List(Developer("guizmaii", "Jules Ivanic", "[email protected]", url("https://guizmaii.github.io/")))
129-
ThisBuild / bintrayOrganization := Some("guizmaii")
126+
ThisBuild / scmInfo := Some(
127+
ScmInfo(
128+
url("https://gitlab.com/colisweb-open-source/scala-distances"),
129+
"scm:git:[email protected]:colisweb-open-source/scala-distances.git"
130+
)
131+
)
132+
ThisBuild / homepage := Some(url("https://gitlab.com/colisweb-open-source/scala-distances"))
133+
ThisBuild / developers := List(
134+
Developer("guizmaii", "Jules Ivanic", "[email protected]", url("https://guizmaii.github.io/")),
135+
Developer("simooonbar", "Simon Bar", "[email protected]", url("https://gitlab.com/snatz"))
136+
)
137+
ThisBuild / bintrayOrganization := Some("colisweb")
130138
ThisBuild / bintrayReleaseOnPublish := true
131139
ThisBuild / publishMavenStyle := true
132140

core/src/main/scala/com/guizmaii/distances/DistanceApi.scala

+4-2
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ object DistanceApi {
8686
new DistanceApi(provider, cacheProvider)
8787

8888
private[DistanceApi] final val directedPathSemiGroup: Semigroup[DirectedPath] =
89-
(x: DirectedPath, y: DirectedPath) =>
90-
DirectedPath(origin = x.origin, destination = x.destination, (x.travelModes ++ y.travelModes).distinct)
89+
new Semigroup[DirectedPath] {
90+
override def combine(x: DirectedPath, y: DirectedPath): DirectedPath =
91+
DirectedPath(origin = x.origin, destination = x.destination, (x.travelModes ++ y.travelModes).distinct)
92+
}
9193
}

version.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version in ThisBuild := "1.0.0-SNAPSHOT"
1+
version in ThisBuild := "1.0.1-SNAPSHOT"

0 commit comments

Comments
 (0)