Commit graph

301 commits

Author SHA1 Message Date
Michael S. Klishin
416cb5b315 Lets see if this is what causes CI to fail 2011-09-14 14:47:42 +04:00
Michael S. Klishin
27358efbbc Use Clojure 1.3.0-RC0 2011-09-14 14:32:17 +04:00
Michael S. Klishin
a8b14d5c54 Bump version 2011-09-14 14:26:35 +04:00
Michael S. Klishin
3e6a6fac44 Simplify finders that use document id 2011-09-14 14:11:56 +04:00
Michael S. Klishin
5145f45afa Make sure our test suite uses both ObjectId instances as well as string ids 2011-09-14 14:04:34 +04:00
Michael S. Klishin
3e8e5d7b32 Don't assume id is a string (most of the time it is not) 2011-09-14 14:01:20 +04:00
Michael S. Klishin
7227bd6436 Add one more test that demonstrates monger.collection/update behavior with the $set operator 2011-09-12 14:49:28 +04:00
Michael S. Klishin
ec84824334 Correct documentation examples 2011-09-12 10:37:24 +04:00
Michael S. Klishin
73ce6b7909 Remove clojure.tools.cli 0.1.0 dependency, it conflicts with the Clojure version we want 2011-09-11 23:22:21 +04:00
Michael S. Klishin
57d8e62058 monger.util/get-id now can also handle Clojure maps, using both :_id and "_id" as id keys 2011-09-11 23:16:36 +04:00
Michael S. Klishin
09a19c67eb Bump development version 2011-09-11 23:02:46 +04:00
Michael S. Klishin
6d12e34465 monger.convertion => monger.conversion 2011-09-11 23:02:46 +04:00
Oleksandr Petrov
30ed15e67f Adding docs for major collection methods. 2011-09-11 16:13:29 +02:00
Oleksandr Petrov
5a94424402 Adding monger.utils/get-id protocol extension for DBObject. 2011-09-11 16:13:14 +02:00
Oleksandr Petrov
25a24a5231 Adding basic operations documentation 2011-09-11 14:40:46 +02:00
Oleksandr Petrov
2f82ac2bb6 Adding purge-collection function, refactoring purge-*-collection methods. 2011-09-11 12:48:42 +02:00
Michael S. Klishin
c1d45cf543 Of course we will be using travis-ci.org 2011-09-11 14:40:15 +04:00
Michael S. Klishin
8f2e7a2411 Update README in preparation to moving to a public repo 2011-09-11 14:28:38 +04:00
Michael S. Klishin
af45ad74fb Update license information
I am considering doing first public release soon and for now, it is better
to keep it unaffiliated with any particular company
2011-09-11 11:32:46 +04:00
Michael S. Klishin
1ea892328f Use "new style" type hints 2011-09-11 11:11:02 +04:00
Michael S. Klishin
a63fc0fadd Add license header 2011-09-11 11:10:42 +04:00
Michael S. Klishin
63d8e0848f Blow the dust off monger.core 2011-09-10 20:41:23 +04:00
Michael S. Klishin
4db676657e Minor README update 2011-09-10 20:28:13 +04:00
Michael S. Klishin
285f4c66ea Bump version to 0.5.0-SNAPSHOT 2011-09-10 08:48:26 +04:00
Michael S. Klishin
fadf939cd5 Implement monger.collection/rename 2011-09-10 08:46:17 +04:00
Michael S. Klishin
e681bf1a1c Implement monger.core/command 2011-09-10 08:46:10 +04:00
Michael S. Klishin
1f091ab735 Implement monger.collection/create 2011-09-10 08:19:19 +04:00
Michael S. Klishin
24b2dbe516 Implement monger.collection/exists? and monger.collection/drop 2011-09-10 08:09:32 +04:00
Michael S. Klishin
1f9b611003 update-multi is not really worth having, monger.collection/date with the :multi option is good enough 2011-09-10 07:46:41 +04:00
Michael S. Klishin
b90834fdc5 Implement index operations 2011-09-10 07:45:47 +04:00
Michael S. Klishin
2ab84f2593 Reformat 2011-09-09 06:59:34 +04:00
Michael S. Klishin
60e93b4275 Eliminate a reflection warning 2011-09-09 06:58:57 +04:00
Michael S. Klishin
1a9e0715cd Don't refer to clojure.core functions monger.collection and monger.core replace 2011-09-09 06:57:01 +04:00
Michael S. Klishin
668373c894 tools.cli should be a development dependency, it is not needed at runtime 2011-09-09 00:37:53 +04:00
Oleksandr Petrov
b91214cf37 Starting adding samples. 2011-09-08 22:27:49 +02:00
Michael S. Klishin
4124b033f6 Cosmetics 2011-09-04 04:55:06 +04:00
Michael S. Klishin
c29748e46c Add monger.json that extends clojure.data.json.Write-JSON protocol to handle org.bson.types.ObjectId 2011-09-04 00:49:47 +04:00
Michael S. Klishin
4700213bd5 Introduce monger.collection/find-maps 2011-09-03 18:31:26 +04:00
Michael S. Klishin
1609f0fab2 Upgrade to Clojure 1.3.0-beta3 2011-09-03 17:54:11 +04:00
Michael S. Klishin
d4603c2be6 Reduce amount of duplication in tests 2011-09-03 01:09:54 +04:00
Michael S. Klishin
a670b31462 Introduce monger.collection/find-map-by-id 2011-09-03 01:02:46 +04:00
Michael S. Klishin
6d17366bdd Nuke some reflection warnings 2011-09-02 04:08:39 +04:00
Michael S. Klishin
7e29ff457d Introduce monger.collection/find-one-as-map 2011-09-02 04:08:31 +04:00
Michael S. Klishin
f8845111f2 Make monger.collection/find-one return a DBObject, not a cursor 2011-09-02 03:28:40 +04:00
Michael S. Klishin
adfa422a51 Add a test that harnesses monger.collection/save with new DBObjects (useful for obtaining of the generated _id) 2011-09-02 03:19:35 +04:00
Michael S. Klishin
be1355b5b9 Add specialized identity convertion of DBObjects, makes it very easy to insert an object and immediately fetch its _id from it 2011-09-02 03:10:18 +04:00
Michael S. Klishin
e5e04f8d51 Add test for monger.result/updated-existing? with WriteResult 2011-09-02 01:46:02 +04:00
Michael S. Klishin
c688bfa45b Formatting 2011-09-02 01:38:49 +04:00
Michael S. Klishin
2ff340ab08 Implement monger.result.MongoCommandResult/updated-existing? 2011-09-01 22:29:46 +04:00
Michael S. Klishin
8fdfe32ccb monger.errors => monger.result, extend MongoCommandResult protocol with has-error? 2011-09-01 22:16:29 +04:00