{"push_id":1927331289,"size":1,"distinct_size":1,"ref":"refs/heads/remove-legacy-speech-type","head":"f40b5b6e9ce12d9c807c2c1f3aa61273316a5a31","before":"40ffe92610296b251e6a7685cf79cebae204282e","commits":[{"sha":"f40b5b6e9ce12d9c807c2c1f3aa61273316a5a31","author":{"name":"David Basalla","email":"be81edd2964eee99897c6f929fa3b5aeab8b285f@gmail.com"},"message":"Remove legacy Speech type\n\nThis SpeechType was added in 2012 (https://github.com/alphagov/whitehall/commit/bdbc7ac299cc5b73924c235b8f13bcb814b61345) and is fine to remove now. We do not ‘import’ Speeches anymore and there are no Speeches left in the prod db with this SpeechType, so all of this is redundant code.\n\nChecked the db with:\n\n```\nSpeech.all.map { |s| s.speech_type.singular_name }.uniq.sort\n=> [\"Authored article\", \"Draft text\", \"Oral statement to Parliament\", \"Speaking notes\", \"Transcript\", \"Written statement to Parliament\"]\n```","distinct":true,"url":"https://api.github.com/repos/alphagov/whitehall/commits/f40b5b6e9ce12d9c807c2c1f3aa61273316a5a31"}]}
{"actor":{"display_login":"davidbasalla"}}