GitHub PushEvent at 2014-10-13 16:08:11
Repository: a-bit-of-fun-with-vanilla-php
Actor: erikthedeveloper
Payload: {"shas":[["53178595554e4f410887d32a42b580751e38e234","f498dc2fa03b8731794f7766d23ea3cad9a967aa@practicegenius.com","Validator - Install/Config PHPSpec & 1st Spec. 1st round refactor.\n\n- Adds composer.json -> phpspec/phpspec, .gitignore\n- Basic phpspec.yml\n    - Sets src directory\n- spec/MyClasses/Validation/ValidatorSpec.php (newly added spec)\n- MyClasses/Validation/Validator.php (existing class. minor refactor)","Erik Aybar",false],["57879d04785c6f404ba783ca135cddf2c6aa8cdb","f498dc2fa03b8731794f7766d23ea3cad9a967aa@practicegenius.com","Validator - Prepends 'validate_' to validate methods. Updates 1/3 usages\n\n- $callable_rule = $this->callable_prefix . $callable_rule;\n- validate_not_empty\n- validate_email\n- Updates session/create. fixes unresolved variables","Erik Aybar",false],["aa2d4d48835d7fd533b56a707693bcbd7c5253d3","f498dc2fa03b8731794f7766d23ea3cad9a967aa@practicegenius.com","Validator - TDD Refactorage. Adds Methods/Tests. Now returns $this.\n\nAdds methods to Validation\\Validator\n- hasErrors()\n- hasValidData()\n- clearValidations()\n\nAdds/Modifies Tests\n- Now uses matchers should[Not]HaveValidData()\n- Adds it_allows_multiple_validation_rules_per_field()","Erik Aybar",false],["cb070eb92a7251545de212b2ac72463f51c27823","f498dc2fa03b8731794f7766d23ea3cad9a967aa@practicegenius.com","Adds ..builds_callable_method_name.. (not_empty -> validateNotEmpty)","Erik Aybar",false],["fb64b5db32d881f15867c0a803e68efa683adab9","f498dc2fa03b8731794f7766d23ea3cad9a967aa@practicegenius.com","Extracts nested controls in validate. Adds getCallableRuleFromName().\n\n- Changes convention from validate_not_empty to validateNotEmpty etc..\n- getCallableRuleFromName left as public for testing purposes ... bad?","Erik Aybar",false],["07c9f98c7dc6db9e2080c9b1b055045d2ea64500","f498dc2fa03b8731794f7766d23ea3cad9a967aa@practicegenius.com","Renames methods. Extracts setFieldValidationFailed($field_name, $callable_method)","Erik Aybar",false],["c5a7e7d6ce9eae7116b12380c751697219710880","f498dc2fa03b8731794f7766d23ea3cad9a967aa@practicegenius.com","Refactors tests. Adds validation tests.\n\n- Rearranges methods\n- it_builds_callable_method_from_validate_rule_name\n- it_validates_an_email_address\n- it_validates_not_empty","Erik Aybar",false],["5d4ca239398a39aa9c6c33c25b93d2cf9d55a2a0","f498dc2fa03b8731794f7766d23ea3cad9a967aa@practicegenius.com","src - validateEmail returns bool. Adds translateRuleNameToMethodName","Erik Aybar",false],["69fbd0115c7e0bf547178f97ea0b53fb5709019b","f498dc2fa03b8731794f7766d23ea3cad9a967aa@practicegenius.com","Minor refactor....","Erik Aybar",false],["6981089fe46921b43b142257c77f175f3e5113ab","f498dc2fa03b8731794f7766d23ea3cad9a967aa@practicegenius.com","Updates validation usages","Erik Aybar",false],["dc12544eb0bcf1322f3eed5a6f2eb997bcabaeca","f498dc2fa03b8731794f7766d23ea3cad9a967aa@practicegenius.com","Validation - tests/implements it_can_also_accept_a_closure_in_place...","Erik Aybar",false],["5aacfc255f418b8819fa8874e274ce11fd08de90","f498dc2fa03b8731794f7766d23ea3cad9a967aa@practicegenius.com","In class. WIP step towards better uploads","Erik Aybar",true],["b6d284aabe02ef0f0a9913ab0f30b87316fd9ebb","f498dc2fa03b8731794f7766d23ea3cad9a967aa@practicegenius.com","Unfactor","Erik Aybar",true],["e50679f1ded6755ed626cb923f460f3b3516574a","f498dc2fa03b8731794f7766d23ea3cad9a967aa@practicegenius.com","WIP ? Refactorage Video - Tests passing.... committing ?","Erik Aybar",true],["47e241fe858ec7603ceb2c66e3985db2127a32f9","f498dc2fa03b8731794f7766d23ea3cad9a967aa@practicegenius.com","Adds Upload Model. Uploads file. Displays simple gallery.","Erik Aybar",true],["f97382b5ba6d724f86af479512c144a6617eccf7","f498dc2fa03b8731794f7766d23ea3cad9a967aa@practicegenius.com","Adds assets (js, css, images, vendor, wgetted)","Erik Aybar",true],["75b119060a7f4553bb055afddf6821a1ec87201d","f498dc2fa03b8731794f7766d23ea3cad9a967aa@practicegenius.com","Flash message/alert now closable","Erik Aybar",true],["afd39ce4eb8fcdca5b94628c9c34cdadc128a038","f498dc2fa03b8731794f7766d23ea3cad9a967aa@practicegenius.com","Updates nav menu. Adds js/css links/scripts. Whatever","Erik Aybar",true],["50744ffd2235fce7a6f91e2e2d5c470aa4911976","f498dc2fa03b8731794f7766d23ea3cad9a967aa@practicegenius.com","Adds slick slider gallery. Some other mojo","Erik Aybar",true],["0f16ecbab6f48a8c4073f5da27d3b9227e593793","f498dc2fa03b8731794f7766d23ea3cad9a967aa@practicegenius.com","Minor","Erik Aybar",true]],"size":28,"ref":"refs/heads/master","head":"ffd6e8a93c094714637f326c7041ba14324ac52a"}