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

Create function to test yahoo quote present #8640

Merged
merged 6 commits into from
Oct 21, 2020

Conversation

kimcheung
Copy link
Contributor

@kimcheung kimcheung commented Oct 20, 2020

Fixes #4112 (<=== Add issue number here)

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

We're happy to help you get this ready -- don't be afraid to ask for help, and don't be discouraged if your tests fail at first!

If tests do fail, click on the red X to learn why by reading the logs.

Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software

Thanks!

@gitpod-io
Copy link

gitpod-io bot commented Oct 20, 2020

app/models/comment.rb Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Oct 20, 2020

Codecov Report

Merging #8640 into main will increase coverage by 0.12%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #8640      +/-   ##
==========================================
+ Coverage   81.76%   81.89%   +0.12%     
==========================================
  Files         101      101              
  Lines        5901     5903       +2     
==========================================
+ Hits         4825     4834       +9     
+ Misses       1076     1069       -7     
Impacted Files Coverage 螖
app/controllers/user_tags_controller.rb 84.28% <100.00%> (酶)
app/models/comment.rb 77.66% <100.00%> (+0.14%) 猬嗭笍
app/api/srch/search.rb 70.70% <0.00%> (+3.82%) 猬嗭笍
app/services/execute_search.rb 94.44% <0.00%> (+5.55%) 猬嗭笍

app/models/comment.rb Outdated Show resolved Hide resolved
@kimcheung kimcheung changed the title Create function for yahoo quote present Create function to test yahoo quote present Oct 20, 2020
@kimcheung
Copy link
Contributor Author

@publiclab/reviewers looks like the Travis CI here failed during build setup of downloading dependencies. How do I retrigger the run?

@tawahpeggy
Copy link

@kimcheung did everything go well on your machine or did you only notice errors during the PR?

@kimcheung
Copy link
Contributor Author

kimcheung commented Oct 20, 2020

@tawahpeggy I didn't run any tests locally... just when I created the PR. How do I run the tests locally?

@tawahpeggy
Copy link

am not really sure but try this it might work Run : rails test to confirm that your install is working properly. Or rails test:system for system tests

@kimcheung
Copy link
Contributor Author

kimcheung commented Oct 20, 2020

@tawahpeggy But I think since this is more a dependency downloading issue, I think retriggering the Travis CI should resolve the issue?

Just saw Jeff's response. closing this PR and re-opening should retrigger it. Thanks!

@kimcheung kimcheung closed this Oct 20, 2020
@kimcheung kimcheung reopened this Oct 20, 2020
@gitpod-io
Copy link

gitpod-io bot commented Oct 20, 2020

@tawahpeggy
Copy link

you are welcome please let me know when it woks, am eager to find out

@kimcheung
Copy link
Contributor Author

@tawahpeggy that did it; now it's properly failing on the tests

@codeclimate
Copy link

codeclimate bot commented Oct 21, 2020

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

View more on Code Climate.

@kimcheung kimcheung marked this pull request as ready for review October 21, 2020 03:17
@kimcheung kimcheung requested a review from a team as a code owner October 21, 2020 03:17
@kimcheung
Copy link
Contributor Author

@publiclab/reviewers please review :)

Copy link
Collaborator

@cesswairimu cesswairimu left a comment

Choose a reason for hiding this comment

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

馃帀

@cesswairimu cesswairimu merged commit 828321c into publiclab:main Oct 21, 2020
@cesswairimu
Copy link
Collaborator

Thanks @kimcheung for working on this 馃帀

piyushswain pushed a commit to piyushswain/plots2 that referenced this pull request Oct 22, 2020
* Create function for yahoo quote present

* Set return values in function

* Fix return

* refactor

* Add missing end

* Fix typo
manchere pushed a commit to manchere/plots2 that referenced this pull request Feb 13, 2021
* Create function for yahoo quote present

* Set return values in function

* Fix return

* refactor

* Add missing end

* Fix typo
lagunasmel pushed a commit to lagunasmel/plots2 that referenced this pull request Mar 2, 2021
* Create function for yahoo quote present

* Set return values in function

* Fix return

* refactor

* Add missing end

* Fix typo
reginaalyssa pushed a commit to reginaalyssa/plots2 that referenced this pull request Oct 16, 2021
* Create function for yahoo quote present

* Set return values in function

* Fix return

* refactor

* Add missing end

* Fix typo
ampwang pushed a commit to ampwang/plots2 that referenced this pull request Oct 26, 2021
* Create function for yahoo quote present

* Set return values in function

* Fix return

* refactor

* Add missing end

* Fix typo
billymoroney1 pushed a commit to billymoroney1/plots2 that referenced this pull request Dec 28, 2021
* Create function for yahoo quote present

* Set return values in function

* Fix return

* refactor

* Add missing end

* Fix typo
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.

Move .yahoo_quoted class checking to new function
3 participants