Skip to content

Commit

Permalink
update dependencies (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
rolang authored Apr 11, 2024
1 parent 11e0135 commit 29f57ea
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ inThisBuild(
organization := "com.anymindgroup",
licenses := Seq(License.Apache2),
homepage := Some(url("https://anymindgroup.com")),
crossScalaVersions := Seq("2.13.12", "3.3.1"),
crossScalaVersions := Seq("2.13.13", "3.3.3"),
ciEnabledBranches := Seq("master"),
ciJvmOptions ++= Seq("-Xms2G", "-Xmx2G", "-Xss4M", "-XX:+UseG1GC"),
ciTargetJavaVersions := Seq("17", "21"),
Expand Down Expand Up @@ -130,7 +130,7 @@ lazy val zioPubsubSerdeCirce = crossProject(JVMPlatform, NativePlatform)
)
)

val googleCloudPubsubVersion = "1.126.2"
val googleCloudPubsubVersion = "1.128.1"
lazy val zioPubsubGoogle = (project in file("zio-gc-pubsub-google"))
.settings(moduleName := "zio-gc-pubsub-google")
.dependsOn(zioPubsub.jvm)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ object AvroPublisherSpec extends ZIOSpecDefault {
)
publishedOrderingKeys = testMessages.map(_.orderingKey)
consumedOrderingKeys = consumed.map(_.meta.orderingKey)
} yield assert(consumedAttr)(hasSameElements(publishedAttrs))
&& assert(publishedOrderingKeys)(hasSameElements(consumedOrderingKeys))
_ <- assert(consumedAttr)(hasSameElements(publishedAttrs))
} yield assert(publishedOrderingKeys)(hasSameElements(consumedOrderingKeys))
}) ::
List(
Encoding.Json,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ object SubscriberFilterSpec extends ZIOSpecDefault {
test("create from map") {
import SubscriberFilter.*

assert(matchingAttributes(Map.empty).value)(equalTo(""))
&& assert(matchingAttributes(Map("a" -> "b")).value)(equalTo("""attributes.a="b""""))
&& assert(matchingAttributes(Map("a" -> "b", "c" -> "d")).value)(
equalTo("""attributes.a="b" AND attributes.c="d"""")
)
for {
_ <- assert(matchingAttributes(Map.empty).value)(equalTo(""))
_ <- assert(matchingAttributes(Map("a" -> "b")).value)(equalTo("""attributes.a="b""""))
_ <- assert(matchingAttributes(Map("a" -> "b", "c" -> "d")).value)(
equalTo("""attributes.a="b" AND attributes.c="d"""")
)
} yield assertCompletes
}
)

Expand Down

0 comments on commit 29f57ea

Please sign in to comment.