{"push_id":818749860,"size":21,"distinct_size":14,"ref":"refs/heads/publishing_api_v2_endpoints","head":"9b2dc8e6642aeb5434d000c00eefcd3f628ff8b4","before":"27cfdfe93550a3b8f65171c934e9769346443876","commits":[{"sha":"c9daf741ef56a82a2a195b30a3c442f2b5f7680c","author":{"email":"eef16ec869f7c47862e858ad0bde918d09cef193@digital.cabinet-office.gov.uk","name":"David Heath"},"message":"Coding style: explicitly mention &block in args","distinct":false,"url":"https://api.github.com/repos/alphagov/publishing-api/commits/c9daf741ef56a82a2a195b30a3c442f2b5f7680c"},{"sha":"a7af62a295814ae568c34bcff4586745bc33b57d","author":{"email":"eef16ec869f7c47862e858ad0bde918d09cef193@digital.cabinet-office.gov.uk","name":"David Heath"},"message":"Tighten up detection of retry scenario\n\nWe were getting an error checking for `item.persisted?` in the exception\nhandler because it was nil. It wasn't clear how that could happen, but\nin order to avoid this possibility, only apply the exception handling\nbehaviour in the specific scenario of a new item being saved.","distinct":false,"url":"https://api.github.com/repos/alphagov/publishing-api/commits/a7af62a295814ae568c34bcff4586745bc33b57d"},{"sha":"f9d1088e50edaf455084bccd4ba6bd7b1e3f9112","author":{"email":"3d0f3b9ddcacec30c4008c5e030e6c13a478cb4f@roseman.org.uk","name":"Daniel Roseman"},"message":"Merge pull request #74 from alphagov/defensive-programming-in-exception-handler\n\nDefensive programming in exception handler","distinct":false,"url":"https://api.github.com/repos/alphagov/publishing-api/commits/f9d1088e50edaf455084bccd4ba6bd7b1e3f9112"},{"sha":"46f53722560b8acf32be89b82dd6fcabc325b323","author":{"email":"eef16ec869f7c47862e858ad0bde918d09cef193@digital.cabinet-office.gov.uk","name":"David Heath"},"message":"Rescue the more specific error class\n\nActiveRecord actually raises a `ActiveRecord::RecordNotUnique` so\nthere's no need to rescue the error and then check its original type.\n\nAlso refactored to use a retry strategy which avoids repeating the\nimplementation of the code which is surrounded by error handling (so\nwe're less likely to make a mistake where they could be different).","distinct":false,"url":"https://api.github.com/repos/alphagov/publishing-api/commits/46f53722560b8acf32be89b82dd6fcabc325b323"},{"sha":"63b79f2d67a3dacfd41791e44a1392676bac0f28","author":{"email":"3d0f3b9ddcacec30c4008c5e030e6c13a478cb4f@roseman.org.uk","name":"Daniel Roseman"},"message":"Merge pull request #75 from alphagov/further-improvements-to-error-handling\n\nRescue the more specific error class","distinct":false,"url":"https://api.github.com/repos/alphagov/publishing-api/commits/63b79f2d67a3dacfd41791e44a1392676bac0f28"},{"sha":"993f72436ed5a878220f3adee71fff75928d0df6","author":{"email":"eef16ec869f7c47862e858ad0bde918d09cef193@digital.cabinet-office.gov.uk","name":"David Heath"},"message":"Serialise errors correctly\n\nour pact tests expect errors to be serialised with a nested error hash\nstructure matching this pattern:\n\n{\n  \"error\" => {\n    \"code\" => nnn,\n    \"message\" => \"some message\",\n  }\n}\n\nadjust the standard error serialisation and tests to match this.","distinct":false,"url":"https://api.github.com/repos/alphagov/publishing-api/commits/993f72436ed5a878220f3adee71fff75928d0df6"},{"sha":"d837a04aeb4716682067dc8e4b48cad740436a7e","author":{"email":"3d0f3b9ddcacec30c4008c5e030e6c13a478cb4f@roseman.org.uk","name":"Daniel Roseman"},"message":"Merge pull request #76 from alphagov/generate-error-responses-correctly\n\nSerialise errors correctly","distinct":false,"url":"https://api.github.com/repos/alphagov/publishing-api/commits/d837a04aeb4716682067dc8e4b48cad740436a7e"},{"sha":"4049e285981f7d098ef5c3e640a6003519fcf192","author":{"email":"eef16ec869f7c47862e858ad0bde918d09cef193@digital.cabinet-office.gov.uk","name":"David Heath"},"message":"Implement v2 put content (without links) endpoint\n\nWe need to support the storing of content without\nthe links hash as this is being handled by another\nendpoint without the same restrictions around\nworkflow.\n\nThe first pass of this implementation was by\n@heathd and followed up by @tuzz and @elliotcm.","distinct":true,"url":"https://api.github.com/repos/alphagov/publishing-api/commits/4049e285981f7d098ef5c3e640a6003519fcf192"},{"sha":"04668a090214b890af06bab86e306866279a6f51","author":{"email":"711c73f64afdce07b7e38039a96d2224209e9a6c@patuzzo.co.uk","name":"Chris Patuzzo"},"message":"This isn't used","distinct":true,"url":"https://api.github.com/repos/alphagov/publishing-api/commits/04668a090214b890af06bab86e306866279a6f51"},{"sha":"7bef257ce5c833a88328c8aef36e1f5c8ec0ecd3","author":{"email":"711c73f64afdce07b7e38039a96d2224209e9a6c@patuzzo.co.uk","name":"Chris Patuzzo"},"message":"Auto-Symbolise json when reading from database\n\nThis gets very confusing when you have a model\nwhere some of the fields are JSON. We decided to\nstandardise on symbols as keys.","distinct":true,"url":"https://api.github.com/repos/alphagov/publishing-api/commits/7bef257ce5c833a88328c8aef36e1f5c8ec0ecd3"},{"sha":"dafdbabee5c5949f1bfe67e924fbf0207332a81c","author":{"email":"711c73f64afdce07b7e38039a96d2224209e9a6c@patuzzo.co.uk","name":"Chris Patuzzo"},"message":"Verify high-level behaviour of /v2/content","distinct":true,"url":"https://api.github.com/repos/alphagov/publishing-api/commits/dafdbabee5c5949f1bfe67e924fbf0207332a81c"},{"sha":"ddefcd2f00a1066266fd58b7df8ed63ed5fc2634","author":{"email":"711c73f64afdce07b7e38039a96d2224209e9a6c@patuzzo.co.uk","name":"Chris Patuzzo"},"message":"Let me specify the request method...\n\nWe need to support GET requests for content_items","distinct":true,"url":"https://api.github.com/repos/alphagov/publishing-api/commits/ddefcd2f00a1066266fd58b7df8ed63ed5fc2634"},{"sha":"9699a8ae9dacce0fcbe8e057f6624f424a16134f","author":{"email":"711c73f64afdce07b7e38039a96d2224209e9a6c@patuzzo.co.uk","name":"Chris Patuzzo"},"message":"Retrieve content items via a Query object","distinct":true,"url":"https://api.github.com/repos/alphagov/publishing-api/commits/9699a8ae9dacce0fcbe8e057f6624f424a16134f"},{"sha":"389c2e489d5b7950249896cffa0de54fdcb84ec9","author":{"email":"711c73f64afdce07b7e38039a96d2224209e9a6c@patuzzo.co.uk","name":"Chris Patuzzo"},"message":"Return an error object when no content_item is found","distinct":true,"url":"https://api.github.com/repos/alphagov/publishing-api/commits/389c2e489d5b7950249896cffa0de54fdcb84ec9"},{"sha":"4cf0f1d074ded549f720eafd4937bb039d69682f","author":{"email":"711c73f64afdce07b7e38039a96d2224209e9a6c@patuzzo.co.uk","name":"Chris Patuzzo"},"message":"Break apart the assertions of \"returns_200_response\"...\n\nThis promotes reusability of this method for cases\nwhere the response body differs from that of the\nrequest's.","distinct":true,"url":"https://api.github.com/repos/alphagov/publishing-api/commits/4cf0f1d074ded549f720eafd4937bb039d69682f"},{"sha":"3790945ccc1906f8659c8e3b9e4e91ad916cbf27","author":{"email":"711c73f64afdce07b7e38039a96d2224209e9a6c@patuzzo.co.uk","name":"Chris Patuzzo"},"message":"New endpoint: GET /v2/content/:content_id","distinct":true,"url":"https://api.github.com/repos/alphagov/publishing-api/commits/3790945ccc1906f8659c8e3b9e4e91ad916cbf27"},{"sha":"30a0de9a5730cbb994d1c923dfa2f6a0cad0fa7d","author":{"email":"711c73f64afdce07b7e38039a96d2224209e9a6c@patuzzo.co.uk","name":"Chris Patuzzo"},"message":"This isn't used","distinct":true,"url":"https://api.github.com/repos/alphagov/publishing-api/commits/30a0de9a5730cbb994d1c923dfa2f6a0cad0fa7d"},{"sha":"598be15d8c572144ed320d28d23668f6efbb3f66","author":{"email":"711c73f64afdce07b7e38039a96d2224209e9a6c@patuzzo.co.uk","name":"Chris Patuzzo"},"message":"Protect tests from bleeding stubs","distinct":true,"url":"https://api.github.com/repos/alphagov/publishing-api/commits/598be15d8c572144ed320d28d23668f6efbb3f66"},{"sha":"bb65737cf4ccba8dcbc006befec91db79307c8d6","author":{"email":"711c73f64afdce07b7e38039a96d2224209e9a6c@patuzzo.co.uk","name":"Chris Patuzzo"},"message":"Verify that content updates follow the pact","distinct":true,"url":"https://api.github.com/repos/alphagov/publishing-api/commits/bb65737cf4ccba8dcbc006befec91db79307c8d6"},{"sha":"4da747448f4c5609f0bf46f0058bb85974408b9e","author":{"email":"711c73f64afdce07b7e38039a96d2224209e9a6c@patuzzo.co.uk","name":"Chris Patuzzo"},"message":"Handle error cases for URL Arbiter","distinct":true,"url":"https://api.github.com/repos/alphagov/publishing-api/commits/4da747448f4c5609f0bf46f0058bb85974408b9e"}]}