{"id":26512987,"url":"https://github.com/mgleon08/rorr","last_synced_at":"2025-03-21T04:19:19.845Z","repository":{"id":56892646,"uuid":"66841765","full_name":"mgleon08/rorr","owner":"mgleon08","description":"The easiest way to evaluate the Ruby or Rails proficiency in a interactive way.","archived":false,"fork":false,"pushed_at":"2017-10-31T08:12:34.000Z","size":490,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-20T06:47:17.239Z","etag":null,"topics":["ruby","ruby-interview","rubygems"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mgleon08.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-29T12:29:42.000Z","updated_at":"2025-02-05T10:45:29.000Z","dependencies_parsed_at":"2022-08-21T01:20:55.564Z","dependency_job_id":null,"html_url":"https://github.com/mgleon08/rorr","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgleon08%2Frorr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgleon08%2Frorr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgleon08%2Frorr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgleon08%2Frorr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mgleon08","download_url":"https://codeload.github.com/mgleon08/rorr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244566930,"owners_count":20473451,"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":["ruby","ruby-interview","rubygems"],"created_at":"2025-03-21T04:19:19.366Z","updated_at":"2025-03-21T04:19:19.815Z","avatar_url":"https://github.com/mgleon08.png","language":"Ruby","readme":"# RorR\n\n[![Gem Version](https://badge.fury.io/rb/rorr.svg)](https://badge.fury.io/rb/rorr)\n[![Build Status](https://travis-ci.org/mgleon08/rorr.svg?branch=master)](https://travis-ci.org/mgleon08/rorr)\n[![Coverage Status](https://coveralls.io/repos/github/mgleon08/rorr/badge.svg?branch=master)](https://coveralls.io/github/mgleon08/rorr?branch=master)\n[![Code Climate](https://codeclimate.com/github/mgleon08/rorr/badges/gpa.svg)](https://codeclimate.com/github/mgleon08/rorr)\n[![security](https://hakiri.io/github/mgleon08/rorr/master.svg)](https://hakiri.io/github/mgleon08/rorr/master)\n\nRorR(Ruby or Rails) is a test designed to evaluate the Ruby or Rails proficiency and artificial intelligence in a fun, interactive way.\n\n![](screenshots/rorr_demo.gif)\n\n## Installation\n\n```\n$ gem install rorr\n```\n\n## Getting Started\n\nThen run the `rorr` command to start\n\n```\n$ rorr\n$ gem install rorr --no-ri #without doc\n```\n\nHave three topics\n\n```ruby\nWelcom to RorR!\n\nChoose the topic you want to start\n1. Don't ask me Ruby or Rails\n2. What's the return value?\n3. Make all test pass\n0. exit\n\n\u003e\n```\n\n### Topic1: Don't ask me Ruby or Rails\n\nThis is to check whether you remember where Ruby ends and Rails.\n\n```ruby\nWelcome to \"Don't ask me Ruby or Rails\"\nLet's check whether you remember where Ruby ends and Rails\n\n------------------------------\nQuestion 1 :\n------------------------------\n\nArray(foo: :bar)      # =\u003e [[:foo, :bar]]\n\n------------------------------\nruby or rails? (Type the ruby or rails to answer, skip to next question, exit to exit)\n\n\u003e\n```\n\n### Topic2: What's the return value?\n\nThis will show you the several pieces of code. You should type the code returned values to answer.\n\n```ruby\nWelcome to \"What's the return value?\"\nLet's check how much do you proficiency in ruby or rails\n\n------------------------------\nQuestion 1 :\n------------------------------\n\n1 == 1.0\n\n------------------------------\nWhat's the return value? (Type the Exception or SyntaxError if you expect it will return, skip to next question, exit to exit)\n\n\u003e\n```\n\nYou can type `Exception` \u0026 `SyntaxError` to answer if you expect it will return.\n\n\n### Topic3: Make all test pass\n\nThis will create a rorr directory in your current location where you find a `player.rb` and `README` file.\n\nYou can see `README` for instructions and write you answer to `player.rb`.\n\nType rorr to check if you've finished.\n\n```ruby\nWelcome to \"Make all tests pass\"\nLet's check how much do you proficiency in ruby or rails\n\nQuestion 001 has been generated.\nSee the ./rorr/normal/001/README for instructions.\n\nWhen you're done editing player.rb, type the rorr to check, skip to next question, exit to exit\n\u003e\n```\n\n\n### Test Report\n\nIn finish it will show you test report.\n\n```ruby\n Test Report\n\n Q.  | Corr | Skip | Retry\n-------------------------\n  1. |   ✓  |      |   0\n  2. |   ✓  |      |   0\n  3. |   ✓  |      |   0\n  4. |      |   ✓  |   0\n  5. |      |   ✓  |   0\n  6. |   ✗  |      |   0\n  7. |   ✗  |      |   0\n  8. |   ✗  |      |   0\n  9. |   ✓  |      |   0\n 10. |   ✓  |      |   0\n-------------------------\n  10 |   5  |   2  |   0\n\n Correct Rate:    50.0%\n    Skip Rate:    20.0%\n\n   Spend Time: 00:00:33\n```\n\n## Run Options\nYou can run `rorr -h` for help\n\n```\nUsage: rorr [options]\n-t, --time SECONDS    Delay each turn by seconds (default: 0.6)\n-n, --number NUMBER   Number of questions (default: 10, all = -1)\n-s, --solution        Show the solution (default: false)\n-h, --help            Show this message\n```\n\n## Questions Reference\n\nIf you have good questions welcome to pull requests or comments\non GitHub at [`https://github.com/mgleon08/rorr/pulls`](https://github.com/mgleon08/rorr/pulls)\n\n* [Rails Hurts quiz](http://railshurts.com/quiz/)\n* [11 Essential Ruby Interview Questions*](https://www.toptal.com/ruby/interview-questions)\n* [15 Questions to Ask During a Ruby Interview](https://gist.github.com/ryansobol/5252653)\n* [CoderByte](https://coderbyte.com/)\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at [`https://github.com/mgleon08/rorr/pulls`](https://github.com/mgleon08/rorr/pulls)\n\n## Copyright \u0026 License\n\n* Copyright (c) 2016 Leon Ji. See [LICENSE.txt](https://github.com/mgleon08/rorr/blob/master/LICENSE.txt) for further details.\n* The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgleon08%2Frorr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmgleon08%2Frorr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgleon08%2Frorr/lists"}