-
Notifications
You must be signed in to change notification settings - Fork 23
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
Add support for rails 6 #96
Add support for rails 6 #96
Conversation
.travis.yml
Outdated
- gemfiles/rails_6_0.gemfile | ||
|
||
matrix: | ||
allow_failures: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be exclude:
Changing the min required ruby version is probably a breaking change, right? We can probably do away with that for the sake of existing apps on older rubies, no? << platform TAFN |
Needs somebody from @Betterment/test_track_core to claim domain review Use the shovel operator to claim, e.g.:
|
bump, I reverted updating the min required ruby and updated the travis config. |
Needs somebody from @Betterment/test_track_core to claim domain review Use the shovel operator to claim, e.g.:
|
<< domain LGTM && platform LGTM |
Approved! 🙌 👻 ✨ |
/domain @Betterment/test_track_core
/platform @aburgel @jmileham @effron @smudge
In the path to upgrading, I've been running around resolving a bit of dependency hell 🔥.
The diff here is a lot larger than it is significant.
changes
update ruby-version to 2.6 which is required by rails 6 (well it requires 2.5+ but why not... 🤷♂)
ruby 2.6 is not supported by rubocop 0.51.0, so I updated that to 0.61.0
The newer version of rubocop has a lot of "suggestions" for this repo so I ran
bundle exec rubocop --auto-correct
and thenrm .rubocop_todo.yml; bundle exec rubocop --auto-gen-config
to ignore anything that wasn't auto corrected.generate a rails 6 appraisal
update the build matrix to include the rails 6 appraisal.
notes
If there's disagreement with the changes that rubocop --auto-correcting has introduced, I'm happy to shunt the entire thing into the todo.yml.
Also, I'm not very familiar with the internals of test track. If there are tests I should add so we can feel confident supporting rails 6, give me a shout!