Commit graph

539 commits

Author SHA1 Message Date
Michael S. Klishin
723ac2503b Doc string correction 2012-06-29 12:20:08 +04:00
Michael S. Klishin
5e955a25bf Now working on 1.0.1-SNAPSHOT 2012-06-26 13:43:43 +04:00
Michael S. Klishin
1bc31f20c0 Prepare for the next 1.0.x iteration 2012-06-26 13:43:26 +04:00
Michael S. Klishin
133448090c README update 2012-06-26 13:41:19 +04:00
Michael S. Klishin
3a830ad2e9 1.0.0
11 months in the making!
2012-06-26 13:37:56 +04:00
Michael S. Klishin
dc7a8fd6ec Extend DBObject conversion protocol for more JodaTime types 2012-06-26 13:23:16 +04:00
Michael S. Klishin
c2a56cbf77 ...and as part of converting an entire map 2012-06-23 19:36:14 +04:00
Michael S. Klishin
53854254e4 Cover conversion of booleans separately 2012-06-23 19:34:49 +04:00
Michael S. Klishin
76efdc7e7b Add a clause for booleans per discussion on the mailing list 2012-06-23 19:16:42 +04:00
Michael S. Klishin
f9fa17f572 Add a new test, more spring cleanup before 1.0.0 2012-06-23 19:11:54 +04:00
Michael S. Klishin
326af3ef5a Merge branch 'master' of github.com:michaelklishin/monger 2012-06-20 23:58:11 +04:00
Michael S. Klishin
0ab1e7639f Depend on MongoDB Java driver 2.8
Recommended by one of the 10gen engineers to improve lock contention in
write-heavy apps.
2012-06-20 10:13:20 +04:00
Michael Klishin
651db263aa Update master 2012-06-19 12:37:56 +04:00
Michael S. Klishin
7009c9389b Hint link to Ragtime now that we integrate with it 2012-06-19 12:26:32 +04:00
Michael S. Klishin
8fd871ff11 Merge branch 'master' of github.com:michaelklishin/monger 2012-06-19 12:25:30 +04:00
Michael S. Klishin
1fb6bea360 Back to snapshot 2012-06-19 12:24:51 +04:00
Michael S. Klishin
3a114172bc 1.0.0 RC2 2012-06-19 12:23:58 +04:00
Michael S. Klishin
fb331264ea Bump clojure.core.cache version so that it does not bleed reflection warnings 2012-06-19 12:21:50 +04:00
Michael S. Klishin
2fc81a8180 More robust test, does not depend on test run order and concurrently running tests 2012-06-19 12:21:28 +04:00
Michael S. Klishin
0a2fdc8cc3 Ragtime migrations adapter 2012-06-19 12:18:43 +04:00
Michael S. Klishin
d68b57511c More helpful exception message 2012-06-18 05:18:36 +04:00
Michael S. Klishin
b5b35baabb Correct mailing list name 2012-06-18 03:08:14 +04:00
Michael S. Klishin
e34340bbaa Back to CI profile for CI 2012-06-16 06:48:49 +04:00
Michael S. Klishin
2df0b911f2 Revert "No more need for a separate CI profile"
This reverts commit da45e6140c.

There is something funky going on with either Sonatype snapshots or Clojure
master snapshots publishing
2012-06-16 06:47:59 +04:00
Michael S. Klishin
92a262ff8a A typo 2012-06-14 19:55:02 +04:00
Michael S. Klishin
6f25f1bc45 Correct type hint 2012-06-14 19:33:36 +04:00
Michael S. Klishin
a3d581725c Merge branch 'master' of github.com:michaelklishin/monger 2012-06-14 19:30:35 +04:00
Michael S. Klishin
da45e6140c No more need for a separate CI profile
1.5-snapshot-MASTER jars once failed to resolve on travis-ci.org because we did not have Sonatype OSS
repo set up (Clojure snapshots are now published there)
2012-06-14 19:29:48 +04:00
Michael S. Klishin
3a948667d5 Fight Java with Java
Make our own version of DBRef that is exactly like the original but has one extra constructor and
implements clojure.lang.IDeref so it is possible to @dereference such refs.

This is only one small step in a proper, Clojuric, easy to use DBRef support. We may tack more Monger-specific
extensions to our DBRef implementation later.

As sang by Jetallica:

Do unto others as they have done unto you
but what in the hell is this world coming to?

Blow the universe into nothingness
nuclear warfare shall lay us to rest

Fight Java with Java
ending is near
fight Java with Java
bursting with fear
2012-06-14 19:28:40 +04:00
Michael S. Klishin
c172737816 Document that monger.testkit is still experimental and will have breaking changes 2012-06-14 18:36:44 +04:00
Michael S. Klishin
b634951812 src/monger => src/clojure/monger 2012-06-14 18:33:42 +04:00
Michael S. Klishin
ff2d095402 Cover insertion of DBRefs
Apparently, they are not deprecated and there is real interest in Monger supporting them
2012-06-14 18:32:07 +04:00
Michael Klishin
207167b07d Update master 2012-06-14 16:56:10 +04:00
Michael S. Klishin
787d2d299d Don't seq the underlying cursor in the query DSL
map will work over the cursor itself because it is Iterable. This both avoids silly NPEs and
follows the common sense of finder functions: they must return an empty sequence when there
are no results, not nil.
2012-06-14 15:08:05 +04:00
Michael S. Klishin
4ce56573cb Minor README update 2012-06-13 04:37:30 +04:00
Michael S. Klishin
11eda8d150 Support 0.5.0 2012-06-11 16:59:36 +04:00
Michael S. Klishin
4df673d127 Make it possible to pass fields to index as any collection (not just map) 2012-06-11 00:06:13 +04:00
Michael S. Klishin
52c5e15008 Cosmetics 2012-06-10 12:49:37 +04:00
Michael S. Klishin
bb5cfdc499 In Monger this fn is supposed to be public 2012-06-10 12:37:29 +04:00
Michael S. Klishin
75bb240af9 Add monger.collection/system-collection?, a convenience function
We don't add it to the change log because the majority of apps won't use it and
it is not an important change between RC1 and RC2 (or what may even be 1.0).
2012-06-10 12:35:52 +04:00
Michael S. Klishin
e481b1ca84 Add more assertions to the URI connection test 2012-06-10 11:25:40 +04:00
Michael S. Klishin
805a66e9c1 Back to snapshot 2012-06-09 12:13:36 +04:00
Michael S. Klishin
e00fa84f1b 1.0.0-rc1 2012-06-09 12:12:37 +04:00
Michael S. Klishin
8ed6665a78 Update change log 2012-06-09 11:25:52 +04:00
Michael S. Klishin
898349f95a A couple more convenience functions 2012-06-09 11:25:48 +04:00
Michael S. Klishin
12f48b058b Remove type hints that can be inferred by the compiler, part 3 2012-06-09 00:36:07 +04:00
Michael S. Klishin
5813f61649 Eliminate this reflection warning
Unfortunately, because Java driver's return type is so generic (Iterable),
we have to do it by type hinting what is really returned as the result set
(by inspecting the Java driver code paths).
2012-06-09 00:33:55 +04:00
Michael S. Klishin
e008e0d18d Remove type hints that can be inferred by the compiler, part 2 2012-06-09 00:26:23 +04:00
Michael S. Klishin
423b80774a Remove type hints that can be inferred by the compiler, part 1 2012-06-09 00:23:01 +04:00
Michael S. Klishin
91d967b592 Inlining, part 2 2012-06-09 00:20:55 +04:00