Update license headers

This commit is contained in:
Michael Klishin 2015-06-06 19:15:01 +03:00
parent 4e0a0036e6
commit a2b1ddb054
20 changed files with 625 additions and 143 deletions

View file

@ -1,11 +1,35 @@
;; Copyright (c) 2011-2014 Michael S. Klishin ;; This source code is dual-licensed under the Apache License, version
;; 2.0, and the Eclipse Public License, version 1.0.
;; ;;
;; The use and distribution terms for this software are covered by the ;; The APL v2.0:
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;;
;; which can be found in the file epl-v10.html at the root of this distribution. ;; ----------------------------------------------------------------------------------
;; By using this software in any fashion, you are agreeing to be bound by ;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team
;; the terms of this license. ;;
;; You must not remove this notice, or any other, from this software. ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed under the License is distributed on an "AS IS" BASIS,
;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
;; See the License for the specific language governing permissions and
;; limitations under the License.
;; ----------------------------------------------------------------------------------
;;
;; The EPL v1.0:
;;
;; ----------------------------------------------------------------------------------
;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team.
;; All rights reserved.
;;
;; This program and the accompanying materials are made available under the terms of
;; the Eclipse Public License Version 1.0,
;; which accompanies this distribution and is available at
;; http://www.eclipse.org/legal/epl-v10.html.
;; ----------------------------------------------------------------------------------
(ns monger.cache (ns monger.cache
"clojure.core.cache implementation(s) on top of MongoDB. "clojure.core.cache implementation(s) on top of MongoDB.

View file

@ -1,13 +1,40 @@
;; Copyright (c) 2011-2014 Michael S. Klishin ;; This source code is dual-licensed under the Apache License, version
;; 2.0, and the Eclipse Public License, version 1.0.
;;
;; The APL v2.0:
;;
;; ----------------------------------------------------------------------------------
;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team
;; Copyright (c) 2012 Toby Hede ;; Copyright (c) 2012 Toby Hede
;; Copyright (c) 2012 Baishampayan Ghose ;; Copyright (c) 2012 Baishampayan Ghose
;; ;;
;; The use and distribution terms for this software are covered by the ;; Licensed under the Apache License, Version 2.0 (the "License");
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;; you may not use this file except in compliance with the License.
;; which can be found in the file epl-v10.html at the root of this distribution. ;; You may obtain a copy of the License at
;; By using this software in any fashion, you are agreeing to be bound by ;;
;; the terms of this license. ;; http://www.apache.org/licenses/LICENSE-2.0
;; You must not remove this notice, or any other, from this software. ;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed under the License is distributed on an "AS IS" BASIS,
;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
;; See the License for the specific language governing permissions and
;; limitations under the License.
;; ----------------------------------------------------------------------------------
;;
;; The EPL v1.0:
;;
;; ----------------------------------------------------------------------------------
;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team.
;; Copyright (c) 2012 Toby Hede
;; Copyright (c) 2012 Baishampayan Ghose
;;
;; All rights reserved.
;;
;; This program and the accompanying materials are made available under the terms of
;; the Eclipse Public License Version 1.0,
;; which accompanies this distribution and is available at
;; http://www.eclipse.org/legal/epl-v10.html.
;; ----------------------------------------------------------------------------------
(ns monger.collection (ns monger.collection
"Provides key functionality for interaction with MongoDB: inserting, querying, updating and deleting documents, performing Aggregation Framework "Provides key functionality for interaction with MongoDB: inserting, querying, updating and deleting documents, performing Aggregation Framework

View file

@ -1,12 +1,37 @@
;; Copyright (c) 2011-2014 Michael S. Klishin ;; This source code is dual-licensed under the Apache License, version
;; 2.0, and the Eclipse Public License, version 1.0.
;;
;; The APL v2.0:
;;
;; ----------------------------------------------------------------------------------
;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team
;; Copyright (c) 2012 Toby Hede ;; Copyright (c) 2012 Toby Hede
;; ;;
;; The use and distribution terms for this software are covered by the ;; Licensed under the Apache License, Version 2.0 (the "License");
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;; you may not use this file except in compliance with the License.
;; which can be found in the file epl-v10.html at the root of this distribution. ;; You may obtain a copy of the License at
;; By using this software in any fashion, you are agreeing to be bound by ;;
;; the terms of this license. ;; http://www.apache.org/licenses/LICENSE-2.0
;; You must not remove this notice, or any other, from this software. ;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed under the License is distributed on an "AS IS" BASIS,
;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
;; See the License for the specific language governing permissions and
;; limitations under the License.
;; ----------------------------------------------------------------------------------
;;
;; The EPL v1.0:
;;
;; ----------------------------------------------------------------------------------
;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team.
;; Copyright (c) 2012 Toby Hede
;; All rights reserved.
;;
;; This program and the accompanying materials are made available under the terms of
;; the Eclipse Public License Version 1.0,
;; which accompanies this distribution and is available at
;; http://www.eclipse.org/legal/epl-v10.html.
;; ----------------------------------------------------------------------------------
(ns monger.command (ns monger.command
"Provides convenience functions for performing most commonly used MongoDB commands. "Provides convenience functions for performing most commonly used MongoDB commands.

View file

@ -1,3 +1,36 @@
;; This source code is dual-licensed under the Apache License, version
;; 2.0, and the Eclipse Public License, version 1.0.
;;
;; The APL v2.0:
;;
;; ----------------------------------------------------------------------------------
;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed under the License is distributed on an "AS IS" BASIS,
;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
;; See the License for the specific language governing permissions and
;; limitations under the License.
;; ----------------------------------------------------------------------------------
;;
;; The EPL v1.0:
;;
;; ----------------------------------------------------------------------------------
;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team.
;; All rights reserved.
;;
;; This program and the accompanying materials are made available under the terms of
;; the Eclipse Public License Version 1.0,
;; which accompanies this distribution and is available at
;; http://www.eclipse.org/legal/epl-v10.html.
;; ----------------------------------------------------------------------------------
(ns monger.constraints) (ns monger.constraints)

View file

@ -1,25 +1,37 @@
;; Original author is Andrew Boekhoff ;; This source code is dual-licensed under the Apache License, version
;; 2.0, and the Eclipse Public License, version 1.0.
;; ;;
;; The APL v2.0:
;;
;; ----------------------------------------------------------------------------------
;; Portions of the code are Copyright (c) 2009 Andrew Boekhoff ;; Portions of the code are Copyright (c) 2009 Andrew Boekhoff
;; Copyright (c) 2011-2014 Michael S. Klishin ;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team
;; ;;
;; Permission is hereby granted, free of charge, to any person obtaining a copy ;; Licensed under the Apache License, Version 2.0 (the "License");
;; of this software and associated documentation files (the "Software"), to deal ;; you may not use this file except in compliance with the License.
;; in the Software without restriction, including without limitation the rights ;; You may obtain a copy of the License at
;; 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 ;; http://www.apache.org/licenses/LICENSE-2.0
;; all copies or substantial portions of the Software.
;; ;;
;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ;; Unless required by applicable law or agreed to in writing, software
;; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ;; distributed under the License is distributed on an "AS IS" BASIS,
;; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
;; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ;; See the License for the specific language governing permissions and
;; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ;; limitations under the License.
;; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN ;; ----------------------------------------------------------------------------------
;; THE SOFTWARE. ;;
;; The EPL v1.0:
;;
;; ----------------------------------------------------------------------------------
;; Portions of the code are Copyright (c) 2009 Andrew Boekhoff
;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team.
;; All rights reserved.
;;
;; This program and the accompanying materials are made available under the terms of
;; the Eclipse Public License Version 1.0,
;; which accompanies this distribution and is available at
;; http://www.eclipse.org/legal/epl-v10.html.
;; ----------------------------------------------------------------------------------
(ns monger.conversion (ns monger.conversion
"Provides functions that convert between MongoDB Java driver classes (DBObject, DBList) and Clojure "Provides functions that convert between MongoDB Java driver classes (DBObject, DBList) and Clojure

View file

@ -1,11 +1,35 @@
;; Copyright (c) 2011-2014 Michael S. Klishin ;; This source code is dual-licensed under the Apache License, version
;; 2.0, and the Eclipse Public License, version 1.0.
;; ;;
;; The use and distribution terms for this software are covered by the ;; The APL v2.0:
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;;
;; which can be found in the file epl-v10.html at the root of this distribution. ;; ----------------------------------------------------------------------------------
;; By using this software in any fashion, you are agreeing to be bound by ;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team
;; the terms of this license. ;;
;; You must not remove this notice, or any other, from this software. ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed under the License is distributed on an "AS IS" BASIS,
;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
;; See the License for the specific language governing permissions and
;; limitations under the License.
;; ----------------------------------------------------------------------------------
;;
;; The EPL v1.0:
;;
;; ----------------------------------------------------------------------------------
;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team.
;; All rights reserved.
;;
;; This program and the accompanying materials are made available under the terms of
;; the Eclipse Public License Version 1.0,
;; which accompanies this distribution and is available at
;; http://www.eclipse.org/legal/epl-v10.html.
;; ----------------------------------------------------------------------------------
(ns monger.core (ns monger.core
"Thin idiomatic wrapper around MongoDB Java client. monger.core includes "Thin idiomatic wrapper around MongoDB Java client. monger.core includes

View file

@ -1,11 +1,35 @@
;; Copyright (c) 2011-2015 Michael S. Klishin ;; This source code is dual-licensed under the Apache License, version
;; 2.0, and the Eclipse Public License, version 1.0.
;; ;;
;; The use and distribution terms for this software are covered by the ;; The APL v2.0:
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;;
;; which can be found in the file epl-v10.html at the root of this distribution. ;; ----------------------------------------------------------------------------------
;; By using this software in any fashion, you are agreeing to be bound by ;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team
;; the terms of this license. ;;
;; You must not remove this notice, or any other, from this software. ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed under the License is distributed on an "AS IS" BASIS,
;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
;; See the License for the specific language governing permissions and
;; limitations under the License.
;; ----------------------------------------------------------------------------------
;;
;; The EPL v1.0:
;;
;; ----------------------------------------------------------------------------------
;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team.
;; All rights reserved.
;;
;; This program and the accompanying materials are made available under the terms of
;; the Eclipse Public License Version 1.0,
;; which accompanies this distribution and is available at
;; http://www.eclipse.org/legal/epl-v10.html.
;; ----------------------------------------------------------------------------------
(ns monger.credentials (ns monger.credentials
"Helper functions for instantiating various types "Helper functions for instantiating various types

View file

@ -1,11 +1,35 @@
;; Copyright (c) 2011-2014 Michael S. Klishin ;; This source code is dual-licensed under the Apache License, version
;; 2.0, and the Eclipse Public License, version 1.0.
;; ;;
;; The use and distribution terms for this software are covered by the ;; The APL v2.0:
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;;
;; which can be found in the file epl-v10.html at the root of this distribution. ;; ----------------------------------------------------------------------------------
;; By using this software in any fashion, you are agreeing to be bound by ;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team
;; the terms of this license. ;;
;; You must not remove this notice, or any other, from this software. ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed under the License is distributed on an "AS IS" BASIS,
;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
;; See the License for the specific language governing permissions and
;; limitations under the License.
;; ----------------------------------------------------------------------------------
;;
;; The EPL v1.0:
;;
;; ----------------------------------------------------------------------------------
;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team.
;; All rights reserved.
;;
;; This program and the accompanying materials are made available under the terms of
;; the Eclipse Public License Version 1.0,
;; which accompanies this distribution and is available at
;; http://www.eclipse.org/legal/epl-v10.html.
;; ----------------------------------------------------------------------------------
(ns monger.cursor (ns monger.cursor
"Helper-functions for dbCursor object: "Helper-functions for dbCursor object:

View file

@ -1,12 +1,37 @@
;; Copyright (c) 2011-2014 Michael S. Klishin ;; This source code is dual-licensed under the Apache License, version
;; 2.0, and the Eclipse Public License, version 1.0.
;;
;; The APL v2.0:
;;
;; ----------------------------------------------------------------------------------
;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team
;; Copyright (c) 2012 Toby Hede ;; Copyright (c) 2012 Toby Hede
;; ;;
;; The use and distribution terms for this software are covered by the ;; Licensed under the Apache License, Version 2.0 (the "License");
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;; you may not use this file except in compliance with the License.
;; which can be found in the file epl-v10.html at the root of this distribution. ;; You may obtain a copy of the License at
;; By using this software in any fashion, you are agreeing to be bound by ;;
;; the terms of this license. ;; http://www.apache.org/licenses/LICENSE-2.0
;; You must not remove this notice, or any other, from this software. ;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed under the License is distributed on an "AS IS" BASIS,
;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
;; See the License for the specific language governing permissions and
;; limitations under the License.
;; ----------------------------------------------------------------------------------
;;
;; The EPL v1.0:
;;
;; ----------------------------------------------------------------------------------
;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team.
;; Copyright (c) 2012 Toby Hede
;; All rights reserved.
;;
;; This program and the accompanying materials are made available under the terms of
;; the Eclipse Public License Version 1.0,
;; which accompanies this distribution and is available at
;; http://www.eclipse.org/legal/epl-v10.html.
;; ----------------------------------------------------------------------------------
(ns monger.db (ns monger.db
"Functions that provide operations on databases" "Functions that provide operations on databases"

View file

@ -1,11 +1,35 @@
;; Copyright (c) 2011-2014 Michael S. Klishin ;; This source code is dual-licensed under the Apache License, version
;; 2.0, and the Eclipse Public License, version 1.0.
;; ;;
;; The use and distribution terms for this software are covered by the ;; The APL v2.0:
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;;
;; which can be found in the file epl-v10.html at the root of this distribution. ;; ----------------------------------------------------------------------------------
;; By using this software in any fashion, you are agreeing to be bound by ;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team
;; the terms of this license. ;;
;; You must not remove this notice, or any other, from this software. ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed under the License is distributed on an "AS IS" BASIS,
;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
;; See the License for the specific language governing permissions and
;; limitations under the License.
;; ----------------------------------------------------------------------------------
;;
;; The EPL v1.0:
;;
;; ----------------------------------------------------------------------------------
;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team.
;; All rights reserved.
;;
;; This program and the accompanying materials are made available under the terms of
;; the Eclipse Public License Version 1.0,
;; which accompanies this distribution and is available at
;; http://www.eclipse.org/legal/epl-v10.html.
;; ----------------------------------------------------------------------------------
(ns monger.gridfs (ns monger.gridfs
"Provides functions and macros for working with GridFS: storing files in GridFS, streaming files from GridFS, "Provides functions and macros for working with GridFS: storing files in GridFS, streaming files from GridFS,

View file

@ -1,11 +1,35 @@
;; Copyright (c) 2011-2014 Michael S. Klishin ;; This source code is dual-licensed under the Apache License, version
;; 2.0, and the Eclipse Public License, version 1.0.
;; ;;
;; The use and distribution terms for this software are covered by the ;; The APL v2.0:
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;;
;; which can be found in the file epl-v10.html at the root of this distribution. ;; ----------------------------------------------------------------------------------
;; By using this software in any fashion, you are agreeing to be bound by ;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team
;; the terms of this license. ;;
;; You must not remove this notice, or any other, from this software. ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed under the License is distributed on an "AS IS" BASIS,
;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
;; See the License for the specific language governing permissions and
;; limitations under the License.
;; ----------------------------------------------------------------------------------
;;
;; The EPL v1.0:
;;
;; ----------------------------------------------------------------------------------
;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team.
;; All rights reserved.
;;
;; This program and the accompanying materials are made available under the terms of
;; the Eclipse Public License Version 1.0,
;; which accompanies this distribution and is available at
;; http://www.eclipse.org/legal/epl-v10.html.
;; ----------------------------------------------------------------------------------
(ns monger.internal.pagination) (ns monger.internal.pagination)

View file

@ -1,11 +1,35 @@
;; Copyright (c) 2011-2014 Michael S. Klishin ;; This source code is dual-licensed under the Apache License, version
;; 2.0, and the Eclipse Public License, version 1.0.
;; ;;
;; The use and distribution terms for this software are covered by the ;; The APL v2.0:
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;;
;; which can be found in the file epl-v10.html at the root of this distribution. ;; ----------------------------------------------------------------------------------
;; By using this software in any fashion, you are agreeing to be bound by ;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team
;; the terms of this license. ;;
;; You must not remove this notice, or any other, from this software. ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed under the License is distributed on an "AS IS" BASIS,
;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
;; See the License for the specific language governing permissions and
;; limitations under the License.
;; ----------------------------------------------------------------------------------
;;
;; The EPL v1.0:
;;
;; ----------------------------------------------------------------------------------
;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team.
;; All rights reserved.
;;
;; This program and the accompanying materials are made available under the terms of
;; the Eclipse Public License Version 1.0,
;; which accompanies this distribution and is available at
;; http://www.eclipse.org/legal/epl-v10.html.
;; ----------------------------------------------------------------------------------
(ns monger.joda-time (ns monger.joda-time
"An optional convenience namespaces for applications that heavily use dates and would prefer use JodaTime types "An optional convenience namespaces for applications that heavily use dates and would prefer use JodaTime types

View file

@ -1,11 +1,35 @@
;; Copyright (c) 2011-2014 Michael S. Klishin ;; This source code is dual-licensed under the Apache License, version
;; 2.0, and the Eclipse Public License, version 1.0.
;; ;;
;; The use and distribution terms for this software are covered by the ;; The APL v2.0:
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;;
;; which can be found in the file epl-v10.html at the root of this distribution. ;; ----------------------------------------------------------------------------------
;; By using this software in any fashion, you are agreeing to be bound by ;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team
;; the terms of this license. ;;
;; You must not remove this notice, or any other, from this software. ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed under the License is distributed on an "AS IS" BASIS,
;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
;; See the License for the specific language governing permissions and
;; limitations under the License.
;; ----------------------------------------------------------------------------------
;;
;; The EPL v1.0:
;;
;; ----------------------------------------------------------------------------------
;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team.
;; All rights reserved.
;;
;; This program and the accompanying materials are made available under the terms of
;; the Eclipse Public License Version 1.0,
;; which accompanies this distribution and is available at
;; http://www.eclipse.org/legal/epl-v10.html.
;; ----------------------------------------------------------------------------------
(ns monger.js (ns monger.js
"Kept for backwards compatibility. Please use clojurewerkz.support.js from now on." "Kept for backwards compatibility. Please use clojurewerkz.support.js from now on."

View file

@ -1,11 +1,35 @@
;; Copyright (c) 2011-2014 Michael S. Klishin ;; This source code is dual-licensed under the Apache License, version
;; 2.0, and the Eclipse Public License, version 1.0.
;; ;;
;; The use and distribution terms for this software are covered by the ;; The APL v2.0:
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;;
;; which can be found in the file epl-v10.html at the root of this distribution. ;; ----------------------------------------------------------------------------------
;; By using this software in any fashion, you are agreeing to be bound by ;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team
;; the terms of this license. ;;
;; You must not remove this notice, or any other, from this software. ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed under the License is distributed on an "AS IS" BASIS,
;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
;; See the License for the specific language governing permissions and
;; limitations under the License.
;; ----------------------------------------------------------------------------------
;;
;; The EPL v1.0:
;;
;; ----------------------------------------------------------------------------------
;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team.
;; All rights reserved.
;;
;; This program and the accompanying materials are made available under the terms of
;; the Eclipse Public License Version 1.0,
;; which accompanies this distribution and is available at
;; http://www.eclipse.org/legal/epl-v10.html.
;; ----------------------------------------------------------------------------------
(ns monger.json (ns monger.json
"Provides clojure.data.json/Write-JSON protocol extension for MongoDB-specific types, such as "Provides clojure.data.json/Write-JSON protocol extension for MongoDB-specific types, such as

View file

@ -1,11 +1,35 @@
;; Copyright (c) 2011-2014 Michael S. Klishin ;; This source code is dual-licensed under the Apache License, version
;; 2.0, and the Eclipse Public License, version 1.0.
;; ;;
;; The use and distribution terms for this software are covered by the ;; The APL v2.0:
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;;
;; which can be found in the file epl-v10.html at the root of this distribution. ;; ----------------------------------------------------------------------------------
;; By using this software in any fashion, you are agreeing to be bound by ;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team
;; the terms of this license. ;;
;; You must not remove this notice, or any other, from this software. ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed under the License is distributed on an "AS IS" BASIS,
;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
;; See the License for the specific language governing permissions and
;; limitations under the License.
;; ----------------------------------------------------------------------------------
;;
;; The EPL v1.0:
;;
;; ----------------------------------------------------------------------------------
;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team.
;; All rights reserved.
;;
;; This program and the accompanying materials are made available under the terms of
;; the Eclipse Public License Version 1.0,
;; which accompanies this distribution and is available at
;; http://www.eclipse.org/legal/epl-v10.html.
;; ----------------------------------------------------------------------------------
(ns monger.operators (ns monger.operators
"Provides vars that represent various MongoDB operators, for example, $gt or $in or $regex. "Provides vars that represent various MongoDB operators, for example, $gt or $in or $regex.

View file

@ -1,11 +1,35 @@
;; Copyright (c) 2011-2014 Michael S. Klishin ;; This source code is dual-licensed under the Apache License, version
;; 2.0, and the Eclipse Public License, version 1.0.
;; ;;
;; The use and distribution terms for this software are covered by the ;; The APL v2.0:
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;;
;; which can be found in the file epl-v10.html at the root of this distribution. ;; ----------------------------------------------------------------------------------
;; By using this software in any fashion, you are agreeing to be bound by ;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team
;; the terms of this license. ;;
;; You must not remove this notice, or any other, from this software. ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed under the License is distributed on an "AS IS" BASIS,
;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
;; See the License for the specific language governing permissions and
;; limitations under the License.
;; ----------------------------------------------------------------------------------
;;
;; The EPL v1.0:
;;
;; ----------------------------------------------------------------------------------
;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team.
;; All rights reserved.
;;
;; This program and the accompanying materials are made available under the terms of
;; the Eclipse Public License Version 1.0,
;; which accompanies this distribution and is available at
;; http://www.eclipse.org/legal/epl-v10.html.
;; ----------------------------------------------------------------------------------
(ns monger.query (ns monger.query
"Provides an expressive Query DSL that is very close to that in the Mongo shell (within reason). "Provides an expressive Query DSL that is very close to that in the Mongo shell (within reason).

View file

@ -1,11 +1,35 @@
;; Copyright (c) 2011-2014 Michael S. Klishin ;; This source code is dual-licensed under the Apache License, version
;; 2.0, and the Eclipse Public License, version 1.0.
;; ;;
;; The use and distribution terms for this software are covered by the ;; The APL v2.0:
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;;
;; which can be found in the file epl-v10.html at the root of this distribution. ;; ----------------------------------------------------------------------------------
;; By using this software in any fashion, you are agreeing to be bound by ;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team
;; the terms of this license. ;;
;; You must not remove this notice, or any other, from this software. ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed under the License is distributed on an "AS IS" BASIS,
;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
;; See the License for the specific language governing permissions and
;; limitations under the License.
;; ----------------------------------------------------------------------------------
;;
;; The EPL v1.0:
;;
;; ----------------------------------------------------------------------------------
;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team.
;; All rights reserved.
;;
;; This program and the accompanying materials are made available under the terms of
;; the Eclipse Public License Version 1.0,
;; which accompanies this distribution and is available at
;; http://www.eclipse.org/legal/epl-v10.html.
;; ----------------------------------------------------------------------------------
(ns monger.ragtime (ns monger.ragtime
"Ragtime integration" "Ragtime integration"

View file

@ -1,11 +1,35 @@
;; Copyright (c) 2011-2014 Michael S. Klishin ;; This source code is dual-licensed under the Apache License, version
;; 2.0, and the Eclipse Public License, version 1.0.
;; ;;
;; The use and distribution terms for this software are covered by the ;; The APL v2.0:
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;;
;; which can be found in the file epl-v10.html at the root of this distribution. ;; ----------------------------------------------------------------------------------
;; By using this software in any fashion, you are agreeing to be bound by ;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team
;; the terms of this license. ;;
;; You must not remove this notice, or any other, from this software. ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed under the License is distributed on an "AS IS" BASIS,
;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
;; See the License for the specific language governing permissions and
;; limitations under the License.
;; ----------------------------------------------------------------------------------
;;
;; The EPL v1.0:
;;
;; ----------------------------------------------------------------------------------
;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team.
;; All rights reserved.
;;
;; This program and the accompanying materials are made available under the terms of
;; the Eclipse Public License Version 1.0,
;; which accompanies this distribution and is available at
;; http://www.eclipse.org/legal/epl-v10.html.
;; ----------------------------------------------------------------------------------
(ns monger.result (ns monger.result
"Provides functions that determine if a query (or other database operation) "Provides functions that determine if a query (or other database operation)

View file

@ -1,11 +1,35 @@
;; Copyright (c) 2011-2014 Michael S. Klishin ;; This source code is dual-licensed under the Apache License, version
;; 2.0, and the Eclipse Public License, version 1.0.
;; ;;
;; The use and distribution terms for this software are covered by the ;; The APL v2.0:
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;;
;; which can be found in the file epl-v10.html at the root of this distribution. ;; ----------------------------------------------------------------------------------
;; By using this software in any fashion, you are agreeing to be bound by ;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team
;; the terms of this license. ;;
;; You must not remove this notice, or any other, from this software. ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed under the License is distributed on an "AS IS" BASIS,
;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
;; See the License for the specific language governing permissions and
;; limitations under the License.
;; ----------------------------------------------------------------------------------
;;
;; The EPL v1.0:
;;
;; ----------------------------------------------------------------------------------
;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team.
;; All rights reserved.
;;
;; This program and the accompanying materials are made available under the terms of
;; the Eclipse Public License Version 1.0,
;; which accompanies this distribution and is available at
;; http://www.eclipse.org/legal/epl-v10.html.
;; ----------------------------------------------------------------------------------
(ns monger.ring.session-store (ns monger.ring.session-store
(:require [ring.middleware.session.store :as ringstore] (:require [ring.middleware.session.store :as ringstore]

View file

@ -1,11 +1,35 @@
;; Copyright (c) 2011-2014 Michael S. Klishin ;; This source code is dual-licensed under the Apache License, version
;; 2.0, and the Eclipse Public License, version 1.0.
;; ;;
;; The use and distribution terms for this software are covered by the ;; The APL v2.0:
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;;
;; which can be found in the file epl-v10.html at the root of this distribution. ;; ----------------------------------------------------------------------------------
;; By using this software in any fashion, you are agreeing to be bound by ;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team
;; the terms of this license. ;;
;; You must not remove this notice, or any other, from this software. ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed under the License is distributed on an "AS IS" BASIS,
;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
;; See the License for the specific language governing permissions and
;; limitations under the License.
;; ----------------------------------------------------------------------------------
;;
;; The EPL v1.0:
;;
;; ----------------------------------------------------------------------------------
;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team.
;; All rights reserved.
;;
;; This program and the accompanying materials are made available under the terms of
;; the Eclipse Public License Version 1.0,
;; which accompanies this distribution and is available at
;; http://www.eclipse.org/legal/epl-v10.html.
;; ----------------------------------------------------------------------------------
(ns ^{:doc "Provides various utility functions, primarily for working with document ids."} monger.util (ns ^{:doc "Provides various utility functions, primarily for working with document ids."} monger.util
(:import java.security.SecureRandom (:import java.security.SecureRandom