From ebe7dd5bb3808fa4692111ba84146565ae06c187 Mon Sep 17 00:00:00 2001 From: Brian Maddy Date: Thu, 22 Oct 2015 23:56:44 -0500 Subject: [PATCH 1/2] use clj-http's wrap-cookies instead of ring's because their formats have diverged --- src/tailrecursion/ring_proxy.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tailrecursion/ring_proxy.clj b/src/tailrecursion/ring_proxy.clj index 2c019be..e0e5126 100644 --- a/src/tailrecursion/ring_proxy.clj +++ b/src/tailrecursion/ring_proxy.clj @@ -3,9 +3,9 @@ [java.net URI] ) (:require [clj-http.client :refer [request]] + [clj-http.cookies :refer [wrap-cookies]] [clojure.string :refer [join split]] - [ring.adapter.jetty :refer [run-jetty]] - [ring.middleware.cookies :refer [wrap-cookies]] )) + [ring.adapter.jetty :refer [run-jetty]])) (defn prepare-cookies "Removes the :domain and :secure keys and converts the :expires key (a Date) From ee30f3bab8f2d65eb7ad97e1632025b6c62ceffe Mon Sep 17 00:00:00 2001 From: Brian Maddy Date: Fri, 23 Oct 2015 05:31:39 -0500 Subject: [PATCH 2/2] call bootlaces! so push-snapshot works --- build.boot | 1 + 1 file changed, 1 insertion(+) diff --git a/build.boot b/build.boot index fb47275..bb6a2af 100644 --- a/build.boot +++ b/build.boot @@ -9,6 +9,7 @@ (require '[adzerk.bootlaces :refer :all]) (def +version+ "3.0.0-SNAPSHOT") +(bootlaces! +version+) (task-options! pom {:project 'tailrecursion/ring-proxy