-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
The published openai gem is missing the license field in its gemspec file, which prevents the license information from being displayed on the gem's RubyGems page and causes failures in automated compliance audits.
Current Behavior
- The gem's RubyGems page at https://rubygems.org/gems/openai shows no license information
- The repository clearly states the code is under Apache-2.0 license
- The LICENSE file exists in the repository
https://rubygems.org/gems/openai

license_finder result:
Dependencies that need approval:
openai, 0.31.0, unknown
Error: Process completed with exit code 1.
Expected Behavior
The gemspec should include the license field so that:
- The license is properly displayed on RubyGems.org
- Automated tools can properly detect the gem's license
- Users can verify licensing compliance programmatically
Suggested Fix
Add the following line to openai.gemspec:
spec.license = "Apache-2.0"Why This Matters
- Compliance: Many organizations require license information to be explicitly declared for dependency scanning (
license_findergem) - Transparency: Users should be able to see the license information directly on RubyGems.org
- Best Practices: Including the license in the gemspec is a Ruby community best practice
- Tooling: Dependency management tools (like Bundler's
bundle licensescommand) rely on this field
krzysztofjablonski
Metadata
Metadata
Assignees
Labels
No labels