Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Rename namespaces to flatland.* and add org.flatland groupid.

  • Loading branch information...
commit b078839d701d799daa3bb7fe88151b0d456801ce 1 parent 643c2c8
Anthony Grimes Raynes authored
2  project.clj
... ... @@ -1,4 +1,4 @@
1   -(defproject wakeful "0.4.0"
  1 +(defproject org.flatland/wakeful "0.4.0"
2 2 :url "https://github.com/flatland/wakeful"
3 3 :license {:name "Eclipse Public License - v 1.0"
4 4 :url "http://www.eclipse.org/legal/epl-v10.html"}
2  src/wakeful/content_type.clj → src/flatland/wakeful/content_type.clj
... ... @@ -1,4 +1,4 @@
1   -(ns wakeful.content-type
  1 +(ns flatland.wakeful.content-type
2 2 (:use [useful.map :only [update]]
3 3 [useful.fn :only [! fix]]
4 4 [clojure.string :only [split]])
6 src/wakeful/core.clj → src/flatland/wakeful/core.clj
... ... @@ -1,6 +1,6 @@
1   -(ns wakeful.core
2   - (:use wakeful.docs wakeful.utils compojure.core
3   - [wakeful.content-type :only [wrap-content-type]]
  1 +(ns flatland.wakeful.core
  2 + (:use flatland.wakeful.docs flatland.wakeful.utils compojure.core
  3 + [flatland.wakeful.content-type :only [wrap-content-type]]
4 4 [compojure.route :only [files resources]]
5 5 [clout.core :only [route-compile]]
6 6 [useful.utils :only [verify]]
4 src/wakeful/docs.clj → src/flatland/wakeful/docs.clj
... ... @@ -1,6 +1,6 @@
1   -(ns wakeful.docs
  1 +(ns flatland.wakeful.docs
2 2 "Generates html documentation for a wakeful api"
3   - (:use wakeful.utils compojure.core hiccup.core hiccup.page)
  3 + (:use flatland.wakeful.utils compojure.core hiccup.core hiccup.page)
4 4 (:require [clojure.string :as s]))
5 5
6 6 (defn meta->html
6 src/wakeful/utils.clj → src/flatland/wakeful/utils.clj
... ... @@ -1,10 +1,10 @@
1   -(ns wakeful.utils)
  1 +(ns flatland.wakeful.utils)
2 2
3 3 (defn valid-ns? [prefix ns]
4 4 (let [ns-name (str ns)]
5 5 (and (.startsWith ns-name prefix)
6   - (not (or (re-find #"-test|test-" ns-name) ;; cake: wakeful.utils-test, wakeful.test-utils
7   - (re-find #"(?<![^.])test\.[^.]+$" ns-name)))))) ;; lein: wakeful.test.utils
  6 + (not (or (re-find #"-test|test-" ns-name) ;; cake: flatland.wakeful.utils-test, flatland.wakeful.test-utils
  7 + (re-find #"(?<![^.])test\.[^.]+$" ns-name)))))) ;; lein: flatland.wakeful.test.utils
8 8
9 9 (def method-regex #"[\w-]+")
10 10
4 test/wakeful/core_test.clj → test/flatland/wakeful/core_test.clj
... ... @@ -1,5 +1,5 @@
1   -(ns wakeful.core-test
2   - (:use clojure.test wakeful.core wakeful.utils)
  1 +(ns flatland.wakeful.core-test
  2 + (:use clojure.test flatland.wakeful.core flatland.wakeful.utils)
3 3 (:require [clj-json.core :as json])
4 4 (:import (java.io ByteArrayInputStream)))
5 5

0 comments on commit b078839

Please sign in to comment.
Something went wrong with that request. Please try again.