inspec 4.37.25 → 4.37.30

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +12 -0
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d3f1ee39ee011c2af222b99392a3192fa5f1fe93324a038090e0cbff4a630242
4
- data.tar.gz: 87df9cd5c6f93850efd04517a43bdd6dfd5b2f2085f96f4336d06fdc7169d949
3
+ metadata.gz: 8111ebc34a934ea311092125b48cd46047c31a7b8c13ba00d65be14ff9c10d3b
4
+ data.tar.gz: 000f0eef35c028468496a9511ae7c876773d716c76092d5515fcda8dff09f9b9
5
5
  SHA512:
6
- metadata.gz: 209a880dd2e8d7489b5223ff6ce8d34b7406032f41a6e5cebf04c3946f8611bd5bcada092b71524412074c525cac325371399e7fdf178f8d01186c2bc15e9935
7
- data.tar.gz: c16c0cc4b711ededc4b0c8a9bc6991c41c8aed7fc7ba8e8929b40317f0563b78d6ac9f96d27fd229ff854cad821643e08f6eeb69e82b28f670a2a7bf87d300f8
6
+ metadata.gz: 35a840e69af1ddd95d56938f93f4b6e76ad63fef52aade848bc79d1f76c8f8fb48ba71a560d465e09a8ade6932915a1c22208172a51a7d0d582d4ae68d1c8437
7
+ data.tar.gz: 6b00d38a8b3f23f7853fa03425adaf7e836e70ea6acac92b1d3344ea1ef5116aa1bfaaa4bd954eb7adbbf3cdf1d73080164c582bacd1d1de2aac09a1d40375df
data/Gemfile CHANGED
@@ -20,11 +20,22 @@ end
20
20
  # but our runtime dep is still 3.9+
21
21
  gem "rspec", ">= 3.10"
22
22
 
23
+ def probably_x86?
24
+ # We don't currently build on ARM windows, so assume x86 there
25
+ return true if RUBY_PLATFORM =~ /windows|mswin|msys|mingw|cygwin/
26
+
27
+ # Otherwise rely on uname -m
28
+ `uname -m`.match?(/^(x86_64|i\d86)/)
29
+ end
30
+
23
31
  group :omnibus do
24
32
  gem "rb-readline"
25
33
  gem "appbundler"
26
34
  gem "ed25519" # ed25519 ssh key support done here as its a native gem we can't put in the gemspec
27
35
  gem "bcrypt_pbkdf" # ed25519 ssh key support done here as its a native gem we can't put in the gemspec
36
+ if probably_x86?
37
+ gem "x25519" # ed25519 KEX module, not supported on ARM
38
+ end
28
39
  end
29
40
 
30
41
  group :test do
@@ -55,6 +66,7 @@ end
55
66
  if Gem.ruby_version >= Gem::Version.new("2.7.0")
56
67
  group :kitchen do
57
68
  gem "berkshelf"
69
+ gem "chef", ">= 16.0" # Required to allow net-ssh > 6
58
70
  gem "test-kitchen", ">= 2.8"
59
71
  gem "kitchen-inspec", ">= 2.0"
60
72
  gem "kitchen-dokken", ">= 2.11"
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.37.25
4
+ version: 4.37.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chef InSpec Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-04 00:00:00.000000000 Z
11
+ date: 2021-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inspec-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 4.37.25
19
+ version: 4.37.30
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 4.37.25
26
+ version: 4.37.30
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: train
29
29
  requirement: !ruby/object:Gem::Requirement