Commit graph

456 commits

Author SHA1 Message Date
Michael S. Klishin
acdaffba99 Add $regex and $options operator macros 2012-05-25 14:39:35 +04:00
Michael S. Klishin
ca67d9f4cb One more test case 2012-05-22 18:54:53 +04:00
Michael S. Klishin
0db4bc6e11 Minor docstring improvements 2012-05-22 18:46:15 +04:00
Michael S. Klishin
6c777385d6 Back to snapshot 2012-05-21 15:47:53 +04:00
Michael S. Klishin
eac8a110ee 1.0.0-beta7 2012-05-21 15:46:08 +04:00
Michael S. Klishin
5a68bcebf7 Merge branch 'master' of github.com:michaelklishin/monger 2012-05-21 03:46:34 +04:00
Michael S. Klishin
fb1083bf4e Support 0.4.0 2012-05-21 03:45:37 +04:00
Michael Klishin
5bff9cacf2 Merge pull request #26 from ghoseb/master
Use `alter-var-root` instead of `def` in set-write-concern!.
2012-05-15 05:32:17 -07:00
Baishampayan Ghose
79fa31304a Use alter-var-root instead of def in set-write-concern!.
Using `def` there is unnecessary and redundant.
2012-05-15 17:31:04 +05:30
Michael S. Klishin
a0b683e23b Change log update, references #25 2012-05-15 10:11:50 +04:00
Michael Klishin
7b9a4594d9 Merge pull request #25 from ghoseb/master
Add support for connecting to Replica Sets.
2012-05-14 23:08:10 -07:00
Baishampayan Ghose
75fd7f5c91 Add support for connecting to Replica Sets.
Monger can now connect to replica sets using one or more seeds when
calling monger.core/connect with a vector (or list) of server-addresses
instead of just a single one.

For example -

;; Connect to a single MongoDB instance
(connect (server-address "127.0.0.1" 27017) (mongo-options))

;; Connect to a replica set
(connect [(server-address "127.0.0.1" 27017)
          (server-address "127.0.0.1" 27018)]
         (mongo-options))

Since connect! just applies connect to all the args, it works fine there
as well.
2012-05-15 11:33:40 +05:30
Michael S. Klishin
0b4804c363 Merge branch 'ring-session-store' 2012-05-14 16:13:03 +04:00
Michael S. Klishin
6e6f04e292 Use explicitly specified collection name in tests 2012-05-14 16:11:33 +04:00
Michael S. Klishin
87184af396 Initial Ring session store implementation 2012-05-14 16:10:55 +04:00
Michael S. Klishin
0f1debd4f3 Support 0.3.1 2012-05-14 13:08:46 +04:00
Michael S. Klishin
a318f7cbc0 Back to SNAPSHOT 2012-05-14 10:20:30 +04:00
Michael S. Klishin
3d5835cdf3 1.0.0-beta6 2012-05-14 10:19:17 +04:00
Michael Klishin
008460e327 Merge pull request #23 from ghoseb/master
Remove redundant invocation of `to-db-object` on top of `as-field-selector`.
2012-05-12 01:52:35 -07:00
Baishampayan Ghose
43cddbcf57 Remove redundant invocation of to-db-object on top of as-field-selector.
`as-field-selector` already returns a DBObject, so there is no need to call `to-db-object` on top of the return value.
2012-05-12 11:00:33 +05:30
Michael S. Klishin
1d54e00a4d Change log update, copyright header update 2012-05-12 07:44:40 +04:00
Baishampayan Ghose
ccd3d7ab66 Add monger.collection/find-and-modify and associated tests. 2012-05-12 09:02:19 +05:30
Michael S. Klishin
2228a6dcbe How about you don't stop writing tests in the middle, Michael? 2012-05-03 19:55:06 +04:00
Michael S. Klishin
8142d02f01 Deprecate monger.js (moved to clojurewerkz.support.js) 2012-05-03 01:06:41 +04:00
Michael S. Klishin
451b29c718 Update change log 2012-05-02 00:19:16 +04:00
Michael S. Klishin
a47d53d5ca Use Validateur 1.1.0 2012-05-02 00:18:50 +04:00
Michael S. Klishin
d04ab3af2d More cleanup 2012-05-01 16:35:33 +04:00
Michael S. Klishin
971b2e230c More test suite cleanup 2012-05-01 16:29:58 +04:00
Michael S. Klishin
ef2af245e7 Link to clojurewerkz.org, correct a typo 2012-05-01 15:50:32 +04:00
Michael S. Klishin
7e5beb4cbb New beta cycle 2012-04-29 18:45:39 +04:00
Michael S. Klishin
a8b93be199 The recommended way of using Codox now is via Leiningen plugin 2012-04-29 18:38:28 +04:00
Michael S. Klishin
ea1e611ccf Back to snapshot 2012-04-29 18:24:11 +04:00
Michael S. Klishin
e6add85795 1.0.0-beta5 2012-04-29 18:23:28 +04:00
Michael S. Klishin
b1c6865dcd Link to upcoming documentation site [ci skip] 2012-04-28 21:31:33 +04:00
Michael S. Klishin
8d2c3d6081 Use clj-time 0.4.2 which does not spill reflection warnings like crazy 2012-04-26 21:15:29 +04:00
Michael S. Klishin
c36a0abe8c Use clojurewerkz.support 0.2.0 2012-04-26 21:14:48 +04:00
Michael S. Klishin
d92112e135 Remove unused imports 2012-04-26 20:41:37 +04:00
Michael S. Klishin
5341344e97 Remove type hints that are not guaranteed to be correct 100% of the time 2012-04-24 09:38:21 +04:00
Michael S. Klishin
1e342335b4 Update change log 2012-04-23 15:02:31 +04:00
Michael S. Klishin
444017fde2 Define several more operators 2012-04-23 15:01:13 +04:00
Michael S. Klishin
6a2698dce2 Support serialization of Clojure sets (or anything that implements java.util.Set) 2012-04-16 02:32:28 +04:00
Michael S. Klishin
5c62e47de7 Add an example that inserts a document with Clojure keywords as values 2012-04-16 01:14:26 +04:00
Michael S. Klishin
379fb73795 Guard one more test that relies on authentication/ordering 2012-04-16 00:44:08 +04:00
Michael S. Klishin
29d97f611d Try excluding the test that drops databases from CI 2012-04-16 00:41:43 +04:00
Michael S. Klishin
c970a60765 Remove some assertions that do not really test anything in the client 2012-04-16 00:38:26 +04:00
Michael S. Klishin
d6adb6c0e5 Test against 1 Clojure version on travis-ci.org until we figure out how to reseed credentials after DB is dropped 2012-04-16 00:36:13 +04:00
Michael S. Klishin
84a75d02bb Add Clojure releases Maven repo 2012-04-15 20:05:45 +04:00
Michael S. Klishin
7108cffa8b Clojure 1.4.0 2012-04-15 19:51:33 +04:00
Michael S. Klishin
ceeac55496 A more efficient implementation of clojure.core.cache/has? for BasicMongerCache 2012-04-12 17:12:08 +04:00
Michael S. Klishin
90c2864ddd Reflect capped collections support in the change log 2012-04-12 06:12:07 +04:00