inspec-bin 4.22.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 7a54d0491426abd10dc9ec25e3a7c0db9097ae3702d50e7f1c808920a16041a2
4
+ data.tar.gz: 4107f91c78ce296a91e06a7f4238fe3df637b22c9d3d43d43f9356ffef8430cb
5
+ SHA512:
6
+ metadata.gz: c9e7c7bf0240e817d4c7388aae43400e20123b2a7d08ad168c017d453668b60f3cc5150132a27ceb549bab913839b55b1be2b8207a6379eda4c464c16563aa7b
7
+ data.tar.gz: bb121fad05cfd9334e9cf9c2e5a404c6bc075dec9c40f416a8abd5b8032e248d060b11a34d7781bc8c64e53b9c9ba04b63469617398ea562555b73609e94a566
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source "https://rubygems.org"
2
+ main_gemspec = File.expand_path("../inspec-bin.gemspec", __FILE__)
3
+ if File.exist?(main_gemspec)
4
+ gemspec name: "inspec-bin"
5
+ else
6
+ gemspec name: "inspec-core-bin"
7
+ end
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.
@@ -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.
@@ -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,27 @@
1
+ lib = File.expand_path("../lib", __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require "inspec-bin/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "inspec-bin"
7
+ spec.version = InspecBin::VERSION
8
+ spec.authors = ["Chef InSpec Core Engineering "]
9
+ spec.email = ["inspec@chef.io"]
10
+ spec.summary = "Infrastructure and compliance testing."
11
+ spec.description = "InSpec executable for inspec gem. Use of this executable may require accepting a license agreement."
12
+ spec.homepage = "https://github.com/inspec/inspec/tree/master/inspec-bin"
13
+ spec.license = "Apache-2.0"
14
+
15
+ spec.require_paths = ["lib"]
16
+ spec.required_ruby_version = ">= 2.4"
17
+
18
+ spec.add_dependency "inspec", "= #{InspecBin::VERSION}"
19
+ spec.add_development_dependency "rake"
20
+
21
+ spec.files = %w{README.md LICENSE Gemfile} + Dir.glob("*.gemspec") +
22
+ Dir.glob("{lib,bin}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
23
+
24
+ spec.bindir = "bin"
25
+ spec.executables = %w{inspec}
26
+
27
+ end
@@ -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.22.1".freeze
5
+ end
metadata ADDED
@@ -0,0 +1,80 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: inspec-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
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 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-bin.gemspec
55
+ - inspec-core-bin.gemspec
56
+ - lib/inspec-bin/version.rb
57
+ homepage: https://github.com/inspec/inspec/tree/master/inspec-bin
58
+ licenses:
59
+ - Apache-2.0
60
+ metadata: {}
61
+ post_install_message:
62
+ rdoc_options: []
63
+ require_paths:
64
+ - lib
65
+ required_ruby_version: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '2.4'
70
+ required_rubygems_version: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ requirements: []
76
+ rubygems_version: 3.0.3
77
+ signing_key:
78
+ specification_version: 4
79
+ summary: Infrastructure and compliance testing.
80
+ test_files: []