Skip to content

Commit

Permalink
chore(version): prepare next release version
Browse files Browse the repository at this point in the history
  • Loading branch information
sfxcode committed Mar 29, 2022
1 parent 5a7fd90 commit 54c87c4
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
10 changes: 5 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name := "mongocamp-driver-mongodb"
name := "mongodb-driver"

crossScalaVersions := Seq("2.13.8", "2.12.15")

Expand All @@ -12,7 +12,7 @@ lazy val mongodb = (project in file("."))
.enablePlugins(BuildInfoPlugin)
.settings(
buildInfoKeys ++= Seq[BuildInfoKey](name, version, scalaVersion, sbtVersion),
buildInfoPackage := "dev.mongocamp.driver.mongodb"
buildInfoPackage := "dev.mongocamp"
)

lazy val docs = (project in file("docs"))
Expand All @@ -22,13 +22,13 @@ lazy val docs = (project in file("docs"))
.settings(
name := "simple mongodb docs",
scalaVersion := "2.13.7",
libraryDependencies += "com.sfxcode.nosql" % "simple-mongo_2.13" % "2.3.0",
libraryDependencies += "org.xerial.snappy" % "snappy-java" % "1.1.8.4",
libraryDependencies += "dev.mongocamp" % "mongodb-driver_2.13" % "2.4.0",
libraryDependencies += "org.xerial.snappy" % "snappy-java" % "1.1.8.4",
publish / skip := true,
ghpagesNoJekyll := true,
git.remoteRepo := "git@github.com:mongocamp/mongocampdb.git",
Compile / paradoxMaterialTheme ~= {
_.withRepository(uri("https://github.com/sfxcode/mongocamp"))
_.withRepository(uri("https://github.com/MongoCamp/mongodb-driver"))
},
(Compile / paradoxMarkdownToHtml / excludeFilter) := (Compile / paradoxMarkdownToHtml / excludeFilter).value ||
ParadoxPlugin.InDirectoryFilter((Compile / paradox / sourceDirectory).value / "includes")
Expand Down
6 changes: 3 additions & 3 deletions release.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import sbt.url

organization := "com.sfxcode.nosql"
organizationHomepage := Some(url("https://github.com/sfxcode"))
organization := "dev.mongocamp"
organizationHomepage := Some(url("https://github.com/mongocamp"))

publishMavenStyle := true

Expand All @@ -18,7 +18,7 @@ developers := List(
Developer(
id = "mongocamp",
name = "Tom Lamers",
email = "tom@mongocamp.com",
email = "tom@sfxcode.com",
url = url("https://github.com/sfxcode")
)
)
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/reference.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

com.sfxcode.nosql.mongo.sync {
dev.mongocamp.mongodb.sync {
maxWait = 600
syncColumnLastSync = "_lastSync"
syncColumnLastUpdate = "_lastUpdate"
writeSyncLogOnMaster = false
syncLogTableName = "mongo-sync-log"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -97,17 +97,17 @@ case class MongoSyncOperation(

object MongoSyncOperation extends ConfigHelper {
val MaxWaitDefault = 600
val MaxWait: Int = intConfig(configPath = "com.sfxcode.nosql.mongo.sync", key = "maxWait", default = MaxWaitDefault)
val MaxWait: Int = intConfig(configPath = "dev.mongocamp.mongodb.sync", key = "maxWait", default = MaxWaitDefault)

val SyncColumnLastSync: String =
stringConfig(configPath = "com.sfxcode.nosql.mongo.sync", key = "syncColumnLastSync", default = "_lastSync").get
stringConfig(configPath = "dev.mongocamp.mongodb.sync", key = "syncColumnLastSync", default = "_lastSync").get
val SyncColumnLastUpdate: String =
stringConfig(configPath = "com.sfxcode.nosql.mongo.sync", key = "syncColumnLastUpdate", default = "_lastUpdate").get
stringConfig(configPath = "dev.mongocamp.mongodb.sync", key = "syncColumnLastUpdate", default = "_lastUpdate").get

val WriteSyncLogOnMaster = booleanConfig(configPath = "com.sfxcode.nosql.mongo.sync", key = "writeSyncLogOnMaster")
val WriteSyncLogOnMaster = booleanConfig(configPath = "dev.mongocamp.mongodb.sync", key = "writeSyncLogOnMaster")
val SyncLogTableName: String =
stringConfig(
configPath = "com.sfxcode.nosql.mongo.sync",
configPath = "dev.mongocamp.mongodb.sync",
key = "syncLogTableName",
default = "mongodb-sync-log"
).get
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/application.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
test.mongo.database = "test"

com.sfxcode.nosql.mongo.sync.writeSyncLogOnMaster = true
dev.mongocamp.mongodb.sync.writeSyncLogOnMaster = true


unit.test.mongo {
Expand Down

0 comments on commit 54c87c4

Please sign in to comment.