Skip to content

Commit c74c66e

Browse files
author
Eric Brown
committed
Change name of project to postgres-json
1 parent 87a699a commit c74c66e

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# postgre-types
1+
# postgres-json
22

33
A Clojure library designed to let jdbc talk the PostgresSQL json type.
44

55
## Install
66

7-
[![Clojars Project](http://clojars.org/postgre-types/latest-version.svg)](http://clojars.org/postgre-types)
7+
[![Clojars Project](http://clojars.org/postgres-json/latest-version.svg)](http://clojars.org/postgres-json)
88

99
## Usage
1010

1111
```clojure
1212
(ns your-namespace.foo
13-
(:require [postgre-types.json :refer [add-json-type]]))
13+
(:require [postgres-json.json :refer [add-json-type]]))
1414

1515
(add-json-type f-write-json f-read-json)
1616

@@ -22,7 +22,7 @@ You can also add `jsonb` with the same interface.
2222

2323
```clojure
2424
(ns your-namespace.foo
25-
(:require [postgre-types.json :refer [add-jsonb-type]]))
25+
(:require [postgres-json.json :refer [add-jsonb-type]]))
2626

2727
(add-jsonb-type f-write-json f-read-json)
2828

project.clj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
(defproject postgre-types "0.0.4"
1+
(defproject postgres-json "0.0.4"
22
:description "Integration with PostgresSQL multiple types"
3-
:url "https://github.com/siscia/postgres-type"
3+
:url "https://github.com/ecbrown/postgres-json"
44
:license {:name "Eclipse Public License"
55
:url "http://www.eclipse.org/legal/epl-v10.html"}
66
:dependencies [[org.clojure/clojure "1.6.0"]
77
[org.clojure/java.jdbc "0.3.6"]
88
[org.postgresql/postgresql "9.4-1201-jdbc41"]]
9-
:repositories [["release" "https://clojars.org/siscia"]]
9+
:repositories [#_["release" "https://clojars.org/siscia"]]
1010
:profiles {:dev {:dependencies [[cheshire "5.3.1"]]}})

src/postgre_types/json.clj renamed to src/postgres_json/json.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
(ns ^{:author "Simone Mosciatti"}
11-
postgre-types.json
11+
postgres-json.json
1212
(:require [clojure.java.jdbc :as jdbc])
1313
(:import org.postgresql.util.PGobject))
1414

test/postgre_types/core_test.clj renamed to test/postgres_json/core_test.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
(ns postgre-types.core-test
1+
(ns postgres-json.core-test
22
(:require [clojure.test :refer :all]
33
[clojure.java.jdbc :as j]
4-
[postgre-types.json :refer [add-json-type add-jsonb-type]]
4+
[postgres-json.json :refer [add-json-type add-jsonb-type]]
55
[cheshire.core :refer [generate-string parse-string]]))
66

77
(def db-spec {:classname "org.postgresql.Driver"

0 commit comments

Comments
 (0)