{"id":25976256,"url":"https://github.com/lewisp707/ruby-api-tech-test","last_synced_at":"2026-02-09T16:31:21.744Z","repository":{"id":278957593,"uuid":"613940549","full_name":"lewisP707/ruby-api-tech-test","owner":"lewisP707","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-19T23:24:37.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-03T23:37:31.656Z","etag":null,"topics":["technical-test"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lewisP707.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-14T15:15:13.000Z","updated_at":"2023-12-01T21:09:36.000Z","dependencies_parsed_at":"2025-02-22T19:42:27.431Z","dependency_job_id":"ff01d2ea-0dc4-4622-a41a-62b52549733f","html_url":"https://github.com/lewisP707/ruby-api-tech-test","commit_stats":null,"previous_names":["lewisp707/ruby-api-tech-test"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lewisP707/ruby-api-tech-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lewisP707%2Fruby-api-tech-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lewisP707%2Fruby-api-tech-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lewisP707%2Fruby-api-tech-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lewisP707%2Fruby-api-tech-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lewisP707","download_url":"https://codeload.github.com/lewisP707/ruby-api-tech-test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lewisP707%2Fruby-api-tech-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29272724,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T13:47:44.167Z","status":"ssl_error","status_checked_at":"2026-02-09T13:47:43.721Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["technical-test"],"created_at":"2025-03-05T03:36:32.211Z","updated_at":"2026-02-09T16:31:21.724Z","avatar_url":"https://github.com/lewisP707.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Carer API - Technical Testing Task\n\n## Scenario\nThere is an API which returns based on a date whether it is a working day for the carer or not.   \nFor Example: The Carer works Monday to Friday. So a date which falls on a Saturday would return that it is not a working day.\n\n## Task 1\nWe are going to push this API to production for the first time. In order to ensure we have delivered quality, reliable and stable software what approach should we take?\n1. Add a TEST-APPROACH.md explaining your test approach for this task, including different levels \u0026 types of test\n\n## Task 2\n1. Fix the failing test\n1. Add a test for a negative scenario\n1. Refactor anything you would improve\n\n## Tips\n1. Make sure to comment and add details of your thought process and any assumptions you have made\n1. Don't spend too long on it (2 hours max)\n\n## Setup\n\nResource used to create project [Simple API with Ruby on Rails](https://www.pullrequest.com/blog/how-to-build-an-api-with-ruby-on-rails/)   \nruby version (`3.1.2p20`)   \nrails version (`7.0.3.1`)\n\n### Run API\n1. `bundle install`\n1. `rails s`   \nExample: http://127.0.0.1:3000/api/carer?year=2021\u0026month=08\u0026day=09   \nAPI Controller: `carer\\app\\controllers\\application_controller.rb`\n\n### Run tests\n1. `rails test test/integration/`   \nIntegration Test: `carer\\test\\integration\\carer_availability_test.rb`\n\n## On Completion\n- Fork and push your changes, then notify the hiring manager   \nor\n- Clone then zip it up and email to hiring manager    \n(please do not create a pull request or push to main)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flewisp707%2Fruby-api-tech-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flewisp707%2Fruby-api-tech-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flewisp707%2Fruby-api-tech-test/lists"}