From f71ca8985aa644596cda47fa1efc3eca50e302a5 Mon Sep 17 00:00:00 2001 From: gered Date: Sun, 2 Jan 2022 21:53:39 -0500 Subject: [PATCH] rename 'memory' namespace to 'core' --- src/aging_session/{memory.clj => core.clj} | 2 +- test/aging_session/{memory_test.clj => core_test.clj} | 4 ++-- test/aging_session/performance.clj | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename src/aging_session/{memory.clj => core.clj} (99%) rename test/aging_session/{memory_test.clj => core_test.clj} (99%) diff --git a/src/aging_session/memory.clj b/src/aging_session/core.clj similarity index 99% rename from src/aging_session/memory.clj rename to src/aging_session/core.clj index 9ed43c9..d1776b9 100644 --- a/src/aging_session/memory.clj +++ b/src/aging_session/core.clj @@ -1,4 +1,4 @@ -(ns aging-session.memory +(ns aging-session.core "In-memory session storage with mortality." (:require [ring.middleware.session.store :refer :all]) diff --git a/test/aging_session/memory_test.clj b/test/aging_session/core_test.clj similarity index 99% rename from test/aging_session/memory_test.clj rename to test/aging_session/core_test.clj index 49d3905..243d322 100644 --- a/test/aging_session/memory_test.clj +++ b/test/aging_session/core_test.clj @@ -1,8 +1,8 @@ -(ns aging-session.memory_test +(ns aging-session.core-test (:require [clojure.test :refer :all] [ring.middleware.session.store :refer :all] - [aging-session.memory :refer :all])) + [aging-session.core :refer :all])) (defn ->basic-aging-memory-store [& [opts]] diff --git a/test/aging_session/performance.clj b/test/aging_session/performance.clj index 5f4e3ee..f1ca5b7 100644 --- a/test/aging_session/performance.clj +++ b/test/aging_session/performance.clj @@ -4,7 +4,7 @@ [criterium.core :refer [quick-bench]] [ring.middleware.session.store :refer :all] [ring.middleware.session.memory :refer [memory-store]] - [aging-session.memory :refer [aging-memory-store]])) + [aging-session.core :refer [aging-memory-store]])) ; these are copied from ring-ttl-session's benchmarks so that i can see how the performance of ; aging-session compares against it.