Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

rubocop fixes - csvfiles controller #11516

Merged
merged 5 commits into from Oct 20, 2022
Merged

Conversation

victory-lydia
Copy link
Contributor

@victory-lydia victory-lydia commented Oct 19, 2022

Fixes #11493

Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!

  • PR is descriptively titled 馃搼 and links the original issue above 馃敆
  • tests pass -- look for a green checkbox 鉁旓笍 a few minutes after opening your PR -- or run tests locally with rake test
  • code is in uniquely-named feature branch and has no merge conflicts 馃搧
  • screenshots/GIFs are attached 馃搸 in case of UI updation
  • ask @publiclab/reviewers for help, in a comment below

@gitpod-io
Copy link

gitpod-io bot commented Oct 19, 2022

@codecov
Copy link

codecov bot commented Oct 19, 2022

Codecov Report

Merging #11516 (c1ef238) into main (a5d2483) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main   #11516   +/-   ##
=======================================
  Coverage   83.33%   83.33%           
=======================================
  Files          93       93           
  Lines        5772     5772           
=======================================
  Hits         4810     4810           
  Misses        962      962           
Impacted Files Coverage 螖
app/controllers/csvfiles_controller.rb 62.50% <酶> (酶)
app/models/user.rb 86.23% <0.00%> (-0.27%) 猬囷笍
app/controllers/home_controller.rb 95.58% <0.00%> (-0.07%) 猬囷笍
app/controllers/spam2_controller.rb 72.54% <0.00%> (+0.70%) 猬嗭笍

@github-actions
Copy link

This pull request generated screenshots of many common pages in the running app. You should be able to download and view them here:
https://github.com/publiclab/plots2/suites/8855196888/artifacts/404035701

@victory-lydia
Copy link
Contributor Author

victory-lydia commented Oct 19, 2022

@cesswairimu and @jywarren please can you review my pull request

@github-actions
Copy link

This pull request generated screenshots of many common pages in the running app. You should be able to download and view them here:
https://github.com/publiclab/plots2/suites/8855196888/artifacts/404088683

README.md Outdated
@@ -124,6 +124,7 @@ We recommend you either work in a virtual environment, or on a dual booted syste
2. [Dual Booting](https://www.tecmint.com/install-ubuntu-alongside-with-windows-dual-boot/amp/), [option2](https://askubuntu.com/questions/1031993/how-to-install-ubuntu-18-04-alongside-windows-10), [video guide](https://www.youtube.com/watch?v=qNeJvujdB-0&fbclid=IwAR0APhs89jlNR_ENKbSwrp6TI6P-wxlx-a0My9XBvPNAfwtADZaAXqcKtP4)
3. [Setting up a Linux virtual env](https://itsfoss.com/install-linux-in-virtualbox/)


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Were you supposed to add this space in the readme?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not add any space in the readme

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here at line 127 it shows you added a line.

@7malikk
Copy link
Contributor

7malikk commented Oct 19, 2022

@victory-lydia Hey there, aside from the comment I made, I noticed you were supposed to add an empty line based on #11493, I don't see that change being made.

Just my input

@victory-lydia
Copy link
Contributor Author

@victory-lydia Hey there, aside from the comment I made, I noticed you were supposed to add an empty line based on #11493, I don't see that change being made.

Just my input
I did it in the last commit and got a error message

@7malikk
Copy link
Contributor

7malikk commented Oct 19, 2022

@victory-lydia Hey there, aside from the comment I made, I noticed you were supposed to add an empty line based on #11493, I don't see that change being made.
Just my input
I did it in the last commit and got a error message

What was the error message?

@victory-lydia
Copy link
Contributor Author

@victory-lydia Hey there, aside from the comment I made, I noticed you were supposed to add an empty line based on #11493, I don't see that change being made.
Just my input
I did it in the last commit and got a error message

What was the error message?

To remove the white space

@7malikk
Copy link
Contributor

7malikk commented Oct 19, 2022

@victory-lydia Hey there, aside from the comment I made, I noticed you were supposed to add an empty line based on #11493, I don't see that change being made.
Just my input
I did it in the last commit and got a error message

What was the error message?

To remove the white space

Then you're good.
@jywarren @TildaDares first-timers bot created an FTO at #11493, when @victory-lydia implemented it she got an error to remove white space. I believe this is worth looking into.

Copy link
Member

@TildaDares TildaDares left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@victory-lydia Those are the spaces the failing test is complaining about.

app/controllers/csvfiles_controller.rb Outdated Show resolved Hide resolved
app/controllers/csvfiles_controller.rb Outdated Show resolved Hide resolved
victory-lydia and others added 2 commits October 20, 2022 09:16
Co-authored-by: Tilda Udufo <mathildaudufo@gmail.com>
Co-authored-by: Tilda Udufo <mathildaudufo@gmail.com>
@github-actions
Copy link

This pull request generated screenshots of many common pages in the running app. You should be able to download and view them here:
https://github.com/publiclab/plots2/suites/8870121069/artifacts/405136724

Copy link
Member

@TildaDares TildaDares left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing work @victory-lydia. Thank you!

@codeclimate
Copy link

codeclimate bot commented Oct 20, 2022

Code Climate has analyzed commit c1ef238 and detected 0 issues on this pull request.

View more on Code Climate.

@github-actions
Copy link

This pull request generated screenshots of many common pages in the running app. You should be able to download and view them here:
https://github.com/publiclab/plots2/suites/8875384075/artifacts/405492544

@TildaDares TildaDares merged commit 83e0439 into publiclab:main Oct 20, 2022
@welcome
Copy link

welcome bot commented Oct 20, 2022

Congrats on merging your first pull request! 馃檶馃帀鈿★笍
Your code will likely be published to PublicLab.org in the next few days, but first it will be published to https://stable.publiclab.org/ (it will take some minutes for this to load, and until then you may see logs from the build process). Please test out your work on this testing server and report back with a comment that all has gone well!
Do join our weekly check-in to share your this week goal and the awesome work you did 馃槂. Please find the link to our latest check-in here 馃摑
Now that you've completed this, you can help someone else take their first step!
Reach out to someone else working on theirs on Public Lab's code welcome page (where you'll now be featured as a recent contributor!). Thanks!

Help others take their first step

Now that you've merged your first pull request, you're the perfect person to help someone else out with this challenging first step. 馃檶

https://code.publiclab.org

Try looking at this list of `first-timers-only` issues, and see if someone else is waiting for feedback, or even stuck! 馃槙

People often get stuck at the same steps, so you might be able to help someone get unstuck, or help lead them to some documentation that'd help. Reach out and be encouraging and friendly! 馃槃 馃帀

Read about how to help support another newcomer here, or find other ways to offer mutual support here.

You can also join our Gitter channel to connect with other contributors 馃摜

@TildaDares
Copy link
Member

Congratulations on merging your PR @victory-lydia 馃帀

@victory-lydia
Copy link
Contributor Author

Congratulations on merging your PR @victory-lydia 馃帀

Thanks so much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rubocop fixes - csvfiles controller
3 participants