Skip to content

Update dependency regex pattern #5

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

Merged
merged 1 commit into from
Sep 8, 2022

Conversation

JonoYang
Copy link
Member

@JonoYang JonoYang commented Sep 7, 2022

  • Update dependency regex pattern to match for "add_dependency" rather than just "dependency"
  • This fixes an issue where the word "dependency" in the description field would cause the GemfileParser to use the description as a dependency name
  • Add new test

Signed-off-by: Jono Yang jyang@nexb.com

    - Update dependency regex pattern to match for "add_dependency" rather than just "dependency"
    - This fixes an issue where the word "dependency" in the description field would cause the GemfileParser to use the description as a dependency name
    - Add new test

Signed-off-by: Jono Yang <jyang@nexb.com>
Copy link
Member

@pombredanne pombredanne left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks!

@pombredanne pombredanne merged commit bb33cac into master Sep 8, 2022
@pombredanne pombredanne deleted the update-dependency-regex-pattern branch September 8, 2022 16:42
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.

2 participants