Skip to content

Commit e227636

Browse files
committed
Release 3.17.0
1 parent f80c180 commit e227636

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,19 @@ For people that want to skip the explanations and see it action, this is the pla
2626
### Dependency Configuration
2727

2828
```scala
29-
libraryDependencies += "com.outr" %% "scribe" % "3.16.1"
29+
libraryDependencies += "com.outr" %% "scribe" % "3.17.0"
3030
```
3131

3232
For Cross-Platform projects (JVM, JS, and/or Native):
3333

3434
```scala
35-
libraryDependencies += "com.outr" %%% "scribe" % "3.16.1"
35+
libraryDependencies += "com.outr" %%% "scribe" % "3.17.0"
3636
```
3737

3838
Or, if you want interoperability with SLF4J (to allow better interoperability with existing libraries using other loggers):
3939

4040
```scala
41-
libraryDependencies += "com.outr" %% "scribe-slf4j" % "3.16.1"
41+
libraryDependencies += "com.outr" %% "scribe-slf4j" % "3.17.0"
4242
```
4343

4444
### Usage

build.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ val allScalaVersions = List(scala213, scala3)
77

88
name := "scribe"
99
ThisBuild / organization := "com.outr"
10-
ThisBuild / version := "3.16.1"
10+
ThisBuild / version := "3.17.0"
1111
ThisBuild / scalaVersion := scala213
1212
ThisBuild / scalacOptions ++= Seq("-unchecked", "-deprecation")
1313
ThisBuild / javacOptions ++= Seq("-source", "1.8", "-target", "1.8")
1414
ThisBuild / resolvers ++= Resolver.sonatypeOssRepos("releases")
1515
ThisBuild / resolvers += Resolver.JCenterRepository
1616
//javaOptions in run += "-agentpath:/opt/YourKit-JavaProfiler-2020.9/bin/linux-x86-64/libyjpagent.so=delay=10000,listen=all"
1717

18-
ThisBuild / sonatypeCredentialHost := "s01.oss.sonatype.org"
19-
ThisBuild / sonatypeRepository := "https://s01.oss.sonatype.org/service/local"
18+
ThisBuild / sonatypeCredentialHost := xerial.sbt.Sonatype.sonatypeCentralHost
19+
ThisBuild / publishMavenStyle := true
2020
ThisBuild / publishTo := sonatypePublishToBundle.value
2121
ThisBuild / sonatypeProfileName := "com.outr"
2222
ThisBuild / licenses := Seq("MIT" -> url("https://github.com/outr/scribe/blob/master/LICENSE"))

jsonFabric/jvm/src/test/scala/spec/JsonWriterSpec.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package spec
22

33
import fabric._
4+
import fabric.dsl._
45
import fabric.io.{Format, JsonParser}
56
import org.scalatest.matchers.should.Matchers
67
import org.scalatest.wordspec.AnyWordSpec
@@ -28,7 +29,7 @@ class JsonWriterSpec extends AnyWordSpec with Matchers {
2829
cache.output.length should be(1)
2930
val json = JsonParser(cache.output.head.plainText, Format.Json)
3031
json("date").asString should be("2021-01-01")
31-
json("line").asInt should be(27)
32+
json("line").asInt should be(28)
3233
json("fileName").asString should be("JsonWriterSpec.scala")
3334
json("message") should be(Str("Hello, Json!"))
3435
}
@@ -39,7 +40,7 @@ class JsonWriterSpec extends AnyWordSpec with Matchers {
3940
cache.output.length should be(1)
4041
val json = JsonParser(cache.output.head.plainText, Format.Json)
4142
json("date").asString should be("2021-01-02")
42-
json("line").asInt should be(38)
43+
json("line").asInt should be(39)
4344
json("fileName").asString should be("JsonWriterSpec.scala")
4445
json("message") should be(Str("Failure, Json!"))
4546
}

jsonFabric/shared/src/main/scala/scribe/json/ScribeFabricJsonSupport.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package scribe.json
22

33
import fabric._
4+
import fabric.dsl._
45
import fabric.rw._
56
import fabric.io.JsonFormatter
67
import scribe.LogRecord

0 commit comments

Comments
 (0)