{"id":42663479,"url":"https://github.com/dansteele/number_to_words","last_synced_at":"2026-01-29T10:00:13.859Z","repository":{"id":26087220,"uuid":"29531215","full_name":"dansteele/number_to_words","owner":"dansteele","description":"Test-driven practice ","archived":false,"fork":false,"pushed_at":"2022-07-18T12:09:51.000Z","size":57,"stargazers_count":0,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-24T09:18:20.868Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/dansteele.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}},"created_at":"2015-01-20T13:33:25.000Z","updated_at":"2024-04-24T09:18:20.869Z","dependencies_parsed_at":"2022-08-25T01:00:29.674Z","dependency_job_id":null,"html_url":"https://github.com/dansteele/number_to_words","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dansteele/number_to_words","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dansteele%2Fnumber_to_words","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dansteele%2Fnumber_to_words/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dansteele%2Fnumber_to_words/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dansteele%2Fnumber_to_words/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dansteele","download_url":"https://codeload.github.com/dansteele/number_to_words/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dansteele%2Fnumber_to_words/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28875445,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T09:47:23.353Z","status":"ssl_error","status_checked_at":"2026-01-29T09:47:19.357Z","response_time":59,"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":[],"created_at":"2026-01-29T10:00:09.835Z","updated_at":"2026-01-29T10:00:13.851Z","avatar_url":"https://github.com/dansteele.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"TDD - Numbers to Words\n======================\n\nTO RUN\n------\n\n\u003e ruby numbers_to_words_spec.rb\n\nTODO\n----\n\n* Repeatedly run the test until you get get test failures, rather than any Ruby exceptions. You should see\n\n```\n1) Failure:\nto_words#test_0001_should handle individual numbers [numbers_to_words_spec.rb:7]:\nExpected: \"one\"\n  Actual: nil\n```\n\n* Add just enough code to your `to_words` method to make the test pass.\n\n* Add the following code to your spec.\n\n```\nit \"should handle the teens\" do\n  16.to_words.must_equal(\"sixteen\")\n  19.to_words.must_equal(\"nineteen\")\nend\n```\n\n* Run the updated spec, *see it fail*, and then implement the solution. N.B. the\nsolution only has to work for numbers less than twenty; is your solution trying\nto implement more than what is required?\n\n* Add code to your spec that tests words up to one hundred. See the test fail\nfirst, then implement the solution. What changes are needed? If you need to\nimplement any further methods, write them *test first*.\n\n* Once you achieve one hundred, repeat the process up until one thousand.\n\n* Once you achieve one thousand, repeat the process up until one million.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdansteele%2Fnumber_to_words","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdansteele%2Fnumber_to_words","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdansteele%2Fnumber_to_words/lists"}