Removed MongoDB dependency by adding Flapdoodle embedded MongoDB. That allows us to get rid of the utility module we had in place for the MongoDB samples guarding the tests to only run when a MongoDB instance is running.
Tweaked Travis setup to not require the MongoDB service anymore.
Use a server-side script to simulate putIfAbsent(…) as contracted by the Map interface. The operation will be atomic since MongoDB will put a lock on database until the script is finished.
Remove online resources and just rely on local data. Though we had to keep the BlogPostInitializer for setting up the tests only using the template without repository support.
Original pull request: #18.
Make distance check in exposesGeoSpatialFunctionality test case more robust against
minor numeric differences. Travis CI seems to use an older Mongo DB version that produces a slightly different result than what we get.
Renamed the geo-spatial example to example only as it not only covers geo-spatial samples. Added advanced example to show the usage of the @Meta annotation.
Original pull request: #11.