Skip to content

Bundler: Convert FileParser specs to projects #3188

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
Feb 25, 2021

Conversation

jurre
Copy link
Member

@jurre jurre commented Feb 24, 2021

Mostly using #3027
with some manual fixing afterwards.

@jurre jurre requested a review from a team as a code owner February 24, 2021 11:12
@feelepxyz
Copy link
Contributor

Looks like there are a couple spec failures and seeing this in the error output ruby -rubygems -e 'require "jekyll-import"; is this new? https://github.com/dependabot/dependabot-core/pull/3188/checks?check_run_id=1969526284

end
let(:gemfile_fixture_name) { "version_specified" }
let(:lockfile_fixture_name) { "bundler_2.lock" }
let(:dependency_files) { project_dependency_files("bundler1/version_specified_bundler_2") }
Copy link
Contributor

Choose a reason for hiding this comment

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

Not for now but adding a mental note to go through fixtures once we add support for bundler 2 and move to bundler2/..

support_file: true
)
end
let(:dependency_files) { project_dependency_files("bundler1/version_specified_gemfile_specification") }
Copy link
Contributor

Choose a reason for hiding this comment

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

does this not need the same support_file = true setup?

Copy link
Member Author

Choose a reason for hiding this comment

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

It might? I thought all tests were passing locally but it seems I may have missed one or two, this might be one of them!

Copy link
Contributor

@feelepxyz feelepxyz left a comment

Choose a reason for hiding this comment

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

Added some questions around the spec failures. LGTM once specs are 🟢

@jurre jurre force-pushed the jurre/bundler-file-parser-spec-projects branch from fa7099a to 9e6a356 Compare February 24, 2021 15:33
Mostly using #3027
with some manual fixing afterwards.
@jurre jurre force-pushed the jurre/bundler-file-parser-spec-projects branch from 9e6a356 to 5ca6f67 Compare February 25, 2021 08:31
@jurre jurre merged commit ce711fc into main Feb 25, 2021
@jurre jurre deleted the jurre/bundler-file-parser-spec-projects branch February 25, 2021 10:55
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