Chef/Ruby/GemspecLicense
The Cookstyle cops department: Chef/Ruby
Enabled by default | Supports autocorrection | Target Chef Version |
---|---|---|
Not Enabled | No | All Versions |
All gemspec files should define their license.
Examples
good
spec.license = “Apache-2.0”
## Configurable attributes
<table>
<tbody><tr>
<th>Name</th>
<th>Default value</th>
<th>Configurable values</th>
</tr>
<tr>
<td style="text-align:center">Version Added</td>
<td style="text-align:center"><nil></td>
<td style="text-align:center">String</td>
</tr>
<tr><td style="text-align:center">Include</td>
<td style="text-align:center"><ul>
</ul>
</td>
<td style="text-align:center">Array</td>
</tr></tbody></table>