From a4142988f75c3fe5dc17a2d50d629e7aa925bea8 Mon Sep 17 00:00:00 2001 From: Bart Akeley Date: Fri, 20 Oct 2017 23:23:05 -0500 Subject: [PATCH] rename aretherecookies-server to aretherecookies --- README.md | 2 +- project.clj | 4 ++-- src/{aretherecookies_server => aretherecookies}/handler.clj | 2 +- .../handler_test.clj | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) rename src/{aretherecookies_server => aretherecookies}/handler.clj (98%) rename test/{aretherecookies_server => aretherecookies}/handler_test.clj (79%) diff --git a/README.md b/README.md index 9613e6c..dcac88a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# aretherecookies-server +# aretherecookies the server that knows where the cookies are diff --git a/project.clj b/project.clj index 38772e0..3e35d19 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject aretherecookies-server "0.1.0-SNAPSHOT" +(defproject aretherecookies "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "http://example.com/FIXME" :min-lein-version "2.0.0" @@ -11,7 +11,7 @@ [ring-middleware-format "0.7.2"] [org.clojure/data.json "0.2.6"]] :plugins [[lein-ring "0.9.7"]] - :ring {:handler aretherecookies-server.handler/app} + :ring {:handler aretherecookies.handler/app} :profiles {:dev {:dependencies [[javax.servlet/servlet-api "2.5"] [ring/ring-mock "0.3.0"]]}}) diff --git a/src/aretherecookies_server/handler.clj b/src/aretherecookies/handler.clj similarity index 98% rename from src/aretherecookies_server/handler.clj rename to src/aretherecookies/handler.clj index 2bb1638..90ea7b7 100644 --- a/src/aretherecookies_server/handler.clj +++ b/src/aretherecookies/handler.clj @@ -1,4 +1,4 @@ -(ns aretherecookies-server.handler +(ns aretherecookies.handler (:require [compojure.core :refer :all] [compojure.route :as route] [ring.middleware.defaults :refer [wrap-defaults site-defaults]] diff --git a/test/aretherecookies_server/handler_test.clj b/test/aretherecookies/handler_test.clj similarity index 79% rename from test/aretherecookies_server/handler_test.clj rename to test/aretherecookies/handler_test.clj index 9fd4897..ffbc82d 100644 --- a/test/aretherecookies_server/handler_test.clj +++ b/test/aretherecookies/handler_test.clj @@ -1,7 +1,7 @@ -(ns aretherecookies-server.handler-test +(ns aretherecookies.handler-test (:require [clojure.test :refer :all] [ring.mock.request :as mock] - [aretherecookies-server.handler :refer :all])) + [aretherecookies.handler :refer :all])) (deftest test-app (testing "main route"