mirror of
https://github.com/inspec/inspec
synced 2025-02-16 14:08:36 +00:00
CHEF-11996: Move cookstyle as a dependency to inspec-core.gemspec (#7034)
* gem: Add cookstyle as a dependency for inspec-core.gemspec Signed-off-by: Sonu Saha <sonu.saha@progress.com> * chore: fix lint of empty newlines Signed-off-by: Sonu Saha <sonu.saha@progress.com> --------- Signed-off-by: Sonu Saha <sonu.saha@progress.com>
This commit is contained in:
parent
9939b0d220
commit
9ab6a463d0
2 changed files with 6 additions and 4 deletions
|
@ -57,6 +57,12 @@ Source code obtained from the Chef GitHub repository is made available under Apa
|
|||
spec.add_dependency "semverse", "~> 3.0"
|
||||
spec.add_dependency "multipart-post", "~> 2.0"
|
||||
|
||||
# cookstyle support for inspec check
|
||||
# This was initially included in 'inspec.gemspec' to keep 'chef-client' lightweight.
|
||||
# However, it has been moved to 'inspec-core.gemspec' due to a dependency on the 'ast' gem,
|
||||
# which was causing a LoadError ('cannot load such file -- ast') for users/applications using 'inspec-core'.
|
||||
spec.add_dependency "cookstyle"
|
||||
|
||||
spec.add_dependency "train-core", ">= 3.11.0"
|
||||
spec.add_dependency "chef-licensing", ">= 0.7.5"
|
||||
end
|
||||
|
|
|
@ -35,10 +35,6 @@ Source code obtained from the Chef GitHub repository is made available under Apa
|
|||
spec.add_dependency "inspec-core", "= #{Inspec::VERSION}"
|
||||
|
||||
spec.add_dependency "train", "~> 3.10"
|
||||
|
||||
# cookstyle support for inspec check
|
||||
# Added here not because they are compiled, but to keep chef-client lightweight
|
||||
spec.add_dependency "cookstyle"
|
||||
spec.add_dependency "rake"
|
||||
|
||||
# progress bar streaming reporter plugin support
|
||||
|
|
Loading…
Add table
Reference in a new issue