myfreeweb/clj-http-fake — pull request #17 by timgluz (2014-05-27 19:40:01+00:00)
Title: Removed fixed clj-http dependency and added travis.yml

Hi,

First, i had a version conflict with `clj-http` in my project-file - it somehow used 0.7.8, but not the version i specified in my project.clj (_0.9.2_), then i started refactoring `clj-http-fake` library; until someone recommended to use `lein clean`, which did the magic;

I still decided to open new pull request with my refactored code, because it minifies dependencies and gives better decoupling from clj-http - it doesnt depend on it's methods anymore;

**Summary of my changes:**

I did little refactoring in project.clj - i moved `clojure` and `clj-http` dependencies into own profiles, because those are needed only for testing anyway and not for deployed version;

In `fake.clj` - i removed required `clj-http` functions and replaced them with methods i found from `cemerick.url` libraries; Now clj-http.fake is nicely decoupled from clj-http itself; But this change create new issue: it uses `clojure.core` functions such as `some->` and `some->>`, which dont exists in older versions than `1.5.0`. Is it okay to drop support for 1.4?

1.4 was released over [2yrs ago](https://www.versioneye.com/java/org.clojure:clojure/1.4.0) and shouldnt be much a problem anymore.

Additional changes are `.travis.yml` & new travis.yml badge in README file.

What do you think?

Timo