Skip to main content

Chef/Ruby/GemspecLicense

Cookstyle cops page

The Cookstyle cops department: Chef/Ruby

Enabled by defaultSupports autocorrectionTarget Chef Version
Not EnabledNoAll 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>

Thank you for your feedback!

×









Search Results