Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

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

0 comments on commit b078839

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