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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for rails 6 #96

Merged

Conversation

RowanMcDonald
Copy link
Contributor

/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

  1. update ruby-version to 2.6 which is required by rails 6 (well it requires 2.5+ but why not... 🤷‍♂)

  2. ruby 2.6 is not supported by rubocop 0.51.0, so I updated that to 0.61.0

  3. The newer version of rubocop has a lot of "suggestions" for this repo so I ran bundle exec rubocop --auto-correct and then rm .rubocop_todo.yml; bundle exec rubocop --auto-gen-config to ignore anything that wasn't auto corrected.

  4. generate a rails 6 appraisal

  5. update the build matrix to include the rails 6 appraisal.

notes

  1. 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.

  2. 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!

@nanda-prbot
Copy link

Needs somebody from @Betterment/test_track_core to claim domain review
Needs somebody from @aburgel, @jmileham, @effron, and @smudge to claim platform review

Use the shovel operator to claim, e.g.:

@myname << domain && platform

.travis.yml Outdated
- gemfiles/rails_6_0.gemfile

matrix:
allow_failures:
Copy link
Member

Choose a reason for hiding this comment

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

This can be exclude:

@smudge
Copy link
Member

smudge commented Jan 7, 2020

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

@nanda-prbot
Copy link

Needs somebody from @Betterment/test_track_core to claim domain review

Use the shovel operator to claim, e.g.:

@myname << domain && platform

@RowanMcDonald
Copy link
Contributor Author

bump, I reverted updating the min required ruby and updated the travis config.

@nanda-prbot
Copy link

Needs somebody from @Betterment/test_track_core to claim domain review

Use the shovel operator to claim, e.g.:

@myname << domain && platform

@smudge
Copy link
Member

smudge commented Jan 7, 2020

<< domain LGTM && platform LGTM

@nanda-prbot
Copy link

Approved! 🙌 👻 ✨

@RowanMcDonald RowanMcDonald merged commit 0dff30f into Betterment:master Jan 8, 2020
@RowanMcDonald RowanMcDonald deleted the rowan/support_rails_6 branch January 8, 2020 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants