Commit graph

351 commits

Author SHA1 Message Date
Michael S. Klishin
0154e33470 Implement parent-id seeding in the factory DSL 2012-03-07 10:21:57 +04:00
Michael S. Klishin
94abe56605 Initial support for child => parent references in factories 2012-03-06 21:13:34 +04:00
Michael S. Klishin
5a2ab1a22b Make monger.internal.fn/expand-all-with more flexible 2012-03-06 19:44:23 +04:00
Michael S. Klishin
9b9005448b Implement monger.internal.fn/expand-all-with 2012-03-06 19:38:40 +04:00
Michael S. Klishin
c1409eb81e Test case with child documents embedded into parent now passes 2012-03-06 12:07:02 +04:00
Michael S. Klishin
a2eb9ce964 Also expand vector values that are functions 2012-03-06 12:02:26 +04:00
Michael S. Klishin
64981ac913 One more test case 2012-03-06 11:47:11 +04:00
Michael S. Klishin
2e47407ef0 Implement expansion (evaluation) of function values in factories 2012-03-06 11:35:35 +04:00
Michael S. Klishin
b9016aff99 Implement recursive function value expansion (for maps) 2012-03-06 11:30:01 +04:00
Michael S. Klishin
c9d4c1316b Make sure atomic modifiers tests can run on its own 2012-03-06 09:40:50 +04:00
Michael S. Klishin
e54bd37932 Cached object ids won't work, per (long) discussion with Alex 2012-03-05 20:55:08 +04:00
Michael S. Klishin
0f867b8236 Implement seeding (insertion) of factory-built documents, add (experimental) oid-of function
We will see if caching object ids is a viable idea, it is not obvious at this point
2012-03-05 18:10:36 +04:00
Michael S. Klishin
35be335a71 One more scenario 2012-03-05 17:21:07 +04:00
Michael S. Klishin
19a55b5a5b Initial factory/fixture DSL bits 2012-03-05 17:09:59 +04:00
Michael S. Klishin
63d40179fe Switch monger.core to alter-var-root
Previous implementation was almost literally my first code in Clojure. Needless to say it sucked.
2012-02-28 20:23:50 +04:00
Michael S. Klishin
d768b843a9 Merge branch 'master' of github.com:michaelklishin/monger 2012-02-28 20:12:06 +04:00
Michael S. Klishin
d39d946550 Update change log 2012-02-28 20:11:50 +04:00
Michael S. Klishin
a09c55096c Add ability to connect using ServerAddress and MongoOptions, closes #15 2012-02-28 20:08:05 +04:00
Oleksandr Petrov
f6dc405b0c Fixing examples 2012-02-26 18:45:32 +01:00
Michael S. Klishin
53ea3b3a20 Link to @ClojureWerkz Twitter account where announcements are posted 2012-02-26 06:47:17 +04:00
Michael S. Klishin
346422dac3 Back to 1.0.0-SNAPSHOT 2012-02-26 06:44:15 +04:00
Michael S. Klishin
ec8c127635 1.0.0-beta2 is up on Clojars 2012-02-26 06:43:46 +04:00
Michael S. Klishin
2529dd129f 1.0.0-beta2 2012-02-26 06:41:56 +04:00
Michael S. Klishin
9772ec7947 Wording 2012-02-25 18:54:13 +04:00
Michael S. Klishin
f909834a12 Minor README updates 2012-02-25 18:37:46 +04:00
Michael S. Klishin
535ab0f01b Update change log 2012-02-21 15:09:58 +04:00
Michael S. Klishin
60688e7482 Merge branch 'toby-commands' 2012-02-21 15:06:29 +04:00
Toby Hede
9cc2d6dd19 insert into collection before re-index
just to see if that makes a diff
2012-02-21 13:13:20 +11:00
Toby Hede
219c9fa41c temporarily remove reindex collection due to strange CI error 2012-02-21 13:07:25 +11:00
Toby Hede
f36528b592 command namespace and basic commands 2012-02-21 13:02:01 +11:00
Toby Hede
d982d27caa core/command accepts db as explicit parameter option 2012-02-21 13:01:42 +11:00
Michael S. Klishin
a75e0dbd7c Update change log [ci skip] 2012-02-20 16:06:43 +04:00
Michael S. Klishin
7747325030 Make monger.core/get-db-names return a set 2012-02-20 16:06:05 +04:00
Michael Klishin
7348ca9f2e Merge pull request #12 from tobyhede/63870b1136e63865ba349faa159d473b3cab79a7
new core/get-db-names
2012-02-20 04:00:40 -08:00
Toby Hede
63870b1136 add get-db-names to core 2012-02-20 22:46:07 +11:00
Michael S. Klishin
96d5b4a66f Eliminate recently introduced reflection warnings 2012-02-19 05:32:50 +04:00
Michael S. Klishin
4a0fb343ec Commit unsaved change 2012-02-18 19:04:56 +04:00
Michael S. Klishin
345ee691eb Introduce monger.collection/remove-by-id 2012-02-18 19:02:43 +04:00
Michael S. Klishin
fdcad90cd8 Introduce monger.collection/update-by-id 2012-02-18 18:56:34 +04:00
Michael S. Klishin
6c1dcdcc89 One more copyright header update [ci skip] 2012-02-18 16:31:39 +04:00
Michael S. Klishin
88f8789093 Update license headers [ci skip] 2012-02-18 16:30:36 +04:00
Michael S. Klishin
50f5f8bbdf Add mailing list to project.clj [ci skip] 2012-02-18 16:27:33 +04:00
Michael S. Klishin
31a6b06c1f Change log update [ci skip] 2012-02-18 16:01:43 +04:00
Michael S. Klishin
13135c10dd Make sure that tests that perform authentication and drop databases do not affect authentication tests
Fixes the build.
2012-02-18 15:59:33 +04:00
Michael S. Klishin
e29655a7fd Cosmetics 2012-02-18 15:46:18 +04:00
Michael Klishin
1494cc5ad4 Merge pull request #11 from tobyhede/b51aae652403e98c4979191bfda60a776272836f
monger.db namespace and funcs
2012-02-18 03:43:06 -08:00
Michael S. Klishin
5a611c6a52 Update changelog [ci skip] 2012-02-18 15:22:05 +04:00
Michael Klishin
8e3c9f1085 Merge pull request #10 from tobyhede/mainline
amend find-map-by-id to accept fields as 3rd parameter
2012-02-18 03:16:35 -08:00
Toby Hede
157cbc698f amend find-map-by-id to accept fields as 3rd parameter
fix atomic update tests that broke … being passed fields as the param, but mismatch in api
2012-02-18 21:57:45 +11:00
Toby Hede
b51aae6524 clarified documentation for drop-database 2012-02-18 12:18:03 +11:00