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

Fully qualify constants to be checked #1122

Merged
merged 4 commits into from
Feb 7, 2020

Conversation

olleolleolle
Copy link
Member

@olleolleolle olleolleolle commented Feb 3, 2020

Refer to constants in ways that their names never collide.

Description

See #974 for details.

This quote lists the route this PR took:

Another fix would be changing the defined? checks to look at the ::Expanded::Module::Path. I'm going to list other cases in the code base that this is done, so we can make a single consistent fix:

In order to see if tests are green - this PR disables rack adapters tests which suffer #1119

  - This relates to the issue #974
  - This tries to make the single consistent fix mentioned in that ticket
@olleolleolle olleolleolle force-pushed the fully-qualified-constants-lookup branch from 26e8ecd to f799b53 Compare February 3, 2020 19:56
@olleolleolle olleolleolle marked this pull request as ready for review February 3, 2020 20:36
@iMacTia
Copy link
Member

iMacTia commented Feb 7, 2020

@olleolleolle you can now pull latest from master and re-enable rack tests 👍

@olleolleolle
Copy link
Member Author

@iMacTia There - squash-ready!

Copy link
Member

@iMacTia iMacTia left a comment

Choose a reason for hiding this comment

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

Awesome! Thank you @olleolleolle 🎉

@iMacTia iMacTia merged commit d77c9ef into master Feb 7, 2020
@iMacTia iMacTia deleted the fully-qualified-constants-lookup branch February 7, 2020 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants