Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
* Only fallout was some text wording change
  if fastparse 3.1.1 that broke two tests
  • Loading branch information
reidspencer committed Aug 1, 2024
1 parent d2d6792 commit f9d53fe
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ target
/doc/src/main/hugo/resources/_gen/**
*.lock
/hugo-input/

/scoverage-report/
3 changes: 2 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -225,5 +225,6 @@ lazy val plugin = Plugin("sbt-riddl")
description := "An sbt plugin to embellish a project with riddlc usage",
buildInfoObject := "SbtRiddlPluginBuildInfo",
buildInfoPackage := "com.ossuminc.riddl.sbt",
buildInfoUsePackageAsPath := true
buildInfoUsePackageAsPath := true,
scalaVersion := "2.12.19"
)
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class ParserTest extends ParsingTest {
parseTopLevelDomain(input, _.contents.head) match {
case Left(errors) =>
errors must not be empty
errors.head.message must include("whitespace after keyword")
errors.head.message must include("white space after keyword")
case Right(_) => fail("'domainfoois' should be flagged as needing whitespace after a keyword")
}
}
Expand Down
14 changes: 7 additions & 7 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import sbt.librarymanagement.ModuleID
/** V - Dependency Versions object */

object V {
val commons_io = "2.15.1"
val compress = "1.24.0"
val commons_io = "2.16.1"
val compress = "1.26.2"
val config = "1.4.2"
val fastparse = "3.0.2"
val fastparse = "3.1.1"
val jgit = "6.5.0"
val lang3 = "3.14.0"
val pureconfig = "0.17.6"
val scalacheck = "1.17.0"
val scalatest = "3.2.18"
val lang3 = "3.15.0"
val pureconfig = "0.17.7"
val scalacheck = "1.18.0"
val scalatest = "3.2.19"
val scopt = "4.1.0"
val slf4j = "2.0.4"
}
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.9.9
sbt.version=1.10.1
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
addSbtPlugin("com.ossuminc" % "sbt-ossuminc" % "0.9.6")
addSbtPlugin("com.ossuminc" % "sbt-ossuminc" % "0.11.1")

// This enables sbt-bloop to create bloop config files for Metals editors
// Uncomment locally if you use metals, otherwise don't slow down other
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class ReportedIssuesTest extends ValidatingTest {
case Left(messages) =>
val errors = messages.justErrors
errors.size mustBe 1
errors.head.message must include("whitespace after keyword")
errors.head.message must include("white space after a keyword")
case Right(result) =>
fail("Should not have parsed correctly")
}
Expand All @@ -147,7 +147,7 @@ class ReportedIssuesTest extends ValidatingTest {
warnings.find(_.message.contains(warning_text)) match {
case Some(msg) =>
fail(s"Message with '$warning_text' found")
case None =>
case None =>
succeed
}
}
Expand All @@ -158,9 +158,9 @@ class ReportedIssuesTest extends ValidatingTest {
val errors = messages.justErrors
errors.find(_.message.contains("but a Portlet was expected")) match {
case Some(msg) => succeed
case None => fail("a wrong-type error was expected")
case None => fail("a wrong-type error was expected")
}
case Right(result) =>
case Right(result) =>
fail("a wrong-type error was expected")
}
}
Expand Down

0 comments on commit f9d53fe

Please sign in to comment.