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

Feat: allow custom ruby file names #1345

Merged
merged 2 commits into from
Aug 19, 2020
Merged

Conversation

lili2311
Copy link
Contributor

@lili2311 lili2311 commented Aug 18, 2020

  • Ready for review
  • Follows CONTRIBUTING rules
  • Reviewed by Snyk internal team

What does this PR do?

Allow custom ruby file names to be tested when scanned with:

snyk test --file=rails.2.4.5.gemfile --package-manager=rubygems
snyk monitor --file=gemfiles/Gemfile.lock.rails-2.4.5 --package-manager=rubygems

Where should the reviewer start?

https://github.com/snyk/snyk/compare/feat/allow-custom-ruby-file-names?expand=1#diff-4871998b3f946a79dad807557f130ed6R5

Relies on this PR: #1344

@lili2311 lili2311 requested review from a team as code owners August 18, 2020 11:30
@ghost ghost requested review from ekbsnyk and orsagie August 18, 2020 11:30
@lili2311 lili2311 force-pushed the feat/allow-custom-ruby-file-names branch 2 times, most recently from 1eb9086 to 865c2da Compare August 18, 2020 11:35
@lili2311 lili2311 changed the title Feat/allow custom ruby file names Feat: allow custom ruby file names Aug 18, 2020
@lili2311 lili2311 force-pushed the feat/allow-custom-ruby-file-names branch from 865c2da to 54c92ce Compare August 18, 2020 13:46
orsagie and others added 2 commits August 18, 2020 14:46
Allow custom ruby file names to be tested when scanned with:

snyk test --file=rails.2.4.5.gemfile --package-manager=rubygems
snyk monitor --file=gemfiles/Gemfile.lock.rails-2.4.5 --package-manager=rubygems
@lili2311 lili2311 force-pushed the feat/allow-custom-ruby-file-names branch from 54c92ce to 42b3a51 Compare August 18, 2020 13:48
@github-actions
Copy link
Contributor

github-actions bot commented Aug 18, 2020

Expected release notes (by @lili2311)

features:
support custom ruby filenames with --file (42b3a51)

others (will not be included in Semantic-Release notes):
remove unused gemfile detection (de5db44)
9e97c07 Bumping snyk-docker-plugin to 3.17.0

  • I hereby acknowledge these release notes are 🥙 AWESOME 🥙

@@ -42,6 +41,80 @@ export const RubyTests: AcceptanceTests = {
);
},

'`test ruby-app-custom-names --file=123.gemfile.lock --package-manager=rubygems`': (
Copy link
Member

Choose a reason for hiding this comment

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

Could you add a test where we test also e.g. rails.2.4.5.gemfile files and not only lockfiles? Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@orsagie orsagie merged commit 1376d3a into master Aug 19, 2020
@orsagie orsagie deleted the feat/allow-custom-ruby-file-names branch August 19, 2020 07:26
@snyksec
Copy link

snyksec commented Aug 19, 2020

🎉 This PR is included in version 1.379.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

4 participants