Permalink
Browse files

update for clojure 1.3 (depends on downstream versions of clj-oauth /…

… clj-apache-http)
  • Loading branch information...
1 parent 495969b commit d94a7388ce181ba877dfce7da55d162d02b65bbf @tavisrudd committed Jan 13, 2012
Showing with 10 additions and 12 deletions.
  1. +5 −6 project.clj
  2. +5 −6 src/twitter.clj
View
@@ -1,7 +1,6 @@
-(defproject clojure-twitter "1.2.5"
+(defproject clojure-twitter "1.2.6-SNAPSHOT"
:description "Twitter Client API for Clojure"
- :dependencies [[org.clojure/clojure "1.2.0"]
- [org.clojure/clojure-contrib "1.2.0"]
- [clj-oauth "1.2.10"]
- [com.twinql.clojure/clj-apache-http "2.3.1"]]
- :dev-dependencies [[swank-clojure "1.2.1"]])
+ :dependencies [[org.clojure/clojure "1.3.0"]
+ [org.clojure/data.json "0.1.2"]
+ [clj-oauth "1.3.1-SNAPSHOT"]
+ [com.twinql.clojure/clj-apache-http "2.3.2-SNAPSHOT"]])
View
@@ -1,6 +1,5 @@
(ns twitter
- (:use [clojure.contrib.json :only [read-json]]
- [clojure.contrib.java-utils :only [as-str]])
+ (:use [clojure.data.json :only [read-json]])
(:require [clojure.set :as set]
[clojure.string :as string]
[com.twinql.clojure.http :as http]
@@ -13,10 +12,10 @@
(declare status-handler)
-(def *oauth-consumer* nil)
-(def *oauth-access-token* nil)
-(def *oauth-access-token-secret* nil)
-(def *protocol* "http")
+(def ^:dynamic *oauth-consumer* nil)
+(def ^:dynamic *oauth-access-token* nil)
+(def ^:dynamic *oauth-access-token-secret* nil)
+(def ^:dynamic *protocol* "http")
;; Get JSON from clj-apache-http
(defmethod http/entity-as :json [entity as state]

0 comments on commit d94a738

Please sign in to comment.