{"id":17663964,"url":"https://github.com/tiago154/fizz_buzz","last_synced_at":"2025-07-22T04:04:31.036Z","repository":{"id":99007691,"uuid":"293150673","full_name":"tiago154/fizz_buzz","owner":"tiago154","description":"🍷  Solução do problema fizzbuzz utilizando Elixir","archived":false,"fork":false,"pushed_at":"2020-09-05T20:50:18.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T12:16:04.270Z","etag":null,"topics":["coverage","elixir","fizzbuzz","problema-fizzbuzz"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"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/tiago154.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":"2020-09-05T20:38:13.000Z","updated_at":"2020-09-14T16:45:18.000Z","dependencies_parsed_at":"2024-01-17T02:04:32.858Z","dependency_job_id":null,"html_url":"https://github.com/tiago154/fizz_buzz","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tiago154/fizz_buzz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiago154%2Ffizz_buzz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiago154%2Ffizz_buzz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiago154%2Ffizz_buzz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiago154%2Ffizz_buzz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiago154","download_url":"https://codeload.github.com/tiago154/fizz_buzz/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiago154%2Ffizz_buzz/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266424014,"owners_count":23926123,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":["coverage","elixir","fizzbuzz","problema-fizzbuzz"],"created_at":"2024-10-23T19:42:58.621Z","updated_at":"2025-07-22T04:04:31.006Z","avatar_url":"https://github.com/tiago154.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FizzBuzz\n\n![Elixir CI](https://github.com/tiago154/fizz_buzz/workflows/Elixir%20CI/badge.svg?branch=master)\n[![Coverage Status](https://coveralls.io/repos/github/tiago154/fizz_buzz/badge.svg?branch=master)](https://coveralls.io/github/tiago154/fizz_buzz?branch=master)\n\n## 🧐 Descrição do Problema\n\nSolução desenvolvida em `Elixir` baseada no [Problema Fizzbuzz](http://dojopuzzles.com/problemas/exibe/fizzbuzz/)\n\n## 🌟 Pré-requisitos\n\nTer instalado Elixir. Mais informações de como instalar, [clique aqui](https://elixir-lang.org/install.html)\n\n### 🔢 Input de números\n* ✔️ Vamos ler uma lista de números a partir de um arquivo\n  - ❌ Caso o arquivo não exista, exibiremos uma mensagem de erro\n* ✔️ O padrão do arquivo é uma lista de números separados por virgula, (Ex: 1,6,9,8) \n* ✔️ Já existe um arquivo na raiz do projeto nomeado como `numbers.txt` com valores preenchidos\n\n### 🔢 Output de números\n* ✔️ Números divisíveis por 3 deve aparecer como `Fizz` ao invés do número\n* ✔️ Números divisíveis por 5 devem aparecer como `Buzz` ao invés do número\n* ✔️ Números divisíveis por 3 e 5 devem aparecer como `FizzBuzz` ao invés do número'\n\n## 🏁 Executando a aplicação\n\nUtilize o terminal iterativo do elixir, executando o comando\n\n```bash\niex -S mix\n```\n\nAgora chame o função `build` do módulo `FizzBuzz`, passando como argumento o arquivo com a lista de números.\n\nExemplo:\n\n```elixir\nFizzBuzz.build(\"numbers.txt\")\n```\n\n## Executando testes\n\n```bash\nmix test\n```\n\nTestes com coverage\n\n```bash\nmix coveralls.html --color\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiago154%2Ffizz_buzz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiago154%2Ffizz_buzz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiago154%2Ffizz_buzz/lists"}