From 13f3a9e2626ba078b38cc9924b2ffbcbd0ced0ec Mon Sep 17 00:00:00 2001 From: Matt Hicks Date: Tue, 9 Jan 2024 09:43:12 -0600 Subject: [PATCH] Dependency updates --- build.sbt | 2 +- .../scala/com/outr/arango/core/ArangoDBServer.scala | 10 +++++----- .../src/main/scala/com/outr/arango/util/Helpers.scala | 10 +++++----- project/Dependencies.scala | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/build.sbt b/build.sbt index d42b394f..ddc69f2a 100644 --- a/build.sbt +++ b/build.sbt @@ -7,7 +7,7 @@ val scala3 = "3.3.1" name := "scarango" ThisBuild / organization := "com.outr" -ThisBuild / version := "3.18.3" +ThisBuild / version := "3.18.4-SNAPSHOT" ThisBuild / scalaVersion := scala213 ThisBuild / crossScalaVersions := List(scala3, scala213) ThisBuild / scalacOptions ++= Seq("-unchecked", "-deprecation") diff --git a/driver/src/main/scala/com/outr/arango/core/ArangoDBServer.scala b/driver/src/main/scala/com/outr/arango/core/ArangoDBServer.scala index 07104dde..6893deab 100644 --- a/driver/src/main/scala/com/outr/arango/core/ArangoDBServer.scala +++ b/driver/src/main/scala/com/outr/arango/core/ArangoDBServer.scala @@ -55,14 +55,14 @@ object ArangoDBServer { fabric2Jackson(value, g) } g.writeEndObject() - case Arr(vector) => + case Arr(vector, _) => g.writeStartArray() vector.foreach(fabric2Jackson(_, g)) g.writeEndArray() - case Bool(b) => g.writeBoolean(b) - case NumDec(d) => g.writeNumber(d.underlying()) - case NumInt(l) => g.writeNumber(l) - case Str(s) => g.writeString(s) + case Bool(b, _) => g.writeBoolean(b) + case NumDec(d, _) => g.writeNumber(d.underlying()) + case NumInt(l, _) => g.writeNumber(l) + case Str(s, _) => g.writeString(s) } private def jackson2Fabric(node: JsonNode): Json = node.getNodeType match { diff --git a/driver/src/main/scala/com/outr/arango/util/Helpers.scala b/driver/src/main/scala/com/outr/arango/util/Helpers.scala index 8211f440..ce6c080d 100644 --- a/driver/src/main/scala/com/outr/arango/util/Helpers.scala +++ b/driver/src/main/scala/com/outr/arango/util/Helpers.scala @@ -107,11 +107,11 @@ object Helpers { case fabric.Obj(map) => map.map { case (key, value) => key -> value2AnyRef(value) }.asJava - case fabric.Str(s) => s - case fabric.NumInt(n) => Long.box(n) - case fabric.NumDec(n) => n.underlying() - case fabric.Bool(b) => java.lang.Boolean.valueOf(b) - case fabric.Arr(a) => a.map(value2AnyRef).asJava + case fabric.Str(s, _) => s + case fabric.NumInt(n, _) => Long.box(n) + case fabric.NumDec(n, _) => n.underlying() + case fabric.Bool(b, _) => java.lang.Boolean.valueOf(b) + case fabric.Arr(a, _) => a.map(value2AnyRef).asJava case fabric.Null => None.orNull } diff --git a/project/Dependencies.scala b/project/Dependencies.scala index 4005ccd3..e99717f9 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -2,9 +2,9 @@ import sbt.* object Dependencies { object version { - val fabric: String = "1.12.8" + val fabric: String = "1.13.0" - val profig: String = "3.4.11" + val profig: String = "3.4.12" val scalaPass: String = "1.2.6"