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

Pass tests on Rails 6 and fix deprecated #1215

Merged
merged 1 commit into from
Mar 12, 2019
Merged

Conversation

jasl
Copy link
Contributor

@jasl jasl commented Mar 11, 2019

Summary

  • Refactor dummy app preventing Rails 6 crash
  • Rails 6 needs rspec-rails 4 to pass some cases (relates to view, I think it because tenderlove give a big refactor on actionview)
  • Fix deprecated update_attributes -> update, this no harm for older Rails
  • Add Rails 6 to build matrix
  • Pinned Rails 6 as default local development dependency

Other Information

This is just a initial work, although it pass tests on Rails 6, Zeitwerk breaks old extending way, I have to fix it for my app. I already committed an issue #1211

Also, Doorkeeper's build matrix is huge, and since Devise and other popular gems starting remove support of Rails 4 and Ruby 2.1 - 2.3, I suggest Doorkeeper follow them, we can discuss at #1212

spec/dummy/config/application.rb Show resolved Hide resolved
Gemfile Show resolved Hide resolved
@jasl
Copy link
Contributor Author

jasl commented Mar 11, 2019

There still some DEPRECATION Warning caused by Rspec, ignored for now

@jasl jasl changed the title Pass tests on Rails 6 Pass tests on Rails 6 and fix deprecated Mar 11, 2019
@jasl
Copy link
Contributor Author

jasl commented Mar 11, 2019

I think this PR have 2 parts so I will not squash as Danger suggest for now

@jasl
Copy link
Contributor Author

jasl commented Mar 12, 2019

@nbulaj I think I've done this, you can review if you have time

@nbulaj nbulaj self-requested a review March 12, 2019 08:02
Copy link
Member

@nbulaj nbulaj left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Could you please squash the commits?

@jasl
Copy link
Contributor Author

jasl commented Mar 12, 2019

squashed, waiting CI pass

@nbulaj nbulaj merged commit 5a27106 into doorkeeper-gem:master Mar 12, 2019
@nbulaj
Copy link
Member

nbulaj commented Mar 12, 2019

Thanks @jasl ! Great work 👍

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.

3 participants