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

Sort out how to identify Ruby dependencies and find source #181

Open
waynebeaton opened this issue Sep 22, 2022 · 0 comments
Open

Sort out how to identify Ruby dependencies and find source #181

waynebeaton opened this issue Sep 22, 2022 · 0 comments

Comments

@waynebeaton
Copy link
Member

I'm thinking that we work from the Gemfile.lock, but haven't gotten much further than this.

It looks like Ruby has a gem that can provide dependency information. The Gemfile.lock appears to contain version ranges, but we need to resolve them to a specific version, so we'll likely suggest the use of this gem.

e.g.,

GEM
  remote: https://rubygems.org/
  specs:
    ast (2.4.2)
    bcrypt (3.1.18)
    chunky_png (1.4.0)
    daemons (1.4.1)
    eventmachine (1.2.7)
    haml (5.2.2)
      temple (>= 0.8.0)
      tilt
    jwt (2.4.1)
    multi_json (1.15.0)
    mustermann (1.1.1)
      ruby2_keywords (~> 0.0.1)
...

Once we have the dependency information, we need to sort out how ClearlyDefined expects the ID be formed.

We then need to make sure that we have some means of tracking that ID to source.

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

No branches or pull requests

1 participant