{"id":24190052,"url":"https://github.com/balerum03/linter_capstone","last_synced_at":"2025-04-11T21:03:40.404Z","repository":{"id":69680593,"uuid":"290939832","full_name":"balerum03/linter_capstone","owner":"balerum03","description":"This is a basic linter that verifies that all the parentheses and brackets were properly used. This is a console app that runs using Ruby for the logic and Rspec for testing.","archived":false,"fork":false,"pushed_at":"2020-09-07T14:44:34.000Z","size":113,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev_branch","last_synced_at":"2025-01-13T15:00:14.442Z","etag":null,"topics":["gems","linter","rspec","rubocop","ruby","tester"],"latest_commit_sha":null,"homepage":"","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/balerum03.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-08-28T03:17:09.000Z","updated_at":"2021-02-04T07:39:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"a81a6bfd-f408-4711-8ecb-9908fa9cb11c","html_url":"https://github.com/balerum03/linter_capstone","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balerum03%2Flinter_capstone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balerum03%2Flinter_capstone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balerum03%2Flinter_capstone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balerum03%2Flinter_capstone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/balerum03","download_url":"https://codeload.github.com/balerum03/linter_capstone/tar.gz/refs/heads/dev_branch","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237090113,"owners_count":19253779,"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","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":["gems","linter","rspec","rubocop","ruby","tester"],"created_at":"2025-01-13T15:00:10.475Z","updated_at":"2025-02-04T09:21:23.220Z","avatar_url":"https://github.com/balerum03.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# linter_capstone\nThis project consists in the development of a basic linter, in this case I choose to validate in a given file if all of the parenthesis, square brackets and curly brackets were properly close in each line.  \n\n## This is an example of some bad code and the output you can get when using the linter I created.\n![screenshot](media/bad_code.png)\n![screenshot](media/result_badcode.png)\n\n## This is an example of some right code and the output you can get when using the linter I created.\n![screenshot](media/good_code.png)\n![screenshot](media/result_goodcode.png)\n\n## Built With\n\n- Ruby\n\n### technology/gem used\n- Rubocop\n- colorize\n- Rspec\n\n### Prerequisites\n\n- Ruby must be Installed on your system\n- Basic command line knowledge\n\n### Setup\n\n- Download or clone the repository.\n- Make sure that you have the gems require install in this case just colorize and rubocop.\n- Run a CLI and run `ruby main test_file.rb` on your local machine.\n\n### Run Test\nOpen your terminal and follow this simple steps:\n- Once you have cloned the Repository, you would need to move to the folder where the project is located by running  ``` cd linter_capstone ```\n(remember that you have take in consideration the location of this project on your own machine)\n- When you get to project directory then run  ``` gem install colorize ```\n- Then you move the bin directory by running ``` cd bin ```\n- The only thing left to do is run the program by typing ``` ruby main file_to_be_tested.rb ``` (make sure the file you are testing is a ruby file with the .rb extension)\n- One thing to notice is that the file_to_be_tested.rb has to be typied as the relative path for the file you want this program to analize.\n\n### Basic instructions on how to use this linter.\n You can run the basic linter just as shown in the image below, where the tester_file.rb can be you ruby file (remeber to use relative path).\n![screenshot](media/how_to.png)\n The code shown on the image would work if you want to use the tester.rb file provided for testing on this repository.\n\n## Author\n\n👤 **Adan Fernandez Bonilla**\n\n- Github: [@balerum03](https://github.com/balerum03)\n- Twitter: [@balerum03](https://twitter.com/balerum03)\n- Linkedin: [linkedin](https://www.linkedin.com/in/adan-fernandez-bonilla-4560831a5)\n\n## 🤝 Contributing\n\nContributions, issues and feature requests are welcome!\n\nFeel free to check the [issues page](https://github.com/balerum03/linter_capstone/issues).\n\n## Show your support\n\nGive a ⭐️ if you like this project!\n\n## Acknowledgments\n\n- Microverse\n- GitHub\n- TheOdinProject\n- Ruby\n\n## 📝 License\n\n\nThis project is [MIT](LICENSE) licensed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbalerum03%2Flinter_capstone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbalerum03%2Flinter_capstone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbalerum03%2Flinter_capstone/lists"}