inspec-core 3.0.64 → 3.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fetchers/git.rb +1 -1
- data/lib/fetchers/url.rb +4 -2
- data/lib/inspec/base_cli.rb +35 -9
- data/lib/inspec/cli.rb +6 -0
- data/lib/inspec/errors.rb +2 -0
- data/lib/inspec/ui.rb +216 -0
- data/lib/inspec/version.rb +1 -1
- data/lib/resources/mysql_session.rb +1 -1
- metadata +33 -9
- data/CHANGELOG.md +0 -3603
- data/Gemfile +0 -52
- data/MAINTAINERS.md +0 -33
- data/MAINTAINERS.toml +0 -52
- data/inspec-core.gemspec +0 -44
data/Gemfile
DELETED
@@ -1,52 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
source 'https://rubygems.org'
|
3
|
-
gemspec name: 'inspec'
|
4
|
-
|
5
|
-
gem 'ffi', '>= 1.9.14'
|
6
|
-
gem 'aws-sdk', '~> 2'
|
7
|
-
|
8
|
-
group :test do
|
9
|
-
gem 'bundler', '~> 1.5'
|
10
|
-
gem 'minitest', '~> 5.5'
|
11
|
-
gem 'rake', '>= 10'
|
12
|
-
gem 'rubocop', '= 0.49.1'
|
13
|
-
gem 'simplecov', '~> 0.10'
|
14
|
-
gem 'concurrent-ruby', '~> 1.0'
|
15
|
-
gem 'mocha', '~> 1.1'
|
16
|
-
gem 'ruby-progressbar', '~> 1.8'
|
17
|
-
gem 'webmock', '~> 2.3.2'
|
18
|
-
gem 'jsonschema', '~> 2.0.2'
|
19
|
-
gem 'passgen'
|
20
|
-
gem 'm'
|
21
|
-
gem 'pry-byebug'
|
22
|
-
end
|
23
|
-
|
24
|
-
group :integration do
|
25
|
-
gem 'berkshelf', '~> 5.2'
|
26
|
-
gem 'test-kitchen', '~> 1.6'
|
27
|
-
gem 'kitchen-vagrant'
|
28
|
-
# we need winrm v2 support >= 0.15.1
|
29
|
-
gem 'kitchen-inspec', '>= 0.15.1'
|
30
|
-
gem 'kitchen-ec2'
|
31
|
-
gem 'kitchen-dokken'
|
32
|
-
end
|
33
|
-
|
34
|
-
group :tools do
|
35
|
-
gem 'pry', '~> 0.10'
|
36
|
-
gem 'rb-readline'
|
37
|
-
gem 'license_finder'
|
38
|
-
gem 'git', '~> 1.4'
|
39
|
-
end
|
40
|
-
|
41
|
-
# gems for Maintainers.md generation
|
42
|
-
group :maintenance do
|
43
|
-
gem 'tomlrb'
|
44
|
-
|
45
|
-
# To sync maintainers with github
|
46
|
-
gem 'octokit'
|
47
|
-
gem 'netrc'
|
48
|
-
end
|
49
|
-
|
50
|
-
group :deploy do
|
51
|
-
gem 'inquirer'
|
52
|
-
end
|
data/MAINTAINERS.md
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
<!-- This is a generated file. Please do not edit directly -->
|
2
|
-
|
3
|
-
<!-- Modify MAINTAINERS.toml and run `rake maintainers:generate` to regenerate. -->
|
4
|
-
|
5
|
-
# Maintainers
|
6
|
-
|
7
|
-
This file lists how the InSpec project is maintained. When making changes to the
|
8
|
-
system, this file tells you who needs to review your patch - you need at least
|
9
|
-
two maintainers to provide a :+1: on your pull request. Additionally, you need
|
10
|
-
to not receive a veto from a Lieutenant or the Project Lead.
|
11
|
-
Check out [How Chef is Maintained](https://github.com/chef/chef-rfc/blob/master/rfc030-maintenance-policy.md#how-the-project-is-maintained)
|
12
|
-
for details on the process, how to become a maintainer, lieutenant, or the
|
13
|
-
project lead.
|
14
|
-
|
15
|
-
## Components
|
16
|
-
|
17
|
-
## InSpec
|
18
|
-
|
19
|
-
Handles the [InSpec](https://github.com/chef/inspec) toolset.
|
20
|
-
|
21
|
-
To mention the team, use @chef/inspec-maintainers
|
22
|
-
|
23
|
-
### Lieutenant
|
24
|
-
|
25
|
-
* [Dominik Richter](https://github.com/arlimus)
|
26
|
-
|
27
|
-
### Maintainers
|
28
|
-
|
29
|
-
* [Christoph Hartmann](https://github.com/chris-rock)
|
30
|
-
* [Adam Leff](https://github.com/adamleff)
|
31
|
-
* [Alex Pop](https://github.com/alexpop)
|
32
|
-
* [Jared Quick](https://github.com/jquick)
|
33
|
-
|
data/MAINTAINERS.toml
DELETED
@@ -1,52 +0,0 @@
|
|
1
|
-
[Preamble]
|
2
|
-
title = "Maintainers"
|
3
|
-
text = """
|
4
|
-
This file lists how the InSpec project is maintained. When making changes to the
|
5
|
-
system, this file tells you who needs to review your patch - you need at least
|
6
|
-
two maintainers to provide a :+1: on your pull request. Additionally, you need
|
7
|
-
to not receive a veto from a Lieutenant or the Project Lead.
|
8
|
-
Check out [How Chef is Maintained](https://github.com/chef/chef-rfc/blob/master/rfc030-maintenance-policy.md#how-the-project-is-maintained)
|
9
|
-
for details on the process, how to become a maintainer, lieutenant, or the
|
10
|
-
project lead.
|
11
|
-
"""
|
12
|
-
|
13
|
-
[Org]
|
14
|
-
[Org.Components]
|
15
|
-
title = "Components"
|
16
|
-
|
17
|
-
[Org.Components.InSpec]
|
18
|
-
title = "InSpec"
|
19
|
-
text = """
|
20
|
-
Handles the [InSpec](https://github.com/chef/inspec) toolset.
|
21
|
-
"""
|
22
|
-
team = "inspec-maintainers"
|
23
|
-
|
24
|
-
lieutenant = "arlimus"
|
25
|
-
|
26
|
-
maintainers = [
|
27
|
-
"chris-rock",
|
28
|
-
"adamleff",
|
29
|
-
"alexpop",
|
30
|
-
"jquick"
|
31
|
-
]
|
32
|
-
|
33
|
-
[people]
|
34
|
-
[people.arlimus]
|
35
|
-
Name = "Dominik Richter"
|
36
|
-
GitHub = "arlimus"
|
37
|
-
|
38
|
-
[people.chris-rock]
|
39
|
-
Name = "Christoph Hartmann"
|
40
|
-
GitHub = "chris-rock"
|
41
|
-
|
42
|
-
[people.adamleff]
|
43
|
-
Name = "Adam Leff"
|
44
|
-
GitHub = "adamleff"
|
45
|
-
|
46
|
-
[people.alexpop]
|
47
|
-
Name = "Alex Pop"
|
48
|
-
GitHub = "alexpop"
|
49
|
-
|
50
|
-
[people.jquick]
|
51
|
-
Name = "Jared Quick"
|
52
|
-
GitHub = "jquick"
|
data/inspec-core.gemspec
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
lib = File.expand_path('../lib', __FILE__)
|
2
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
-
require 'inspec/version'
|
4
|
-
|
5
|
-
Gem::Specification.new do |spec|
|
6
|
-
spec.name = 'inspec-core'
|
7
|
-
spec.version = Inspec::VERSION
|
8
|
-
spec.authors = ['Dominik Richter']
|
9
|
-
spec.email = ['dominik.richter@gmail.com']
|
10
|
-
spec.summary = 'Just InSpec'
|
11
|
-
spec.description = 'Core InSpec, local support only. See `inspec` for full support.'
|
12
|
-
spec.homepage = 'https://github.com/chef/inspec'
|
13
|
-
spec.license = 'Apache-2.0'
|
14
|
-
|
15
|
-
spec.files = %w{README.md MAINTAINERS.toml MAINTAINERS.md LICENSE
|
16
|
-
inspec-core.gemspec Gemfile CHANGELOG.md} +
|
17
|
-
Dir.glob('{bin,lib,etc}/**/*', File::FNM_DOTMATCH)
|
18
|
-
.reject { |f| File.directory?(f) || f =~ /aws|azure|gcp/ }
|
19
|
-
|
20
|
-
spec.executables = %w{inspec}
|
21
|
-
spec.require_paths = ['lib']
|
22
|
-
|
23
|
-
spec.required_ruby_version = '>= 2.3'
|
24
|
-
|
25
|
-
spec.add_dependency 'train-core', '~> 1.5', '>= 1.5.6'
|
26
|
-
spec.add_dependency 'thor', '~> 0.20'
|
27
|
-
spec.add_dependency 'json', '>= 1.8', '< 3.0'
|
28
|
-
spec.add_dependency 'method_source', '~> 0.8'
|
29
|
-
spec.add_dependency 'rubyzip', '~> 1.1'
|
30
|
-
spec.add_dependency 'rspec', '~> 3'
|
31
|
-
spec.add_dependency 'rspec-its', '~> 1.2'
|
32
|
-
spec.add_dependency 'hashie', '~> 3.4'
|
33
|
-
spec.add_dependency 'mixlib-log'
|
34
|
-
spec.add_dependency 'pry', '~> 0'
|
35
|
-
spec.add_dependency 'sslshake', '~> 1.2'
|
36
|
-
spec.add_dependency 'parallel', '~> 1.9'
|
37
|
-
spec.add_dependency 'faraday', '>=0.9.0'
|
38
|
-
spec.add_dependency 'tomlrb', '~> 1.2'
|
39
|
-
spec.add_dependency 'addressable', '~> 2.4'
|
40
|
-
spec.add_dependency 'parslet', '~> 1.5'
|
41
|
-
spec.add_dependency 'semverse'
|
42
|
-
spec.add_dependency 'htmlentities'
|
43
|
-
spec.add_dependency 'multipart-post'
|
44
|
-
end
|