Version updates and minor fixes. (#3)
All checks were successful
/ Build and Release Library (push) Successful in 1m24s
All checks were successful
/ Build and Release Library (push) Successful in 1m24s
Reviewed-on: #3
This commit is contained in:
parent
e44334b364
commit
4eec12704e
6 changed files with 10 additions and 10 deletions
|
@ -1,4 +1,4 @@
|
|||
val scala3: String = "3.6.4"
|
||||
val scala3: String = "3.7.1"
|
||||
|
||||
externalResolvers := Seq(
|
||||
"Garrity Software Mirror" at "https://maven.garrity.co/releases",
|
||||
|
@ -19,7 +19,7 @@ lazy val sharedSettings = Seq(
|
|||
|
||||
lazy val testSettings = Seq(
|
||||
libraryDependencies ++= Seq(
|
||||
"org.scalameta" %% "munit" % "1.1.0" % Test
|
||||
"org.scalameta" %% "munit" % "1.1.1" % Test
|
||||
)
|
||||
)
|
||||
|
||||
|
@ -30,6 +30,6 @@ lazy val `gs-config` = project
|
|||
.settings(name := s"${gsProjectName.value}-v${semVerMajor.value}")
|
||||
.settings(
|
||||
libraryDependencies ++= Seq(
|
||||
"org.typelevel" %% "cats-effect" % "3.5.7"
|
||||
"org.typelevel" %% "cats-effect" % "3.6.3"
|
||||
)
|
||||
)
|
||||
|
|
|
@ -1 +1 @@
|
|||
sbt.version=1.10.11
|
||||
sbt.version=1.11.2
|
||||
|
|
|
@ -29,5 +29,5 @@ externalResolvers := Seq(
|
|||
)
|
||||
|
||||
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.3.1")
|
||||
addSbtPlugin("gs" % "sbt-garrity-software" % "0.5.0")
|
||||
addSbtPlugin("gs" % "sbt-garrity-software" % "0.6.0")
|
||||
addSbtPlugin("gs" % "sbt-gs-semver" % "0.3.0")
|
||||
|
|
|
@ -41,7 +41,7 @@ final class AuditedConfiguration[F[_]: Sync](
|
|||
audit(key, result._2, result._1, acc).as(result._2)
|
||||
}
|
||||
|
||||
private def find[A: Configurable](
|
||||
private def find[A](
|
||||
key: ConfigKey[A]
|
||||
): F[Acc] =
|
||||
sources.foldLeft(Acc.empty[F]) {
|
||||
|
|
|
@ -11,7 +11,7 @@ package gs.config.v0
|
|||
* The type of data referenced by this key. This type must be
|
||||
* [[Configurable]].
|
||||
*/
|
||||
sealed trait ConfigKey[A: Configurable]:
|
||||
sealed trait ConfigKey[A]:
|
||||
def name: ConfigName
|
||||
|
||||
object ConfigKey:
|
||||
|
@ -23,7 +23,7 @@ object ConfigKey:
|
|||
* @param name
|
||||
* The name of this configuration.
|
||||
*/
|
||||
case class Required[A: Configurable](
|
||||
case class Required[A](
|
||||
name: ConfigName
|
||||
) extends ConfigKey[A]
|
||||
|
||||
|
@ -35,7 +35,7 @@ object ConfigKey:
|
|||
* @param defaultValue
|
||||
* The default value for this configuration.
|
||||
*/
|
||||
case class WithDefaultValue[A: Configurable](
|
||||
case class WithDefaultValue[A](
|
||||
name: ConfigName,
|
||||
defaultValue: () => A
|
||||
) extends ConfigKey[A]
|
||||
|
|
|
@ -51,7 +51,7 @@ object ConfigManifest:
|
|||
* @param manifest
|
||||
* The underlying manifest.
|
||||
*/
|
||||
final class Standard[F[_]: Sync] private (
|
||||
final class Standard[F[_]] private (
|
||||
private val manifest: Ref[F, Map[ConfigName, List[ConfigQueryResult]]]
|
||||
) extends ConfigManifest[F]:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue