Commit graph

1158 commits

Author SHA1 Message Date
Michael Klishin
57fb96a1b7 Upgrade to Codox 0.9.0 2015-12-20 02:11:15 +03:00
Michael Klishin
47d20761c5 Merge pull request #121 from Deraen/master
Add changelog entry for from-db-object perf improvement
2015-10-09 14:52:47 +03:00
Juho Teperi
50a8963ba2 Add changelog entry for from-db-object perf improvement 2015-10-09 12:56:43 +03:00
Michael Klishin
2856631638 Merge pull request #120 from Deraen/improve-from-db-object-perf
Improve from db object perf
2015-10-09 00:58:42 +03:00
Juho Teperi
1299e5e5ff Remove from-db-object implementation for Map
It should be enough that from-db-object is implemented for DBObject
2015-10-09 00:49:28 +03:00
Juho Teperi
cf3d8f2ad3 Fix test cases cases trying to compare db-objects and maps 2015-10-09 00:48:57 +03:00
Juho Teperi
15edf63ffd Fix test cases with bad = forms 2015-10-09 00:24:29 +03:00
Juho Teperi
c26ae0835d Optimize from-db-object performance for DBObjects
Creating temporary sequence from DBObject is quite slow. Using
.keySet for reduce collection and calling .get inside reduce is
considerably faster. The common code between Map and DBObject
implementations can't be shared as reflection would completely kill the
performance and function can't be type hinted as DBObject doesn't
implement Map interface.

Added a simple test case for the from-db-object performance. I'm seeing
performance increase of 20% on this (170ms -> 140ms).
2015-10-08 22:59:47 +03:00
Juho Teperi
fe73144075 Fix map comparisons and rename test case
Two tests had the same name so only the latter was ran
2015-10-08 22:42:06 +03:00
Michael Klishin
2dc5e92b0c Merge pull request #119 from tommireinikainen/update-contributing-md
Minor updates to CONTRIBUTING.md
2015-09-25 03:24:39 -07:00
Tommi Reinikainen
286493463b add note to run before_script before tests, remove MongoDB version, fix Leiningen link 2015-09-25 10:03:28 +03:00
Michael Klishin
aec51c03f4 MongoDB Java driver 3.0.4 2015-09-25 01:50:27 +03:00
Michael Klishin
4e9f041ce9 Install MongoDB 3.0 before running tests 2015-09-25 01:45:38 +03:00
Michael Klishin
f24ee77730 Make this script executable 2015-09-25 01:44:48 +03:00
Michael Klishin
9928652b79 MongoDB installation script 2015-09-25 01:44:24 +03:00
Michael Klishin
56d16a4cee Test 3.0.x, 2.1.x is no longer maintained 2015-09-25 01:31:23 +03:00
Michael Klishin
a500638891 Print MongoDB version on Travis 2015-09-25 01:31:11 +03:00
Michael Klishin
8bce5ae8ed 3.0.1 is out 2015-09-25 01:28:30 +03:00
Michael Klishin
2dc924faf4 Update change log 2015-09-25 01:28:21 +03:00
Artem Chistyakov
8316e7798e Don’t forget to pass credentials to MongoClient
It looks like provided credentials are ignored unless `server-address` is a collection.
2015-09-18 16:07:01 -04:00
Michael Klishin
5f53732719 Merge pull request #114 from stereoderevo/Keywordise_find_maps
Keywordise find maps
2015-08-25 19:01:15 +03:00
Andrei Biasprozvanny
ee0c3dbede Updated Readme to include before-script.sh when running the tests 2015-08-25 16:50:35 +01:00
Andrei Biasprozvanny
ebc01b3f54 Find-maps now supports keywordize option 2015-08-25 16:48:17 +01:00
Andrei Biasprozvanny
f1fff71577 Add IntelliJ files to .gitignore 2015-08-25 16:16:29 +01:00
Michael Klishin
e0c632f0d3 Test against Clojure 1.8.0-alpha4 2015-08-09 15:44:17 +03:00
Michael Klishin
f3cff7a52a Test against Clojure 1.8.0-alpha3 2015-08-01 02:51:15 +03:00
Michael Klishin
fc4a34b87f Update change log 2015-08-01 02:47:12 +03:00
Michael Klishin
76cd30d79c Java driver 3.0.03 2015-08-01 02:46:15 +03:00
Michael Klishin
6c1489e1ef Merge pull request #111 from ebaxt/master
Monger calls removed com.mongodb.MongoClientOptions$Builder methods
2015-07-23 00:53:58 +03:00
Erik Bakstad
d9b103c350 Removed call to removed MongoClientOptions.Builder methods 2015-07-22 21:38:41 +02:00
Erik Bakstad
43994ff19a Failing test that calls removed MongoClientOptions.Builder methods 2015-07-22 21:36:42 +02:00
Michael Klishin
95d0145a0b Test against Clojure 1.8.0-alpha2 2015-07-18 03:39:39 +03:00
Michael Klishin
800d02839c 3.0.0 is out 2015-07-16 23:38:08 +03:00
Michael Klishin
ec5590fd56 Back to dev version 2015-07-16 23:38:08 +03:00
Michael Klishin
7e111a332e 3.0.0 2015-07-16 23:38:08 +03:00
Michael Klishin
19613b6e01 Bump Cheshire to 5.5.0 2015-07-16 23:38:08 +03:00
Michael Klishin
c1597b1c9a Make this test order independent 2015-07-16 23:38:08 +03:00
Michael Klishin
478efa092d Bump clojure.data.json to 0.2.6 2015-07-16 23:38:08 +03:00
Michael Klishin
ac90956f92 Don't test against clojure.data.json 0.1.x 2015-07-16 23:38:08 +03:00
Michael Klishin
1da1dab013 Test against 1.6 via a profile, drop 1.5 support 2015-07-16 23:38:07 +03:00
Michael Klishin
80cadd54c4 Depend on Clojure 1.7 2015-07-16 23:37:34 +03:00
Michael Klishin
b4ea572293 Clojure master is now 1.8.0-master-SNAPSHOT 2015-07-12 01:16:03 +03:00
Michael Klishin
ae2ac84921 Test against Clojure 1.7.0 GA 2015-07-12 01:07:23 +03:00
Michael Klishin
0891a9ded7 Update change log 2015-06-27 23:24:26 +03:00
Michael Klishin
51baa3e154 Adhere to the existing code style 2015-06-27 23:16:11 +03:00
Michael Klishin
1717bdac9e rc2 is out 2015-06-27 23:10:46 +03:00
Michael Klishin
7f74d16a36 Test against Clojure 1.7.0-RC2 2015-06-27 23:10:24 +03:00
Michael Klishin
2cd8c0c6a0 Back to dev version 2015-06-27 23:08:46 +03:00
Michael Klishin
ceed6f85c5 3.0.0-rc2 2015-06-27 23:06:48 +03:00
Michael Klishin
4ff7d05aa4 monger.credentials/for => monger.credentials/create
To make sure we don't shadow clojure.core/for when monger.credentials
is required with :refer :all.
2015-06-27 22:39:01 +03:00