Skip to content

Do not use private investigator 🕵🏻‍♂️#37

Merged
mmozuras merged 2 commits intoprontolabs:masterfrom
sunny:do-not-use-private-investigator
Feb 3, 2019
Merged

Do not use private investigator 🕵🏻‍♂️#37
mmozuras merged 2 commits intoprontolabs:masterfrom
sunny:do-not-use-private-investigator

Conversation

@sunny
Copy link
Copy Markdown
Contributor

@sunny sunny commented Nov 2, 2018

Replaces the call to RuboCop's private method :inspect_file so as not to rely on private internals.

Also :

  • Rename inspect method in order not to overwrite Ruby's inspect method.
  • Fetch the target ruby version from the config rather than from RUBY_VERSION.

This pull request depends on #36, so reading the diff that this PR introduces will be easier by reading the "Do not use private investigator" commit (cd35206).

@sunny
Copy link
Copy Markdown
Contributor Author

sunny commented Nov 13, 2018

Thank you @doomspork for starting to look into these PRs!

@mmozuras mmozuras merged commit f9c7cac into prontolabs:master Feb 3, 2019
@sunny sunny deleted the do-not-use-private-investigator branch February 4, 2019 13:24
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.

3 participants