summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2024-10-25Update README and fix incorrect outputsSzymon Szukalski
- Don't output anything if the relationship is unsupported - Fail if we're adding a child via the father to a family
2024-10-25Remove equality checks due to infinite loopSzymon Szukalski
2024-10-25Move link_spouses to FamilyFactorySzymon Szukalski
2024-10-25Document code with YARDSzymon Szukalski
2024-10-25Move NilPerson to own fileSzymon Szukalski
2024-10-25Write test cases for new relationshipsSzymon Szukalski
2024-10-25Refactor uncle and aunt relationship handling to support both paternal and ↵Szymon Szukalski
maternal sides.
2024-10-25Refactor sibling-in-law relationship methods to reduce redundancySzymon Szukalski
2024-10-25Implement extended relationshipsSzymon Szukalski
- Support uncle, aunt, in-law, son, daughter relationships
2024-10-24Add tests for FamilyTree classSzymon Szukalski
- return appropriate error messages when person isn't found or if there aren't any siblings
2024-10-24Implement key data modelSzymon Szukalski
- Added classes for Person, Gender, Family, FamilyTree - Replaced FamilyTreeManager with FamilyTree - Add FamilyFactory for seeding the initial FamilyTree for King Arthur and Queen Margaret - Added a RelationshipManager for linking spouses correctly - Refactored ActionFileExecutor for readability - More test coverage
2024-10-24Define FamilyTreeSzymon Szukalski
- Implemented basic FamilyTree which will hold all the people and perform actions on them - Updated the FamilyTree Manager to create an instance of the FamilyTree - Updated the FamilyTreeManager to call the add_child and query_hierarchy methods on the FamilyTree - Update tests
2024-10-24Execute actions via the FamilyTreeManagerSzymon Szukalski
- Added logic for executing different FamilyTreeManager methods based on actions - More test coverage
2024-10-24Implement minimal FamilyTreeManager and testsSzymon Szukalski
2024-10-24Add ActionFileExecutor and execute from CLISzymon Szukalski
- Updated tests to use tempfile - Implemented initial ActionFileExecutor tests
2024-10-24Implement main executable and CLISzymon Szukalski