Commit graph

866 commits

Author SHA1 Message Date
Michael S. Klishin
f0d190cff7 Support conversion of Clojure ratios to MongoDB data types
We go with doubles because it is the only realistic solution that is
interoperable with all other technologies. Plus, Clojure ratios are just
lazily evaluated doubles anyway.
2012-04-02 12:14:24 +04:00
Michael S. Klishin
59b32e119c Test against Clojure 1.4.0-beta6 2012-04-02 12:13:05 +04:00
Michael S. Klishin
60a14e62e7 One more test to serve as example 2012-03-22 01:28:21 +04:00
Michael S. Klishin
1db1e04b0a monger.testing => monger.testkit
If nothing else, this will save everyone some headaches trying to figure out
conflicts between testing the namespace alias and clojure.test/testing (the function)
2012-03-21 19:36:48 +04:00
Michael S. Klishin
daae562085 Add core.cache to the :dev profile 2012-03-20 23:28:02 +04:00
Michael S. Klishin
d0f386695e Clojure 1.4.0-beta5 2012-03-20 19:01:49 +04:00
Michael S. Klishin
55a78d55b3 Switch to using Leiningen 2 aliases 2012-03-13 21:38:42 +04:00
Michael S. Klishin
5df187c596 Migrate to Leiningen 2 2012-03-10 22:13:39 +04:00
Michael S. Klishin
cedfecbbbd Introduce monger.testing/memoized-oid (convenience function for defining referenced associations) 2012-03-08 12:18:02 +04:00
Michael S. Klishin
425327aafa Introduce monger.testing/seed-all 2012-03-07 13:02:59 +04:00
Michael S. Klishin
dfb7bd3fc8 Remember object ids of inserted documents 2012-03-07 11:33:32 +04:00
Michael S. Klishin
3f64310b03 Another README update [ci skip] 2012-03-07 10:42:50 +04:00
Michael S. Klishin
be2f2a32ff README update [ci skip] 2012-03-07 10:42:08 +04:00
Michael S. Klishin
f8f2ea4392 Update change log [ci skip] 2012-03-07 10:40:27 +04:00
Michael S. Klishin
28e24c9bcb Merge branch 'factories' 2012-03-07 10:22:05 +04:00
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