From e622535c251768f9ad849176f71387d2d6223daf Mon Sep 17 00:00:00 2001 From: "alejandrohdezma-steward[bot]" <80571129+alejandrohdezma-steward[bot]@users.noreply.github.com> Date: Thu, 15 Aug 2024 05:14:51 +0000 Subject: [PATCH 1/7] Update sbt-fix to 0.7.2 --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index 476df8df..8c1fe269 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,7 +1,7 @@ addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.12.1") addSbtPlugin("ch.epfl.scala" % "sbt-version-policy" % "3.2.1") addSbtPlugin("com.alejandrohdezma" % "sbt-ci" % "2.15.1") -addSbtPlugin("com.alejandrohdezma" % "sbt-fix" % "0.7.1") +addSbtPlugin("com.alejandrohdezma" % "sbt-fix" % "0.7.2") addSbtPlugin("com.alejandrohdezma" % "sbt-modules" % "0.3.1") addSbtPlugin("com.alejandrohdezma" % "sbt-scalafix-defaults" % "0.13.0") addSbtPlugin("com.alejandrohdezma" % "sbt-scalafmt-defaults" % "0.9.0") From a127a85c3d7ed46bb59fc256c1c919b8b3a584b0 Mon Sep 17 00:00:00 2001 From: "alejandrohdezma-steward[bot]" <80571129+alejandrohdezma-steward[bot]@users.noreply.github.com> Date: Thu, 15 Aug 2024 05:14:51 +0000 Subject: [PATCH 2/7] Update sbt-modules to 0.3.2 --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index 8c1fe269..a403587c 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -2,7 +2,7 @@ addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.12.1") addSbtPlugin("ch.epfl.scala" % "sbt-version-policy" % "3.2.1") addSbtPlugin("com.alejandrohdezma" % "sbt-ci" % "2.15.1") addSbtPlugin("com.alejandrohdezma" % "sbt-fix" % "0.7.2") -addSbtPlugin("com.alejandrohdezma" % "sbt-modules" % "0.3.1") +addSbtPlugin("com.alejandrohdezma" % "sbt-modules" % "0.3.2") addSbtPlugin("com.alejandrohdezma" % "sbt-scalafix-defaults" % "0.13.0") addSbtPlugin("com.alejandrohdezma" % "sbt-scalafmt-defaults" % "0.9.0") addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12") From 1125e05dff3086df9e24a91e16c8f2f3b11331a0 Mon Sep 17 00:00:00 2001 From: "alejandrohdezma-steward[bot]" <80571129+alejandrohdezma-steward[bot]@users.noreply.github.com> Date: Thu, 15 Aug 2024 05:14:51 +0000 Subject: [PATCH 3/7] Update sbt-scalafix-defaults to 0.13.1 --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index a403587c..7cf4ffd8 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -3,7 +3,7 @@ addSbtPlugin("ch.epfl.scala" % "sbt-version-policy" % "3.2.1") addSbtPlugin("com.alejandrohdezma" % "sbt-ci" % "2.15.1") addSbtPlugin("com.alejandrohdezma" % "sbt-fix" % "0.7.2") addSbtPlugin("com.alejandrohdezma" % "sbt-modules" % "0.3.2") -addSbtPlugin("com.alejandrohdezma" % "sbt-scalafix-defaults" % "0.13.0") +addSbtPlugin("com.alejandrohdezma" % "sbt-scalafix-defaults" % "0.13.1") addSbtPlugin("com.alejandrohdezma" % "sbt-scalafmt-defaults" % "0.9.0") addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12") addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.10.0") From 4cdc2e099084f19f545a210dc394ac7e69f665e0 Mon Sep 17 00:00:00 2001 From: "alejandrohdezma-steward[bot]" <80571129+alejandrohdezma-steward[bot]@users.noreply.github.com> Date: Thu, 15 Aug 2024 05:15:36 +0000 Subject: [PATCH 4/7] Update sbt-scalafmt-defaults to 0.9.1 --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index 7cf4ffd8..79da07fa 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -4,7 +4,7 @@ addSbtPlugin("com.alejandrohdezma" % "sbt-ci" % "2.15.1") addSbtPlugin("com.alejandrohdezma" % "sbt-fix" % "0.7.2") addSbtPlugin("com.alejandrohdezma" % "sbt-modules" % "0.3.2") addSbtPlugin("com.alejandrohdezma" % "sbt-scalafix-defaults" % "0.13.1") -addSbtPlugin("com.alejandrohdezma" % "sbt-scalafmt-defaults" % "0.9.0") +addSbtPlugin("com.alejandrohdezma" % "sbt-scalafmt-defaults" % "0.9.1") addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12") addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.10.0") addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.5.4") From edec4df23948d3a17aa3164aea18a819efa75564 Mon Sep 17 00:00:00 2001 From: "alejandrohdezma-steward[bot]" <80571129+alejandrohdezma-steward[bot]@users.noreply.github.com> Date: Thu, 15 Aug 2024 05:15:59 +0000 Subject: [PATCH 5/7] Run `sbt fix` Executed command: sbt fix --- .../sbt/github/github/Repository.scala | 13 ++----------- .../com/alejandrohdezma/sbt/github/syntax/url.scala | 6 +----- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/modules/sbt-github/src/main/scala/com/alejandrohdezma/sbt/github/github/Repository.scala b/modules/sbt-github/src/main/scala/com/alejandrohdezma/sbt/github/github/Repository.scala index deec67f7..765f974d 100644 --- a/modules/sbt-github/src/main/scala/com/alejandrohdezma/sbt/github/github/Repository.scala +++ b/modules/sbt-github/src/main/scala/com/alejandrohdezma/sbt/github/github/Repository.scala @@ -178,17 +178,8 @@ object Repository { releasesUrl <- Try(sbt.url(releases)).failAs(NotAUrl(Json.Text(releases))) ownerUrl <- json.get[URL]("owner", "url") } yield Repository( - name, - description, - license, - url, - startYear.getYear, - defaultBranch, - contributors, - collaboratorsUrl, - releasesUrl, - organizationUrl, - ownerUrl + name, description, license, url, startYear.getYear, defaultBranch, contributors, collaboratorsUrl, releasesUrl, + organizationUrl, ownerUrl ) } diff --git a/modules/sbt-github/src/main/scala/com/alejandrohdezma/sbt/github/syntax/url.scala b/modules/sbt-github/src/main/scala/com/alejandrohdezma/sbt/github/syntax/url.scala index 4e5af4ff..c25fab86 100644 --- a/modules/sbt-github/src/main/scala/com/alejandrohdezma/sbt/github/syntax/url.scala +++ b/modules/sbt-github/src/main/scala/com/alejandrohdezma/sbt/github/syntax/url.scala @@ -32,11 +32,7 @@ object url { .getOrElse(s"$key=$value") new URI( - uri.getScheme, - uri.getAuthority, - uri.getPath, - query, - uri.getFragment + uri.getScheme, uri.getAuthority, uri.getPath, query, uri.getFragment ).toURL } From e4d008b60897aaac17618f892f2c69f84aa6cf4f Mon Sep 17 00:00:00 2001 From: "alejandrohdezma-steward[bot]" <80571129+alejandrohdezma-steward[bot]@users.noreply.github.com> Date: Thu, 15 Aug 2024 05:15:59 +0000 Subject: [PATCH 6/7] Update sbt-ci-release to 1.6.0 --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index 79da07fa..ca57538a 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -5,7 +5,7 @@ addSbtPlugin("com.alejandrohdezma" % "sbt-fix" % "0.7.2") addSbtPlugin("com.alejandrohdezma" % "sbt-modules" % "0.3.2") addSbtPlugin("com.alejandrohdezma" % "sbt-scalafix-defaults" % "0.13.1") addSbtPlugin("com.alejandrohdezma" % "sbt-scalafmt-defaults" % "0.9.1") -addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12") +addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.6.0") addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.10.0") addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.5.4") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2") From 3126a54084325ab171c1f41e18c07597424617f1 Mon Sep 17 00:00:00 2001 From: "alejandrohdezma-steward[bot]" <80571129+alejandrohdezma-steward[bot]@users.noreply.github.com> Date: Thu, 15 Aug 2024 05:15:59 +0000 Subject: [PATCH 7/7] Update munit to 1.0.1 --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 1fe9cc32..eeb0c86a 100644 --- a/build.sbt +++ b/build.sbt @@ -25,7 +25,7 @@ lazy val `sbt-github` = module .enablePlugins(SbtPlugin) .settings(scriptedLaunchOpts += s"-Dplugin.version=${version.value}") .settings(libraryDependencies += "org.typelevel" %% "jawn-parser" % "1.6.0") - .settings(libraryDependencies += "org.scalameta" %% "munit" % "1.0.0" % Test) + .settings(libraryDependencies += "org.scalameta" %% "munit" % "1.0.1" % Test) .settings(libraryDependencies += "org.http4s" %% "http4s-dsl" % "0.23.27" % Test) .settings(libraryDependencies += "org.http4s" %% "http4s-blaze-server" % "0.23.16" % Test)