Permalink
Browse files

Dropped support for Clojure 1.1; Removed clojure-contrib dependency.

  • Loading branch information...
1 parent 87b32de commit 297868c29570a88fa2b949c574833a0b2e77f0ce @Flamefork committed Oct 28, 2011
Showing with 7 additions and 8 deletions.
  1. +1 −1 .gitignore
  2. +2 −3 project.clj
  3. +1 −1 src/fleet/builder.clj
  4. +3 −3 src/fleet/loader.clj
View
@@ -3,7 +3,7 @@ pom.xml
classes
lib
fleet.jar
-
+.lein-failures
*.iml
.idea
View
@@ -3,7 +3,6 @@
:description "Templating System for Clojure"
:url "http://github.com/Flamefork/fleet"
- :dependencies [[org.clojure/clojure "1.1.0"]
- [org.clojure/clojure-contrib "1.1.0"]]
+ :dependencies [[org.clojure/clojure "1.2.0"]]
:java-source-path "src"
- :dev-dependencies [[lein-clojars "0.6.0"]])
+ :dev-dependencies [[lein-clojars "0.7.0"]])
View
@@ -1,6 +1,6 @@
(ns fleet.builder
(:require
- [clojure.contrib.str-utils2 :as su])
+ [clojure.string :as su])
(:use
[fleet runtime util]))
View
@@ -2,7 +2,7 @@
(:import
java.io.File)
(:require
- [clojure.contrib.str-utils2 :as su]))
+ [clojure.string :as cs]))
(defn- ns-from-path
[path]
@@ -14,8 +14,8 @@
(defn- names-from-filename
"Make (post-html-fleet post-html post) from 'post.html.fleet'"
[filename]
- (map #(ns-from-path (su/join \. %))
- (loop [s (su/split filename #"\.")
+ (map #(ns-from-path (cs/join \. %))
+ (loop [s (cs/split filename #"\.")
names []]
(if (nil? s)
names

0 comments on commit 297868c

Please sign in to comment.