{"push_id":1178771636,"size":32,"distinct_size":32,"ref":"refs/heads/refactor-state-pension-through-partner-to-new-style-flow","head":"4eaa96a2e96e15a51a134c3e47f90b9a2d27e6bd","before":"ec77375b6230ccdb7bd4cacf16b7dc9cbaf47fb3","commits":[{"sha":"9354bf388e55ed5eda071a4dc28fedd4d5f08a50","author":{"name":"James Mead","email":"01cfcc75cc77e42d1369b51ffa1aaa70069d0f46@floehopper.org"},"message":"Store when_will_your_partner_reach_pension_age on calculator attribute in on_response block","distinct":true,"url":"https://api.github.com/repos/alphagov/smart-answers/commits/9354bf388e55ed5eda071a4dc28fedd4d5f08a50"},{"sha":"fd7123148925acff7ca2b00275e60b65bbdbc2ca","author":{"name":"James Mead","email":"01cfcc75cc77e42d1369b51ffa1aaa70069d0f46@floehopper.org"},"message":"Use when_will_your_partner_reach_pension_age attribute instead of response","distinct":true,"url":"https://api.github.com/repos/alphagov/smart-answers/commits/fd7123148925acff7ca2b00275e60b65bbdbc2ca"},{"sha":"a08df534375dfb3385a6f4b488bd3531d3c0d915","author":{"name":"James Mead","email":"01cfcc75cc77e42d1369b51ffa1aaa70069d0f46@floehopper.org"},"message":"Extract partner_reached_pension_age_before/after_specific_date? calculator methods","distinct":true,"url":"https://api.github.com/repos/alphagov/smart-answers/commits/a08df534375dfb3385a6f4b488bd3531d3c0d915"},{"sha":"53101be45463d78003137bdd37828b680e231f1c","author":{"name":"James Mead","email":"01cfcc75cc77e42d1369b51ffa1aaa70069d0f46@floehopper.org"},"message":"Store gender on calculator attribute in on_response block","distinct":true,"url":"https://api.github.com/repos/alphagov/smart-answers/commits/53101be45463d78003137bdd37828b680e231f1c"},{"sha":"d6d00f82c38b5c70d347f87fdc96fbd2b0b8b241","author":{"name":"James Mead","email":"01cfcc75cc77e42d1369b51ffa1aaa70069d0f46@floehopper.org"},"message":"Use gender attribute instead of response","distinct":true,"url":"https://api.github.com/repos/alphagov/smart-answers/commits/d6d00f82c38b5c70d347f87fdc96fbd2b0b8b241"},{"sha":"56ee6e2649f0c6b4206d82333409ce0f706d010c","author":{"name":"James Mead","email":"01cfcc75cc77e42d1369b51ffa1aaa70069d0f46@floehopper.org"},"message":"Extract male? & female? calculator methods","distinct":true,"url":"https://api.github.com/repos/alphagov/smart-answers/commits/56ee6e2649f0c6b4206d82333409ce0f706d010c"},{"sha":"1524d32f18c069c4ea9642a6208e77cbb3968532","author":{"name":"James Mead","email":"01cfcc75cc77e42d1369b51ffa1aaa70069d0f46@floehopper.org"},"message":"Extract answers_part_1 calculate block into calculator method\n\nI've added the `_part_1` suffix, because there are other `calculate` blocks with\nthe same name.","distinct":true,"url":"https://api.github.com/repos/alphagov/smart-answers/commits/1524d32f18c069c4ea9642a6208e77cbb3968532"},{"sha":"113d68a91e18c54a5bf3d75d4d2750712da2a02f","author":{"name":"James Mead","email":"01cfcc75cc77e42d1369b51ffa1aaa70069d0f46@floehopper.org"},"message":"Extract answers_part_2 calculate block into calculator method\n\nI've added the `_part_2` suffix, because there are other `calculate` blocks with\nthe same name.","distinct":true,"url":"https://api.github.com/repos/alphagov/smart-answers/commits/113d68a91e18c54a5bf3d75d4d2750712da2a02f"},{"sha":"97e5c3c44110302cfff072fa0348fbb40d7b8c0e","author":{"name":"James Mead","email":"01cfcc75cc77e42d1369b51ffa1aaa70069d0f46@floehopper.org"},"message":"Extract answers_part_3 calculate block into calculator method\n\nI've added the `_part_3` suffix, because there are other `calculate` blocks with\nthe same name.","distinct":true,"url":"https://api.github.com/repos/alphagov/smart-answers/commits/97e5c3c44110302cfff072fa0348fbb40d7b8c0e"},{"sha":"482daf26349f26ffa4da08d3c295df1a7b47b89b","author":{"name":"James Mead","email":"01cfcc75cc77e42d1369b51ffa1aaa70069d0f46@floehopper.org"},"message":"Move calculator blocks to better represent their execution order\n\n`calculate` blocks are executed *after* `next_node_calculation` & `next_node`\nblocks. I'm hoping that making this change is going to make it easier for me to\nwork out how the various incarnations of `answers` are used.","distinct":true,"url":"https://api.github.com/repos/alphagov/smart-answers/commits/482daf26349f26ffa4da08d3c295df1a7b47b89b"},{"sha":"e603cbf8cbdcbe4e6a86caeb1fdf67c5aae760d2","author":{"name":"James Mead","email":"01cfcc75cc77e42d1369b51ffa1aaa70069d0f46@floehopper.org"},"message":"Use answers_part_1 calculator attribute instead of state variable","distinct":true,"url":"https://api.github.com/repos/alphagov/smart-answers/commits/e603cbf8cbdcbe4e6a86caeb1fdf67c5aae760d2"},{"sha":"69e27622ad96bd561ae0ed402d290482ce0bdfb7","author":{"name":"James Mead","email":"01cfcc75cc77e42d1369b51ffa1aaa70069d0f46@floehopper.org"},"message":"Use answers_part_3 calculator attribute instead of state variable","distinct":true,"url":"https://api.github.com/repos/alphagov/smart-answers/commits/69e27622ad96bd561ae0ed402d290482ce0bdfb7"},{"sha":"696d540560a38329b247d4731fd393968a0b3c88","author":{"name":"James Mead","email":"01cfcc75cc77e42d1369b51ffa1aaa70069d0f46@floehopper.org"},"message":"Removed unnecessary answers calculate/next_node_calculation blocks\n\nThe `answers` state variable is no longer used since we started using the\n`answers_part_x` methods on the calculator.","distinct":true,"url":"https://api.github.com/repos/alphagov/smart-answers/commits/696d540560a38329b247d4731fd393968a0b3c88"},{"sha":"c6f274abbf3e7e5eb4709f3f85bd4b5256316b21","author":{"name":"James Mead","email":"01cfcc75cc77e42d1369b51ffa1aaa70069d0f46@floehopper.org"},"message":"Extract widow_and_new_pension calculate block into calculator method","distinct":true,"url":"https://api.github.com/repos/alphagov/smart-answers/commits/c6f274abbf3e7e5eb4709f3f85bd4b5256316b21"},{"sha":"3d1b37eee2a074368d4c1ba24d90c93ad30dcbfd","author":{"name":"James Mead","email":"01cfcc75cc77e42d1369b51ffa1aaa70069d0f46@floehopper.org"},"message":"Extract widow_and_old_pension calculate block into calculator method","distinct":true,"url":"https://api.github.com/repos/alphagov/smart-answers/commits/3d1b37eee2a074368d4c1ba24d90c93ad30dcbfd"},{"sha":"6cd5dc69f6b9f121ca0e4875e964e54163d93422","author":{"name":"James Mead","email":"01cfcc75cc77e42d1369b51ffa1aaa70069d0f46@floehopper.org"},"message":"Extract current_rules_no_additional_pension calculate block into calculator method","distinct":true,"url":"https://api.github.com/repos/alphagov/smart-answers/commits/6cd5dc69f6b9f121ca0e4875e964e54163d93422"},{"sha":"9f1d533ca8684c07e62482d0f27faae39752ed30","author":{"name":"James Mead","email":"01cfcc75cc77e42d1369b51ffa1aaa70069d0f46@floehopper.org"},"message":"Extract current_rules_national_insurance_no_state_pension calculate block into calculator method","distinct":true,"url":"https://api.github.com/repos/alphagov/smart-answers/commits/9f1d533ca8684c07e62482d0f27faae39752ed30"},{"sha":"109dc859eba01cd996408d0d24f8aff4dbe7d827","author":{"name":"James Mead","email":"01cfcc75cc77e42d1369b51ffa1aaa70069d0f46@floehopper.org"},"message":"Add unit tests for widow_and_new_pension? calculator method\n\nI want to refactor this method and so I've elected to add fairly exhaustive\nunit test coverage.","distinct":true,"url":"https://api.github.com/repos/alphagov/smart-answers/commits/109dc859eba01cd996408d0d24f8aff4dbe7d827"},{"sha":"1cbbc2ad9aa36ccf8d9417f849edc4966c7b5f88","author":{"name":"James Mead","email":"01cfcc75cc77e42d1369b51ffa1aaa70069d0f46@floehopper.org"},"message":"Add unit tests for widow_and_old_pension? calculator method\n\nI want to refactor this method and so I've elected to add fairly exhaustive\nunit test coverage.","distinct":true,"url":"https://api.github.com/repos/alphagov/smart-answers/commits/1cbbc2ad9aa36ccf8d9417f849edc4966c7b5f88"},{"sha":"e2938838ac535ce3ce2bfa06d733a50eaad5b8d2","author":{"name":"James Mead","email":"01cfcc75cc77e42d1369b51ffa1aaa70069d0f46@floehopper.org"},"message":"Simplify widow_and_new/old_pension? calculator methods\n\nWe can do this by using `married?` & `widowed?`` calculator methods instead of\nthe `answers_part_1` calculator method.\n\nI know these methods can be further simplified, but intend to do that in\nsubsequent commit(s). I've intentionally kept this commit as close as possible\nto the original implementationin `answers_part_1`:\n\n    def answers_part_1\n      answers = []\n      if married?\n        answers << :old1\n      elsif widowed?\n        answers << :widow\n      end\n      answers\n    end\n\ni.e. `:widow` only gets added to `answers` if `married?` is `false` and\n`widowed?` is `true`.","distinct":true,"url":"https://api.github.com/repos/alphagov/smart-answers/commits/e2938838ac535ce3ce2bfa06d733a50eaad5b8d2"}]}
{"actor":{"display_login":"floehopper"}}