inspec-core-bin 4.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: ecd6774978a37d9d36acba9ef7d8263fbf24c896
4
+ data.tar.gz: bc421a71181c04cbf5233377652c9b91c3b3d778
5
+ SHA512:
6
+ metadata.gz: 88687126260ee638c3bd64d64ca5121529f726c3618df99559ad65676ddad089019ab3ea286bd715546c4ca1f92fb15288195c163eb54ea5d17c973cf1752f2d
7
+ data.tar.gz: a6be65b1d013bfee0c6ba503f3fcde5eefd33c5c688cfd80fd9d16a5663b0c842b58b9a57838ae50ad161028dd7aa0825bc8e9bd9957b06cc8e53be42e3d29a0
data/Gemfile ADDED
@@ -0,0 +1,2 @@
1
+ source 'https://rubygems.org'
2
+ gemspec name: 'inspec-bin'
data/LICENSE ADDED
@@ -0,0 +1,13 @@
1
+ Copyright (c) 2019 Chef Software Inc.
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
data/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # inspec-bin
2
+
3
+ This gem exists so that we can publish the `inspec` executable in a separate gem from the main `inspec` library gem. This permits the community to use Chef InSpec as a library.
data/bin/inspec ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # encoding: utf-8
3
+ # Copyright 2015 Dominik Richter
4
+ # author: Dominik Richter
5
+ # author: Christoph Hartmann
6
+
7
+ Encoding.default_external = Encoding::UTF_8
8
+ Encoding.default_internal = Encoding::UTF_8
9
+
10
+ lib = File.expand_path('../lib', __FILE__)
11
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
12
+
13
+ require 'inspec'
14
+ require 'inspec/cli'
15
+ Inspec::InspecCLI.start(ARGV)
@@ -0,0 +1,30 @@
1
+ lib = File.expand_path('../lib', __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require 'inspec-bin/version'
4
+
5
+ # This is just link inspec-bin, but relies on inspec-core instead of inspec
6
+ # inspec-core is a stripped-down version of the inspec gem with fewer exotic dependencies
7
+
8
+ Gem::Specification.new do |spec|
9
+ spec.name = 'inspec-core-bin' # dallas multi-pass
10
+ spec.version = InspecBin::VERSION
11
+ spec.authors = ['Chef InSpec Core Engineering ']
12
+ spec.email = ['inspec@chef.io']
13
+ spec.summary = 'Infrastructure and compliance testing.'
14
+ spec.description = 'InSpec executable for inspec-core gem. Use of this executable may require accepting a license agreement.'
15
+ spec.homepage = 'https://github.com/inspec/inspec/tree/master/inspec-bin'
16
+ spec.license = 'Apache-2.0'
17
+
18
+ spec.require_paths = ['lib']
19
+ spec.required_ruby_version = '>= 2.4'
20
+
21
+ spec.add_dependency 'inspec-core', "= #{InspecBin::VERSION}"
22
+ spec.add_development_dependency 'rake'
23
+
24
+ spec.files = %w{README.md LICENSE Gemfile} + [ 'inspec-core-bin.gemspec' ] +
25
+ Dir.glob('{lib,bin}/**/*', File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
26
+
27
+ spec.bindir = 'bin'
28
+ spec.executables = %w{inspec}
29
+
30
+ end
@@ -0,0 +1,5 @@
1
+ # This file managed by automation - do not edit manually
2
+ module InspecBin
3
+ INSPECBIN_ROOT = File.expand_path('../..', __FILE__)
4
+ VERSION = '4.3.2'.freeze
5
+ end
metadata ADDED
@@ -0,0 +1,80 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: inspec-core-bin
3
+ version: !ruby/object:Gem::Version
4
+ version: 4.3.2
5
+ platform: ruby
6
+ authors:
7
+ - 'Chef InSpec Core Engineering '
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-05-01 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: inspec-core
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
19
+ version: 4.3.2
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '='
25
+ - !ruby/object:Gem::Version
26
+ version: 4.3.2
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: InSpec executable for inspec-core gem. Use of this executable may require
42
+ accepting a license agreement.
43
+ email:
44
+ - inspec@chef.io
45
+ executables:
46
+ - inspec
47
+ extensions: []
48
+ extra_rdoc_files: []
49
+ files:
50
+ - Gemfile
51
+ - LICENSE
52
+ - README.md
53
+ - bin/inspec
54
+ - inspec-core-bin.gemspec
55
+ - lib/inspec-bin/version.rb
56
+ homepage: https://github.com/inspec/inspec/tree/master/inspec-bin
57
+ licenses:
58
+ - Apache-2.0
59
+ metadata: {}
60
+ post_install_message:
61
+ rdoc_options: []
62
+ require_paths:
63
+ - lib
64
+ required_ruby_version: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '2.4'
69
+ required_rubygems_version: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: '0'
74
+ requirements: []
75
+ rubyforge_project:
76
+ rubygems_version: 2.6.14.3
77
+ signing_key:
78
+ specification_version: 4
79
+ summary: Infrastructure and compliance testing.
80
+ test_files: []