Commit ee6164d
feat(ruby): emit dependency relationships from Gemfile.lock
Parse each gem's dependency list from Gemfile.lock into a new
RubyGemfileLockEntry metadata type and use the shared dependency.Processor
to resolve dependency-of relationships between locked gems, matching the
pattern used by the other lockfile catalogers (elixir, python, rust, ...).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Chris Greeno <cgreeno@gmail.com>1 parent 656a4d4 commit ee6164d
13 files changed
Lines changed: 4840 additions & 20 deletions
File tree
- internal
- packagemetadata
- schema/json
- syft/pkg
- cataloger/ruby
- testdata/relationships
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
0 commit comments