mirror of
https://github.com/inspec/inspec
synced 2025-02-16 22:18:38 +00:00
linting
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
parent
a282204b41
commit
47ae89d46b
4 changed files with 6 additions and 7 deletions
|
@ -1,2 +1,2 @@
|
|||
source "https://rubygems.org"
|
||||
gemspec
|
||||
source 'https://rubygems.org'
|
||||
gemspec
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
# we need to force the install in order to overwrite the binstubs from
|
||||
# old inspec gems.
|
||||
Bundler::GemHelper.install_tasks force: true
|
||||
Bundler::GemHelper.install_tasks force: true
|
||||
|
|
|
@ -12,4 +12,4 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|||
|
||||
require 'inspec'
|
||||
require 'inspec/cli'
|
||||
Inspec::InspecCLI.start(ARGV)
|
||||
Inspec::InspecCLI.start(ARGV)
|
||||
|
|
|
@ -15,14 +15,13 @@ Gem::Specification.new do |spec|
|
|||
spec.require_paths = ['lib']
|
||||
spec.required_ruby_version = '>= 2.4'
|
||||
|
||||
|
||||
spec.add_dependency 'inspec', "= #{InspecBin::VERSION}"
|
||||
spec.add_development_dependency 'rake'
|
||||
|
||||
spec.files = %w{Rakefile LICENSE} + Dir.glob('*.gemspec') +
|
||||
Dir.glob('{lib}/**/*', File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
|
||||
Dir.glob('{lib}/**/*', File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
|
||||
|
||||
spec.bindir = 'bin'
|
||||
spec.executables = %w{ inspec }
|
||||
spec.executables = %w{inspec}
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue