Skip to content

Commit 336dfc5

Browse files
committed
(MAINT) Add rubocop config to gemspec
This commit adds .rubocop.yml as a required file in the gemspec. This is so that other puppet-lint plugins can inherit a common set of rules. Ultimately this could make navigating the landscape easier if coding style is simiar.
1 parent 78daf10 commit 336dfc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

puppet-lint.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ Gem::Specification.new do |spec|
1313
spec.files = Dir[
1414
'README.md',
1515
'LICENSE',
16+
'.rubocop.yml',
1617
'lib/**/*',
1718
'bin/**/*',
18-
'spec/**/*',
1919
]
2020
spec.executables = Dir['bin/**/*'].map { |f| File.basename(f) }
2121
spec.require_paths = ['lib']
@@ -31,5 +31,5 @@ Gem::Specification.new do |spec|
3131
]
3232
spec.license = 'MIT'
3333

34-
spec.required_ruby_version = Gem::Requirement.new(">= 2.7".freeze)
34+
spec.required_ruby_version = Gem::Requirement.new('>= 2.7'.freeze)
3535
end

0 commit comments

Comments
 (0)