inspec 4.2.0.preview → 4.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 8114c17ed673de114cd1b869cffc981834e57abb
4
- data.tar.gz: 5f4bdb0617548cee5b60ca0adf3a0f2c2d508285
2
+ SHA256:
3
+ metadata.gz: b914b39e42bc9b11d4969b21634765b74555ecec86b6fab6eaed25c468e26cbf
4
+ data.tar.gz: cdfcbfda7bf8607219c27ebe3078f69e83b70121f49ba6261fe8247d1a9c9382
5
5
  SHA512:
6
- metadata.gz: 9db1040f08a657def6c3a719eb8ce6c8eb0106024cda21395dc452f21eebfd8892b5e6779c501061cc12e3e19ade491bc3d272717fbb01cb8797b62fe4afc19b
7
- data.tar.gz: 9b8863d0b896f9bc51c6b095ea373abd674ebb7e5464f16a7d0d2d0f2a055cc85ef97de8c53872a1110bcbdb43dad84e446adf1560b34b5fbe40789f78007acd
6
+ metadata.gz: 139866572fc50b631bafb7b3538a5a20e0eb9000df69c7e117227f365e5f0763377e9ae07b94b6b4d7c942189c6fd01aa49379a99e0bff9223026985a4d38603
7
+ data.tar.gz: 6d0b71d14fb76a39a09a928370cd00202366cb9afc7d316fa0398f64a3f79380aed67047757aee06ea5a77571f1537d1e7118b027358deecae77371344e8126a
data/Gemfile CHANGED
@@ -3,6 +3,13 @@ source 'https://rubygems.org'
3
3
 
4
4
  gem 'inspec', path: '.'
5
5
 
6
+ # This dependency is NOT used for normal gem deployment
7
+ # - instead, inspec-bin gemspec-depends on inspec
8
+ #
9
+ # However, AppBundler requires a top-level Gemfile.lock with inspec-bin
10
+ # in it in order to package the executable. Hence the odd backwards dependency.
11
+ gem 'inspec-bin', path: './inspec-bin'
12
+
6
13
  gem 'ffi', '>= 1.9.14'
7
14
 
8
15
  group :omnibus do
@@ -18,7 +18,6 @@ Gem::Specification.new do |spec|
18
18
  '{bin,lib,etc}/**/*', File::FNM_DOTMATCH
19
19
  ).reject { |f| File.directory?(f) }
20
20
 
21
- spec.executables = %w{inspec}
22
21
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
23
22
  .reject { |f| File.directory?(f) || f =~ %r{lib/plugins/.*/test/} }
24
23
  spec.require_paths = ['lib']
@@ -1,3 +1,3 @@
1
1
  module Inspec
2
- VERSION = '4.2.0.preview'.freeze
2
+ VERSION = '4.3.2'.freeze
3
3
  end
@@ -39,7 +39,7 @@ end
39
39
 
40
40
  module CorePluginBaseHelper
41
41
  let(:repo_path) { File.expand_path(File.join(__FILE__, '..', '..', '..', '..')) }
42
- let(:inspec_bin_path) { File.join(repo_path, 'bin', 'inspec') }
42
+ let(:inspec_bin_path) { File.join(repo_path, 'inspec-bin', 'bin', 'inspec') }
43
43
  let(:core_mock_path) { File.join(repo_path, 'test', 'unit', 'mock') }
44
44
  let(:core_fixture_plugins_path) { File.join(core_mock_path, 'plugins') }
45
45
  let(:core_config_dir_path) { File.join(core_mock_path, 'config_dirs') }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0.preview
4
+ version: 4.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominik Richter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-29 00:00:00.000000000 Z
11
+ date: 2019-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: train
@@ -398,15 +398,13 @@ description: InSpec provides a framework for creating end-to-end infrastructure
398
398
  InSpec in your change lifecycle for local testing, CI/CD, and deployment verification.
399
399
  email:
400
400
  - dominik.richter@gmail.com
401
- executables:
402
- - inspec
401
+ executables: []
403
402
  extensions: []
404
403
  extra_rdoc_files: []
405
404
  files:
406
405
  - Gemfile
407
406
  - LICENSE
408
407
  - README.md
409
- - bin/inspec
410
408
  - etc/deprecations.json
411
409
  - etc/plugin_filters.json
412
410
  - inspec.gemspec
@@ -828,12 +826,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
828
826
  version: '2.4'
829
827
  required_rubygems_version: !ruby/object:Gem::Requirement
830
828
  requirements:
831
- - - ">"
829
+ - - ">="
832
830
  - !ruby/object:Gem::Version
833
- version: 1.3.1
831
+ version: '0'
834
832
  requirements: []
835
- rubyforge_project:
836
- rubygems_version: 2.6.14.3
833
+ rubygems_version: 3.0.3
837
834
  signing_key:
838
835
  specification_version: 4
839
836
  summary: Infrastructure and compliance testing.
data/bin/inspec DELETED
@@ -1,12 +0,0 @@
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
- require_relative '../lib/inspec'
11
- require_relative '../lib/inspec/cli'
12
- Inspec::InspecCLI.start(ARGV)