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

Update gemspec to use require relative #19200

Conversation

adfoster-r7
Copy link
Contributor

@adfoster-r7 adfoster-r7 commented May 23, 2024

Update gemspec to use require relative, so that it can be used with external static analysis tools

I believe this will fix the following dependabot update issue of not being able to auto-generate update PRs:

image

As under the hood, only the first level of require_relative expressions are fetched and loaded by dependabot according to this comment: dependabot/feedback#393 (comment) and implementation: https://github.com/dependabot/dependabot-core/blob/13bf8117e4d1731a64a3d2bf8d1f56a000b4bfb0/bundler/lib/dependabot/bundler/file_fetcher.rb#L143-L154

Verification

  • Ensure CI passes

@adfoster-r7 adfoster-r7 added the rn-enhancement release notes enhancement label May 29, 2024
@adfoster-r7
Copy link
Contributor Author

Release Notes

Updates Metasploit's gemspec file to work with additional static analysis tools

@cgranleese-r7 cgranleese-r7 self-assigned this May 29, 2024
@cgranleese-r7 cgranleese-r7 merged commit 58b2fd2 into rapid7:master May 29, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rn-enhancement release notes enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants