-
Notifications
You must be signed in to change notification settings - Fork 206
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to mySQL5.7, Ruby warning reductions, .md file updates #355
Conversation
@coderjolly would you be able to pick a time to go over the macOS setup instructions with me really quick? I already have everything installed so these could be off need a 2nd person to look! |
@jywarren I haven't gone through everything yet but a lot of these errors come from gems so they might be there for a while. Instead I made a file |
Hey @sashadev-sky, really awesome work, sorry haven't gone through the PR closely. I can review it on Friday(busy with exams rn). I guess, as barnraising is over, @jywarren will be back soon. Thank you! |
@gauravano no problem good luck! |
Thank you! |
This is really epic, @sashadev-sky !!!!! Amazing! Just a few small Qs and we're fine to merge this! |
@jywarren thank you!! I still have not added the ability to set them up with Travis, I was waiting on some feedback first (do we want it to run with Travis instead of the default tests?) |
I believe we're aiming for MK to run on whatever we have configured in the Docker container, as we'll be increasingly treating that as the standard. So if it runs in Travis, we should be good on Mysql versions! |
@jywarren Ok there is no version specified in the docker container for mysql as far as I can see. Does it just run with whatever it finds locally installed in the terminal session? @icarito please advise if you know! all Rake Test Task related things have been moved into PR #380 so discussion over that here can be closed now. 👍 |
@jywarren so after moving the rake test tasks into a different PR there isn't a lot else going on here, just a clean up mostly (see PR description). Do you think this is ready for merge? Couldn't find any macOS takers to test out the mysql instructions but I figure that'll work itself out as more people start contributing |
Yes, this looks super. Thanks! Merging!!! |
…clab#355) * delete old rails configurations * update pr template * update readme and docker image name * add a mysql setup file * update broken recaptcha link * use File.exist? instead * bump mysql2 * control mysql2 gem * add custom rake test functions to provide option to suppress warnings * small edit to mysql.md * another one * add rake task for total tests * add a require for sass gem * update deprecated URI.encode * undo a comment on Rakefile I made * ensure consistency for rake task names * migrate rake tasks to new branch * update readme * update encoding method
references #347, #345
Make sure these boxes are checked before your pull request is ready to be reviewed and merged. Thanks!
rake test
Thanks!
===========
Points that I bolded I would like some confirmation on:
Notes on mySQL update
Notes on Ruby Warnings (unrelated to mySQL update)
File.exists?
(deprecated since ruby 2.2.0) updated toFile.exist?
everywhere in repo but made little impact almost all of them come from gems and from the source code for running a rake test. Source code is updated toFile.exist?
for Rails 4. Current recommendation: turn off warningsWARN: tilt autoloading 'sass' in a non thread-safe way; explicit require 'sass' suggested.
: added a require to the sass gem in the gemfile to create an explicit require callURI.encode obsolete
-> replaced with.to_param
in repoURI.escape obsolete
error (they are alias methods) but this error is not in our repo it is in gemsMisc
==========