{"id":17038677,"url":"https://github.com/wbotelhos/simple_store","last_synced_at":"2026-04-29T11:03:30.066Z","repository":{"id":192311695,"uuid":"686471212","full_name":"wbotelhos/simple_store","owner":"wbotelhos","description":"🛒 Simple Store","archived":false,"fork":false,"pushed_at":"2023-09-03T00:24:14.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-15T06:14:41.627Z","etag":null,"topics":["challenge","ruby","store"],"latest_commit_sha":null,"homepage":"https://wbotelhos.com","language":"Ruby","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/wbotelhos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":"wbotelhos"}},"created_at":"2023-09-02T22:49:10.000Z","updated_at":"2023-09-02T23:47:55.000Z","dependencies_parsed_at":"2023-09-04T04:43:43.887Z","dependency_job_id":"4efb92d5-541d-4fc0-99ac-fe9541a5db93","html_url":"https://github.com/wbotelhos/simple_store","commit_stats":null,"previous_names":["wbotelhos/simple_store"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wbotelhos/simple_store","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wbotelhos%2Fsimple_store","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wbotelhos%2Fsimple_store/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wbotelhos%2Fsimple_store/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wbotelhos%2Fsimple_store/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wbotelhos","download_url":"https://codeload.github.com/wbotelhos/simple_store/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wbotelhos%2Fsimple_store/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32422533,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["challenge","ruby","store"],"created_at":"2024-10-14T08:57:31.210Z","updated_at":"2026-04-29T11:03:30.025Z","avatar_url":"https://github.com/wbotelhos.png","language":"Ruby","funding_links":["https://github.com/sponsors/wbotelhos"],"categories":[],"sub_categories":[],"readme":"# Simple Store\n\n[![Tests](https://github.com/wbotelhos/simple_store/workflows/Tests/badge.svg)](https://github.com/wbotelhos/simple_store/actions)\n[![Maintainability](https://api.codeclimate.com/v1/badges/45977db54fe009e15080/maintainability)](https://codeclimate.com/github/wbotelhos/simple_store/maintainability)\n[![Coverage](https://codecov.io/gh/wbotelhos/simple_store/graph/badge.svg?token=WPhiD1lfbO)](https://codecov.io/gh/wbotelhos/simple_store)\n\nIt's a simple store receiving a list of products and the desired quantity along with some product's characteristics then the code responds with the line items containing the price for each product, the taxes and the total.\n\n## Setup\n\nUsing Docker:\n\n```sh\ndocker build . -t simple_store\n```\n\nUsing your local machine:\n\n```rb\ngit clone https://github.com/wbotelhos/simple_store\ncd simple_store\nbundle install\n```\n\n## How to Run?\n\nOr using Docker:\n\n```sh\ndocker run -i simple_store ruby run.rb \u003c data/input.txt\n```\n\nUsing your local machine:\n\n```sh\nruby run.rb \u003c data/input.txt\n```\n\n## Tests\n\nThe main test with the example cases from the [TODO](https://github.com/wbotelhos/simple_store/blob/main/TODO.md) file\nis [this one](https://github.com/wbotelhos/simple_store/blob/main/spec/calculator_spec.rb).\n\nUsing Docker:\n\n```sh\ndocker run simple_store bundle exec rspec\n```\n\nUsing your local machine:\n\n```rb\nrspec\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwbotelhos%2Fsimple_store","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwbotelhos%2Fsimple_store","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwbotelhos%2Fsimple_store/lists"}