rename project

This commit is contained in:
Gered 2016-04-30 14:27:37 -04:00
parent 457afba989
commit a80a62c4db
9 changed files with 17 additions and 17 deletions

View file

@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright (c) 2015 Gered King
Copyright (c) 2016 Gered King
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View file

@ -1,11 +1,11 @@
# clj-webtoolbox
# webtools
Miscellaneous helper functions and macros for Ring and Compojure.
## Leiningen
```clojure
[clj-webtoolbox "0.0.1"]
[gered/webtools "0.0.1"]
```
## Usage
@ -14,6 +14,6 @@ TODO
## License
Copyright © 2014 Gered King
Copyright © 2016 Gered King
Distributed under the the MIT License. See LICENSE for more details.

View file

@ -1,6 +1,6 @@
(defproject clj-webtoolbox "0.0.1"
(defproject gered/webtools "0.0.1"
:description "Miscellaneous helper functions and macros for Ring and Compojure."
:url "https://github.com/gered/clj-webtoolbox"
:url "https://github.com/gered/webtools"
:license {:name "MIT License"
:url "http://opensource.org/licenses/MIT"}

View file

@ -1,4 +1,4 @@
(ns clj-webtoolbox.response
(ns webtools.response
"Response helpers to compliment those provided by ring.util.response. Some
of these are mostly just copies with maybe slight tweaks here and there
just so that application code need not include both namespaces unless

View file

@ -1,6 +1,6 @@
(ns clj-webtoolbox.response-helpers
(ns webtools.response-helpers
(:require
[clj-webtoolbox.response :as response]))
[webtools.response :as response]))
(defn- ->response [body status]
(-> (response/content (if (nil? body) "" body))

View file

@ -1,4 +1,4 @@
(ns clj-webtoolbox.routes.checked
(ns webtools.routes.checked
"Functions and macros to assist with writing more declarative Compojure route validations."
(:require
[clojure.string :as string]
@ -8,9 +8,9 @@
[ring.util.request :refer [body-string]]
[schema.core :as s]
[cheshire.core :as json]
[clj-webtoolbox.response :as response]
[clj-webtoolbox.routes.core :refer [destructure-route-bindings]]
[clj-webtoolbox.utils :refer [pred-> request?]]))
[webtools.response :as response]
[webtools.routes.core :refer [destructure-route-bindings]]
[webtools.utils :refer [pred-> request?]]))
(defn has-errors? [request]
(seq (:validation-errors request)))

View file

@ -1,4 +1,4 @@
(ns clj-webtoolbox.routes.core
(ns webtools.routes.core
(:require
compojure.core))

View file

@ -1,4 +1,4 @@
(ns clj-webtoolbox.session
(ns webtools.session
"Convenience helper functions for applying session data to Ring response maps."
(:refer-clojure :exclude [set dissoc assoc assoc-in update-in]))

View file

@ -1,4 +1,4 @@
(ns clj-webtoolbox.utils)
(ns webtools.utils)
(defmacro pred->
"Threads exp through the forms (via ->) as long as (pred exp)