Skip to content

Commit

Permalink
Dependency updates
Browse files Browse the repository at this point in the history
  • Loading branch information
darkfrog26 committed Jan 9, 2024
1 parent 9a21648 commit 13f3a9e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
10 changes: 5 additions & 5 deletions driver/src/main/scala/com/outr/arango/core/ArangoDBServer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
10 changes: 5 additions & 5 deletions driver/src/main/scala/com/outr/arango/util/Helpers.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
4 changes: 2 additions & 2 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 13f3a9e

Please sign in to comment.