inspec-bin skeleton

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
Clinton Wolfe 2019-04-25 18:50:20 -04:00 committed by tyler-ball
parent 1c3604cb1e
commit 54aa413e0c
4 changed files with 38 additions and 0 deletions

2
inspec-bin/Gemfile Normal file
View file

@ -0,0 +1,2 @@
source "https://rubygems.org"
gemspec

13
inspec-bin/LICENSE Normal file
View file

@ -0,0 +1,13 @@
Copyright (c) 2019 Chef Software Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View file

@ -0,0 +1,23 @@
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'inspec/version' # Always match inspec version
Gem::Specification.new do |spec|
spec.name = 'inspec-bin'
spec.version = Inspec::VERSION
spec.authors = ['Chef InSpec Core Engineering ']
spec.email = ['inspec@chef.io']
spec.summary = 'Infrastructure and compliance testing.'
spec.description = 'InSpec executable for inspec gem. Use of this executable requires a commercial relationship Chef Software.'
spec.homepage = 'https://github.com/inspec/inspec'
spec.license = 'Apache-2.0'
# the gemfile and gemspec are necessary for appbundler so don't remove it
spec.files = %w{Gemfile inspec-bin.gemspec LICENSE} + Dir.glob(
'{bin,lib}/**/*', File::FNM_DOTMATCH
).reject { |f| File.directory?(f) }
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.4'
end