diff --git a/README.md b/README.md index 8a0bff1..15724a3 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,16 @@ -# postgre-types +# postgres-json A Clojure library designed to let jdbc talk the PostgresSQL json type. ## Install -[![Clojars Project](http://clojars.org/postgre-types/latest-version.svg)](http://clojars.org/postgre-types) +[![Clojars Project](http://clojars.org/postgres-json/latest-version.svg)](http://clojars.org/postgres-json) ## Usage ```clojure (ns your-namespace.foo - (:require [postgre-types.json :refer [add-json-type]])) + (:require [postgres-json.json :refer [add-json-type]])) (add-json-type f-write-json f-read-json) @@ -22,7 +22,7 @@ You can also add `jsonb` with the same interface. ```clojure (ns your-namespace.foo - (:require [postgre-types.json :refer [add-jsonb-type]])) + (:require [postgres-json.json :refer [add-jsonb-type]])) (add-jsonb-type f-write-json f-read-json) diff --git a/project.clj b/project.clj index f5b0c7d..73ef615 100644 --- a/project.clj +++ b/project.clj @@ -1,10 +1,10 @@ -(defproject postgre-types "0.0.4" +(defproject postgres-json "0.0.4" :description "Integration with PostgresSQL multiple types" - :url "https://github.com/siscia/postgres-type" + :url "https://github.com/ecbrown/postgres-json" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.6.0"] [org.clojure/java.jdbc "0.3.6"] [org.postgresql/postgresql "9.4-1201-jdbc41"]] - :repositories [["release" "https://clojars.org/siscia"]] + :repositories [#_["release" "https://clojars.org/siscia"]] :profiles {:dev {:dependencies [[cheshire "5.3.1"]]}}) diff --git a/src/postgre_types/json.clj b/src/postgres_json/json.clj similarity index 98% rename from src/postgre_types/json.clj rename to src/postgres_json/json.clj index 9d5a158..8996105 100644 --- a/src/postgre_types/json.clj +++ b/src/postgres_json/json.clj @@ -8,7 +8,7 @@ (ns ^{:author "Simone Mosciatti"} - postgre-types.json + postgres-json.json (:require [clojure.java.jdbc :as jdbc]) (:import org.postgresql.util.PGobject)) diff --git a/test/postgre_types/core_test.clj b/test/postgres_json/core_test.clj similarity index 94% rename from test/postgre_types/core_test.clj rename to test/postgres_json/core_test.clj index b6fe2a6..cda4111 100644 --- a/test/postgre_types/core_test.clj +++ b/test/postgres_json/core_test.clj @@ -1,7 +1,7 @@ -(ns postgre-types.core-test +(ns postgres-json.core-test (:require [clojure.test :refer :all] [clojure.java.jdbc :as j] - [postgre-types.json :refer [add-json-type add-jsonb-type]] + [postgres-json.json :refer [add-json-type add-jsonb-type]] [cheshire.core :refer [generate-string parse-string]])) (def db-spec {:classname "org.postgresql.Driver"