CycloneDX / cyclonedx-ruby-gem

Creates CycloneDX Software Bill of Materials (SBOM) from Ruby projects
https://cyclonedx.org/
Apache License 2.0
21 stars 20 forks source link

Pull licenses file from gem location instead of ./ #6

Closed jkbuster closed 5 years ago

jkbuster commented 5 years ago

Allows BOMs to be generated from within another repo's directory.

jkobti commented 5 years ago

Where should the licenses_file be in this case?

jkbuster commented 5 years ago

It should be in lib next to bom_builder.rb. When running cyclonedx-ruby from within your ruby project (cyclonedx-ruby -p . or cyclonedx-ruby -p project/), it would always look for the licenses_file within your project's directory instead of in the installed gem.