{"push_id":940885059,"size":12,"distinct_size":8,"ref":"refs/heads/present-metrics-by-iso-weeks","head":"2520068e1b91d395946abcd7d19ac2df82f175fa","before":"bbcc49a81f1494b1f0d3122a92260b1354d41a43","commits":[{"sha":"0342fc587ec0bb24cea39d426cba6709343d21c9","author":{"email":"53237635563790ddc44f8cd7fa42a8eb8693bfdf@gmail.com","name":"Paul Battley"},"message":"Move admin pages under /en/\n\nThis means that we can say that all pages on the new app (with the\nexception of /ping.json and /healthcheck.json and the /pages/*id route\nused only internally to generate static pages) are under a locale prefix\nof either /en/ or /cy/, which simplifies routing to the old and new\napps during the parallel running period.","distinct":false,"url":"https://api.github.com/repos/ministryofjustice/prison-visits-2/commits/0342fc587ec0bb24cea39d426cba6709343d21c9"},{"sha":"cbd91fd927e550324227a9ff67b65c05f1cfec9b","author":{"email":"1d6e1cf70ec6f9ab28d3ea4b27a49a77654d370e@mloughran.com","name":"Martyn Loughran"},"message":"Merge pull request #111 from ministryofjustice/tidy-routes\n\nMove admin pages under /en/","distinct":false,"url":"https://api.github.com/repos/ministryofjustice/prison-visits-2/commits/cbd91fd927e550324227a9ff67b65c05f1cfec9b"},{"sha":"8e6d531d6e0185566a0f7ebec0c92cc139fc272f","author":{"email":"b1c1d8736f20db3fb6c1c66bb1455ed43909f0d8@mloughran.com","name":"Martyn Loughran"},"message":"Redirect /en etc. to /en/request","distinct":false,"url":"https://api.github.com/repos/ministryofjustice/prison-visits-2/commits/8e6d531d6e0185566a0f7ebec0c92cc139fc272f"},{"sha":"b7eb9909aa2d09d9f6354f12bcee87504a642e45","author":{"email":"1554dc8c01e026eaffd7614989b1c49b75633447@gmail.com","name":"Todd Tyree"},"message":"Merge pull request #113 from ministryofjustice/redirect_locale_base_paths\n\nRedirect /en etc. to /en/request","distinct":false,"url":"https://api.github.com/repos/ministryofjustice/prison-visits-2/commits/b7eb9909aa2d09d9f6354f12bcee87504a642e45"},{"sha":"fa071f8e42db80489cdb64ce6de285f6131f9f91","author":{"email":"1554dc8c01e026eaffd7614989b1c49b75633447@gmail.com","name":"Todd Tyree"},"message":"Change from schema.rb to struture.sql\n\nAs schema.rb does not capture views.","distinct":true,"url":"https://api.github.com/repos/ministryofjustice/prison-visits-2/commits/fa071f8e42db80489cdb64ce6de285f6131f9f91"},{"sha":"52239c9ff19f5f9938ccb84af4816c70dbcdc60c","author":{"email":"1554dc8c01e026eaffd7614989b1c49b75633447@gmail.com","name":"Todd Tyree"},"message":"Add visit counting views\n\nUse migrations to store a set of view to be used for various visit\ncounting tasks.","distinct":true,"url":"https://api.github.com/repos/ministryofjustice/prison-visits-2/commits/52239c9ff19f5f9938ccb84af4816c70dbcdc60c"},{"sha":"6f8ccea2d304aa481b838124e052d94392000533","author":{"email":"1554dc8c01e026eaffd7614989b1c49b75633447@gmail.com","name":"Todd Tyree"},"message":"Count visits and facet with various attributes\n\nCount and group visits in various ways using database views stored via\nmigrations and accessed by specialist ActiveRecord-based models. These\nmodels are stored in `serivces/metrics.rb` and are there to provide a\na consistent and simple set of  methods of accessing the views.","distinct":true,"url":"https://api.github.com/repos/ministryofjustice/prison-visits-2/commits/6f8ccea2d304aa481b838124e052d94392000533"},{"sha":"d1ae4c43a8cfde90e8d41747d7e2c4d48e25840c","author":{"email":"1554dc8c01e026eaffd7614989b1c49b75633447@gmail.com","name":"Todd Tyree"},"message":"Move metrics into their own directory\n\nWhile they are notionally a service, it seems cleaner to isolate them\nthis way--especially with the API breakout looming.","distinct":true,"url":"https://api.github.com/repos/ministryofjustice/prison-visits-2/commits/d1ae4c43a8cfde90e8d41747d7e2c4d48e25840c"},{"sha":"871af184650fb8c0f2aedae3767446da46bb0a29","author":{"email":"1554dc8c01e026eaffd7614989b1c49b75633447@gmail.com","name":"Todd Tyree"},"message":"Clean up and try to make intent of method clearer\n\nPaul was confused about what `#hash_visit_data` did. We disucssed, but\ndid not arrive at a better alternative.  In the end, we agreed that the\nbest way to deal with it was to rename it and include a comment. The\nrenaming only gets you so far...","distinct":true,"url":"https://api.github.com/repos/ministryofjustice/prison-visits-2/commits/871af184650fb8c0f2aedae3767446da46bb0a29"},{"sha":"bf7d6cbd212d78431e7249f7ed162fda61b0df87","author":{"email":"1554dc8c01e026eaffd7614989b1c49b75633447@gmail.com","name":"Todd Tyree"},"message":"Rename the run method to make it clearer\n\nWe discussed, but didn't really come up with anything really\nsatisfactory for a new name.  This is the best of a bad bunch.","distinct":true,"url":"https://api.github.com/repos/ministryofjustice/prison-visits-2/commits/bf7d6cbd212d78431e7249f7ed162fda61b0df87"},{"sha":"122ef2b143f6fd48e02f27513fc1045a4e384984","author":{"email":"1554dc8c01e026eaffd7614989b1c49b75633447@gmail.com","name":"Todd Tyree"},"message":"Allow for aggregating counts for all prisons\n\nThe requirment is that counts should be available by calendar date for\nindividual prisons and for all prisons.  This allows count\naggregation under an 'all' key.\n\nI have also DRY'd out the factory girl methods for creating visits.","distinct":true,"url":"https://api.github.com/repos/ministryofjustice/prison-visits-2/commits/122ef2b143f6fd48e02f27513fc1045a4e384984"},{"sha":"2520068e1b91d395946abcd7d19ac2df82f175fa","author":{"email":"1554dc8c01e026eaffd7614989b1c49b75633447@gmail.com","name":"Todd Tyree"},"message":"Make the counter spec easier to understand\n\nI realised the spec explainations had become a little too hermenutic.\nThis makes them clearer.","distinct":true,"url":"https://api.github.com/repos/ministryofjustice/prison-visits-2/commits/2520068e1b91d395946abcd7d19ac2df82f175fa"}]}