From a3aa236655b8c8a4d326dd7a83f8e21eeb53869e Mon Sep 17 00:00:00 2001 From: "Michael S. Klishin" Date: Sun, 14 Aug 2011 02:18:27 +0400 Subject: [PATCH] Add license headers, give credit to Andrew Boekhoff for the congomongo coercion/convertion code I based monger.convertion on --- src/monger/collection.clj | 20 ++++++++++++++++++++ src/monger/convertion.clj | 23 +++++++++++++++++++++++ src/monger/core.clj | 20 ++++++++++++++++++++ 3 files changed, 63 insertions(+) diff --git a/src/monger/collection.clj b/src/monger/collection.clj index 4522a7e..19be291 100644 --- a/src/monger/collection.clj +++ b/src/monger/collection.clj @@ -1,3 +1,23 @@ +;; Copyright (c) 2011 Michael S. Klishin +;; +;; Permission is hereby granted, free of charge, to any person obtaining a copy +;; of this software and associated documentation files (the "Software"), to deal +;; in the Software without restriction, including without limitation the rights +;; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +;; copies of the Software, and to permit persons to whom the Software is +;; furnished to do so, subject to the following conditions: +;; +;; The above copyright notice and this permission notice shall be included in +;; all copies or substantial portions of the Software. +;; +;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +;; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +;; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +;; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +;; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +;; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +;; THE SOFTWARE. + (ns monger.collection (:import (com.mongodb Mongo DB)) ) diff --git a/src/monger/convertion.clj b/src/monger/convertion.clj index 42fad7b..01a81ce 100644 --- a/src/monger/convertion.clj +++ b/src/monger/convertion.clj @@ -1,3 +1,26 @@ +;; Original author is Andrew Boekhoff +;; +;; Portions of the code are Copyright (c) 2009 Andrew Boekhoff +;; Copyright (c) 2011 Michael S. Klishin +;; +;; Permission is hereby granted, free of charge, to any person obtaining a copy +;; of this software and associated documentation files (the "Software"), to deal +;; in the Software without restriction, including without limitation the rights +;; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +;; copies of the Software, and to permit persons to whom the Software is +;; furnished to do so, subject to the following conditions: +;; +;; The above copyright notice and this permission notice shall be included in +;; all copies or substantial portions of the Software. +;; +;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +;; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +;; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +;; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +;; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +;; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +;; THE SOFTWARE. + (ns monger.convertion (:import (com.mongodb DBObject BasicDBObject BasicDBList) (clojure.lang IPersistentMap Keyword) diff --git a/src/monger/core.clj b/src/monger/core.clj index b8f7c75..6de2707 100644 --- a/src/monger/core.clj +++ b/src/monger/core.clj @@ -1,3 +1,23 @@ +;; Copyright (c) 2011 Michael S. Klishin +;; +;; Permission is hereby granted, free of charge, to any person obtaining a copy +;; of this software and associated documentation files (the "Software"), to deal +;; in the Software without restriction, including without limitation the rights +;; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +;; copies of the Software, and to permit persons to whom the Software is +;; furnished to do so, subject to the following conditions: +;; +;; The above copyright notice and this permission notice shall be included in +;; all copies or substantial portions of the Software. +;; +;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +;; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +;; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +;; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +;; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +;; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +;; THE SOFTWARE. + (ns monger.core (:import (com.mongodb Mongo DB)) )