moved over to clojure 1.3 #1

Closed
wants to merge 2 commits into
from
View
7 project.clj
@@ -4,8 +4,9 @@
:plugins [[lein-release "1.0.0-SNAPSHOT"]]
:lein-release {:deploy-via :clojars}
:local-repo-classpath true
- :dependencies [[org.clojure/clojure "1.2.0"]
+ :dependencies [[org.clojure/clojure "1.3.0"]
;; [org.apache.avro/avro "1.5.4"]
[org.apache.avro/avro "1.6.1"]
- [org.clojure/clojure-contrib "1.2.0"]
- [org.clojars.kyleburton/clj-etl-utils "1.0.41"]])
+ [org.clojure/data.json "0.1.3"]
+ [org.clojars.kyleburton/clj-etl-utils "1.3.1-SNAPSHOT"]
+])
View
2 src/clj_avro/core.clj
@@ -4,7 +4,7 @@
[org.apache.avro.generic GenericData GenericData$Record GenericDatumWriter GenericDatumReader]
[java.io File FileOutputStream FileInputStream ByteArrayOutputStream ByteArrayInputStream]
[java.util Map])
- (:require [clojure.contrib.json :as json]))
+ (:require [clojure.data.json :as json]))
(defn schema->json [m]
View
3 src/clj_avro/protocol.clj
@@ -1,11 +1,10 @@
(ns clj-avro.protocol
(:require
[clj-avro.core :as avro]
- [clojure.contrib.json :as json])
+ [clojure.data.json :as json])
(:use
[clj-etl-utils.lang-utils :only [raise resource-as-string]]))
-
(def *protocol-registry* (atom {}))
(defn register-protocol [proto-name protocol]