Closed gabrielcnunez closed 1 year ago
Hey, @gabrielcnunez I see the linting Failed with Rubocop. π«£ Can you make the following changes on your branch? I want to make sure that it is up and running smoothly on more than just my end, or I'd make them and push the changes.
rubocop.yml
file:
Add NewCops: enable
under line 7
"AllCops:"rubocop
in your terminal, and this should give all the errors that RuboCop will find when pushed. It looks like the current issues are all double rather than single quote errors, which can be auto-corrected.
robocop -a
in your terminal anything not auto-corrected will still be listed for you to review and fix manually. (ref: https://docs.rubocop.org/rubocop/1.54/usage/basic_usage.html ) cmd+opt+B
, and that should run auto-formatting on that one file.| **Yes** [ ] <br> **No** [ ] |
in the checklists to | <ul> <li> [ ] **Yes** </li> <li> [ ] **No** </li> |
that way the checkboxes format correctly.[![Ruby on Rails CD](https://github.com/Plan-My-Dinner/plan_my_dinner_be/actions/workflows/rubyonrails.yml/badge.svg?event=deployment_status)](https://github.com/Plan-My-Dinner/plan_my_dinner_be/actions/workflows/rubyonrails.yml)
β Otherwise, all the deployment files look great, and I know you showed it up and running. π₯π₯π₯π₯π₯π₯π₯
Hey, @gabrielcnunez I see the linting Failed with Rubocop. π«£ Can you make the following changes on your branch? I want to make sure that it is up and running smoothly on more than just my end, or I'd make them and push the changes.
- In the
rubocop.yml
file: AddNewCops: enable
underline 7
"AllCops:"Run
rubocop
in your terminal, and this should give all the errors that RuboCop will find when pushed. It looks like the current issues are all double rather than single quote errors, which can be auto-corrected.
- If you want to Auto Correct all possible errors in the whole repo, run
robocop -a
in your terminal anything not auto-corrected will still be listed for you to review and fix manually. (ref: https://docs.rubocop.org/rubocop/1.54/usage/basic_usage.html )- If you are using VSCode and want to Auto-correct 1 file at a time. You can open that file and hit
cmd+opt+B
, and that should run auto-formatting on that one file.- In the pull request template, can you please change the
| **Yes** [ ] <br> **No** [ ] |
in the checklists to| <ul> <li> [ ] **Yes** </li> <li> [ ] **No** </li> |
that way the checkboxes format correctly.Add the deployed site link to the ReadMe doc, so we all have that link easy to access and visit.
- Also, here is the MD Code for the Deployment status badge from GitHub Actions: So that specific aspect can be shown separately from CI if you want. π
[![Ruby on Rails CD](https://github.com/Plan-My-Dinner/plan_my_dinner_be/actions/workflows/rubyonrails.yml/badge.svg?event=deployment_status)](https://github.com/Plan-My-Dinner/plan_my_dinner_be/actions/workflows/rubyonrails.yml)
β Otherwise, all the deployment files look great, and I know you showed it up and running. π₯π₯π₯π₯π₯π₯π₯
@aleish-m Thank you for doing a deep dive on this review! I'll address your items in order:
NewCops: enable
was added to the rubocop.yml
fileLet me know if everything looks good, thanks!
What Type of PR is this?
Describe your changes
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
App was deployed using Fly.io and a root view was added to
config/routes.rb
to confirm successful deployment (this can be removed once API development begins). In addition, therubyonrails.yml
was updated to add continuous deployment to Fly.io when changes are pushed onto the main branch.Issue number and link
Only PR's for existing issue tickets or features for this sprint will be approved. Issue MUST be linked for review.
Closes #4 issue
Questions for reviewers?
Please note anything you would like specific feedback on in your code.
Checklist before requesting a review
Any additional collaborators for this PR?
No
Any Specific Reviewer approval needed?
@aleish-m