inspec-core-bin 4.22.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/LICENSE +13 -0
- data/README.md +3 -0
- data/bin/inspec +11 -0
- data/inspec-core-bin.gemspec +30 -0
- data/lib/inspec-bin/version.rb +5 -0
- metadata +79 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 62dd877a4bed0dc51fed11dbb49899af811a01f804adc8426155639af36a5e13
|
4
|
+
data.tar.gz: 0775aaceca2fa9b567d806aa4ad57d64fae7da09315d1bede849131f4aecf40d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 968190736f6e1130d8903c94074e3786438016f7360be4732e3639c397fb77e41c43576e953d5a5dbb92e3164b15719e9b4577aab451a2e8993457cce2169426
|
7
|
+
data.tar.gz: 375516c672472376d2a4881b656bbd9e83adf5562c3b9a6b8263c33d43c2e5f31972f30588154280ac3638409f677e1437bc84a711297b0d2e8adf5d2eb6b270
|
data/Gemfile
ADDED
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
data/bin/inspec
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# Copyright 2015 Dominik Richter
|
3
|
+
|
4
|
+
Encoding.default_external = Encoding::UTF_8
|
5
|
+
Encoding.default_internal = Encoding::UTF_8
|
6
|
+
|
7
|
+
lib = File.expand_path("../lib", __FILE__)
|
8
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
9
|
+
|
10
|
+
require "inspec/cli"
|
11
|
+
Inspec::InspecCLI.start(ARGV, enforce_license: true)
|
@@ -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
|
metadata
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: inspec-core-bin
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 4.22.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- 'Chef InSpec Core Engineering '
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-07-20 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.22.1
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 4.22.1
|
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
|
+
rubygems_version: 3.0.3
|
76
|
+
signing_key:
|
77
|
+
specification_version: 4
|
78
|
+
summary: Infrastructure and compliance testing.
|
79
|
+
test_files: []
|