From 3296dddb03200782a4d60597a5cd701119204bd8 Mon Sep 17 00:00:00 2001 From: Ben Plommer Date: Mon, 20 Mar 2023 14:55:00 +0000 Subject: [PATCH 1/2] Rename from launch-catsly to catapult --- NOTICE | 2 +- README.md | 4 ++-- build.sbt | 4 ++-- .../launchcatsly => catapult}/LaunchDarklyClient.scala | 2 +- docs/index.md | 4 ++-- flake.nix | 2 +- .../bplommer/launchcatsly => catapult}/testkit/package.scala | 2 +- .../bplommer/launchcatsly => catapult}/VariationTests.scala | 4 ++-- 8 files changed, 12 insertions(+), 12 deletions(-) rename core/src/main/scala/{io/github/bplommer/launchcatsly => catapult}/LaunchDarklyClient.scala (99%) rename testkit/src/main/scala/{io/github/bplommer/launchcatsly => catapult}/testkit/package.scala (96%) rename testkit/src/test/scala/{com/github/bplommer/launchcatsly => catapult}/VariationTests.scala (96%) diff --git a/NOTICE b/NOTICE index 7b1c5e8..0397513 100644 --- a/NOTICE +++ b/NOTICE @@ -1,3 +1,3 @@ -launch-catsly +catapult Copyright 2022 Ben Plommer Licensed under Apache License 2.0 (see LICENSE) diff --git a/README.md b/README.md index f31afd4..b2a96a6 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -# launch-catsly +# Catapult A thin wrapper for the [Launch Darkly Java server SDK](https://github.com/launchdarkly/java-server-sdk) using cats-effect. ```sbt -"io.github.bplommer" %% "launch-catsly" % "latestVersion" +"io.github.bplommer" %% "catapult" % "latestVersion" ``` diff --git a/build.sbt b/build.sbt index c373bc5..37efd90 100644 --- a/build.sbt +++ b/build.sbt @@ -26,7 +26,7 @@ lazy val testkit = crossProject(JVMPlatform) .crossType(CrossType.Pure) .in(file("testkit")) .settings( - name := "launch-catsly-testkit", + name := "catapult-testkit", libraryDependencies ++= Seq( "com.disneystreaming" %% "weaver-cats" % "0.7.12" % Test ), @@ -39,7 +39,7 @@ lazy val core = crossProject(JVMPlatform) .crossType(CrossType.Pure) .in(file("core")) .settings( - name := "launch-catsly", + name := "catapult", libraryDependencies ++= Seq( "org.typelevel" %%% "cats-core" % "2.8.0", "org.typelevel" %%% "cats-effect" % "3.3.14", diff --git a/core/src/main/scala/io/github/bplommer/launchcatsly/LaunchDarklyClient.scala b/core/src/main/scala/catapult/LaunchDarklyClient.scala similarity index 99% rename from core/src/main/scala/io/github/bplommer/launchcatsly/LaunchDarklyClient.scala rename to core/src/main/scala/catapult/LaunchDarklyClient.scala index 6ceb4b9..4283a5e 100644 --- a/core/src/main/scala/io/github/bplommer/launchcatsly/LaunchDarklyClient.scala +++ b/core/src/main/scala/catapult/LaunchDarklyClient.scala @@ -14,7 +14,7 @@ * limitations under the License. */ -package io.github.bplommer.launchcatsly +package catapult import cats.effect.std.{Dispatcher, Queue} import cats.effect.{Async, Resource} diff --git a/docs/index.md b/docs/index.md index 957762a..5e5c306 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,4 +1,4 @@ -## launch-catsly +## catapult ### Usage @@ -8,6 +8,6 @@ To use the latest version, include the following in your `build.sbt`: ```scala libraryDependencies ++= Seq( - "io.github.bplommer" %% "launch-catsly" % "@VERSION@" + "io.github.bplommer" %% "catapult" % "@VERSION@" ) ``` diff --git a/flake.nix b/flake.nix index 7d49cec..8a75b90 100644 --- a/flake.nix +++ b/flake.nix @@ -16,7 +16,7 @@ { devShell = pkgs.devshell.mkShell { imports = [ typelevel-nix.typelevelShell ]; - name = "launch-catsly-shell"; + name = "catapult-shell"; typelevelShell = { jdk.package = pkgs.jdk8; nodejs.enable = true; diff --git a/testkit/src/main/scala/io/github/bplommer/launchcatsly/testkit/package.scala b/testkit/src/main/scala/catapult/testkit/package.scala similarity index 96% rename from testkit/src/main/scala/io/github/bplommer/launchcatsly/testkit/package.scala rename to testkit/src/main/scala/catapult/testkit/package.scala index fee0a42..c03cfd8 100644 --- a/testkit/src/main/scala/io/github/bplommer/launchcatsly/testkit/package.scala +++ b/testkit/src/main/scala/catapult/testkit/package.scala @@ -14,7 +14,7 @@ * limitations under the License. */ -package io.github.bplommer.launchcatsly +package catapult import cats.effect.{Async, Resource} import cats.syntax.all._ diff --git a/testkit/src/test/scala/com/github/bplommer/launchcatsly/VariationTests.scala b/testkit/src/test/scala/catapult/VariationTests.scala similarity index 96% rename from testkit/src/test/scala/com/github/bplommer/launchcatsly/VariationTests.scala rename to testkit/src/test/scala/catapult/VariationTests.scala index 1570970..c2e7d71 100644 --- a/testkit/src/test/scala/com/github/bplommer/launchcatsly/VariationTests.scala +++ b/testkit/src/test/scala/catapult/VariationTests.scala @@ -14,14 +14,14 @@ * limitations under the License. */ -package com.github.bplommer.launchcatsly +package catapult import cats.data.{Chain, NonEmptyChain} import cats.effect._ import cats.effect.std.Supervisor import com.launchdarkly.sdk.server.interfaces.FlagValueChangeEvent import com.launchdarkly.sdk.{LDUser, LDValue} -import io.github.bplommer.launchcatsly.testkit._ +import catapult.testkit._ import weaver.SimpleIOSuite import scala.concurrent.duration.DurationInt From 7ed8422ecc83a6d7836918e5f620bd16826845a6 Mon Sep 17 00:00:00 2001 From: Ben Plommer Date: Mon, 20 Mar 2023 16:04:25 +0000 Subject: [PATCH 2/2] Bump base version --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 37efd90..a770df3 100644 --- a/build.sbt +++ b/build.sbt @@ -1,5 +1,5 @@ // https://typelevel.org/sbt-typelevel/faq.html#what-is-a-base-version-anyway -ThisBuild / tlBaseVersion := "0.1" // your current series x.y +ThisBuild / tlBaseVersion := "0.2" // your current series x.y ThisBuild / organization := "io.github.bplommer" ThisBuild / organizationName := "Ben Plommer"