Skip to content

Commit

Permalink
Bumping guardrail
Browse files Browse the repository at this point in the history
  • Loading branch information
Devon Stewart committed Apr 21, 2020
1 parent 92a37ee commit 1e4e700
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/core/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ addCompilerPlugin("org.typelevel" %% "kind-projector" % "0.10.3")

// Dependencies
resolvers += Resolver.bintrayRepo("twilio", "releases")
libraryDependencies += "com.twilio" %% "guardrail" % "0.57.0"
libraryDependencies += "com.twilio" %% "guardrail" % "0.57.1"

// Pretty disappointed this has to be copied here
bintrayRepository := {
Expand Down
2 changes: 1 addition & 1 deletion modules/core/src/main/scala/AbstractCodegenPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import com.twilio.guardrail.{
}

trait AbstractGuardrailPlugin { self: AutoPlugin =>
def runner: Map[String,cats.data.NonEmptyList[com.twilio.guardrail.Args]] => com.twilio.guardrail.CoreTarget[List[java.nio.file.Path]]
def runner: Map[String,cats.data.NonEmptyList[com.twilio.guardrail.Args]] => com.twilio.guardrail.Target[List[java.nio.file.Path]]
override def requires = JvmPlugin
override def trigger = allRequirements

Expand Down
2 changes: 1 addition & 1 deletion modules/core/src/main/scala/Tasks.scala
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class CodegenFailedException extends FeedbackProvidedException

object Tasks {
def guardrailTask(
runner: Map[String,cats.data.NonEmptyList[com.twilio.guardrail.Args]] => com.twilio.guardrail.CoreTarget[List[java.nio.file.Path]]
runner: Map[String,cats.data.NonEmptyList[com.twilio.guardrail.Args]] => com.twilio.guardrail.Target[List[java.nio.file.Path]]
)(tasks: List[Types.Args], sourceDir: java.io.File): Seq[java.io.File] = {
// swagger-parser uses SPI to find extensions on the classpath (by default, only the OAPI2 -> OAPI3 converter)
// See https://github.com/swagger-api/swagger-parser#extensions
Expand Down

0 comments on commit 1e4e700

Please sign in to comment.