WTFPL
@@ -119,18 +131,6 @@ lazy val lib = project
https://twitter.com/phuc89
)
- )
-
-lazy val benchmark = project
- .in(file("modules/benchmark"))
- .settings(commonSettings *)
- .dependsOn(lib)
- .enablePlugins(JmhPlugin)
- .settings(
- name := "uap-scala-benchmark",
- Jmh / run / mainClass := Some("org.uaparser.scala.benchmark.Main"),
- publish / skip := true
- )
// do not cross build or publish the aggregating root
crossScalaVersions := Nil
diff --git a/modules/lib/src/test/scala/org/uaparser/scala/ParserSpecBase.scala b/modules/lib/src/test/scala/org/uaparser/scala/ParserSpecBase.scala
index 11acba0..64a1b70 100644
--- a/modules/lib/src/test/scala/org/uaparser/scala/ParserSpecBase.scala
+++ b/modules/lib/src/test/scala/org/uaparser/scala/ParserSpecBase.scala
@@ -12,7 +12,7 @@ trait ParserSpecBase extends Specification {
def createFromStream(stream: InputStream): UserAgentStringParser
"Parser should" >> {
- val yaml = {
+ def yaml() = {
val maxFileSizeBytes = 5 * 1024 * 1024 // 5 MB
val loaderOptions = new LoaderOptions()
loaderOptions.setCodePointLimit(maxFileSizeBytes)
@@ -21,7 +21,7 @@ trait ParserSpecBase extends Specification {
def readCasesConfig(resource: String): List[Map[String, String]] = {
val stream = this.getClass.getResourceAsStream(resource)
- val cases = YamlUtil.loadYamlAsMap(stream, yaml)
+ val cases = YamlUtil.loadYamlAsMap(stream, yaml())
cases.getOrElse("test_cases", List()).filterNot(_.contains("js_ua")).map { config =>
config.filterNot { case (_, value) => value eq null }
diff --git a/project/build.properties b/project/build.properties
index bbb0b60..c02c575 100644
--- a/project/build.properties
+++ b/project/build.properties
@@ -1 +1 @@
-sbt.version=1.11.2
+sbt.version=1.11.3
diff --git a/version.sbt b/version.sbt
index 56ec8ab..f4b544f 100644
--- a/version.sbt
+++ b/version.sbt
@@ -1 +1 @@
-ThisBuild / version := "0.19.1-SNAPSHOT"
+ThisBuild / version := "0.20.1-SNAPSHOT"
pFad - Phonifier reborn
Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy