inspec-core 2.1.67 → 2.1.68

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 16e38659f62c071a242589bc3cf542fa2d8e8566572cbd9ec04ad46d12ae71ce
4
- data.tar.gz: 4faeb68aee1ee8c85c2ff5d7beb88a402caa234fd0b4000e385ac893193380f1
3
+ metadata.gz: 7b45f2228cf91a9a8725124ba908aee9e15d63427c8db029efbd92ee938762a3
4
+ data.tar.gz: 9b15fb0d8d46c156d89b48d9a66083418f00817a1a6d73cdc9b2bc4372f87682
5
5
  SHA512:
6
- metadata.gz: 4699c26690926278b01bf03152d2169cfc741d22ffb1ab967626ff5743f2ff93451116eb751b1172a8a32469a378646c6e06fb78d4784723f8ea87d57cb23453
7
- data.tar.gz: 43bac119d887e378efd7a43e1a907a9e54731deb0fc1bc929c11e1f7fdae7af65bce963f775d876b1fad7687f6c65bc65fc103743ef5e8d2d7b757ab3efe1c51
6
+ metadata.gz: 5d84530277b1da871dc15d47fa0317d60c53ff409971ba53fdf455c69a0e3e5c4eed456a0edbce5506121c0e73d449e3e250d9eb2c26c544548ac895ea0d181b
7
+ data.tar.gz: de0677b2f6e91f7436e9e7afea69e030cf415512143a1497a498ade79f647738a9ae853dbe5358df32f2f284eedfe542e28ad6cc01d69712fcc442fc74c07dd3
data/CHANGELOG.md CHANGED
@@ -1,33 +1,39 @@
1
1
  # Change Log
2
2
  <!-- usage documentation: http://expeditor-docs.es.chef.io/configuration/changelog/ -->
3
- <!-- latest_release 2.1.67 -->
4
- ## [v2.1.67](https://github.com/chef/inspec/tree/v2.1.67) (2018-05-03)
3
+ <!-- latest_release 2.1.68 -->
4
+ ## [v2.1.68](https://github.com/chef/inspec/tree/v2.1.68) (2018-05-04)
5
5
 
6
- #### Bug Fixes
7
- - Add A2 support for profile compliance depends [#3014](https://github.com/chef/inspec/pull/3014) ([jquick](https://github.com/jquick))
6
+ #### Merged Pull Requests
7
+ - Fix the A2 vendoring with depends on the A2 server [#3022](https://github.com/chef/inspec/pull/3022) ([jquick](https://github.com/jquick))
8
8
  <!-- latest_release -->
9
9
 
10
- <!-- release_rollup since=2.1.59 -->
11
- ### Changes since 2.1.59 release
10
+ <!-- release_rollup since=2.1.67 -->
11
+ ### Changes since 2.1.67 release
12
12
 
13
- #### New Features
14
- - #2810 - Add check if aws s3 bucket is encrypted. [#2937](https://github.com/chef/inspec/pull/2937) ([UranusBytes](https://github.com/UranusBytes)) <!-- 2.1.64 -->
13
+ #### Merged Pull Requests
14
+ - Fix the A2 vendoring with depends on the A2 server [#3022](https://github.com/chef/inspec/pull/3022) ([jquick](https://github.com/jquick)) <!-- 2.1.68 -->
15
+ <!-- release_rollup -->
15
16
 
16
- #### Bug Fixes
17
- - Add A2 support for profile compliance depends [#3014](https://github.com/chef/inspec/pull/3014) ([jquick](https://github.com/jquick)) <!-- 2.1.67 -->
18
- - nginx_conf resource: Fix include paths with quotes [#2726](https://github.com/chef/inspec/pull/2726) ([jerryaldrichiii](https://github.com/jerryaldrichiii)) <!-- 2.1.63 -->
17
+ <!-- latest_stable_release -->
18
+ ## [v2.1.67](https://github.com/chef/inspec/tree/v2.1.67) (2018-05-03)
19
+
20
+ #### New Features
21
+ - #2810 - Add check if aws s3 bucket is encrypted. [#2937](https://github.com/chef/inspec/pull/2937) ([UranusBytes](https://github.com/UranusBytes))
19
22
 
20
23
  #### Enhancements
21
- - Split inspec into a core gem. [#3008](https://github.com/chef/inspec/pull/3008) ([miah](https://github.com/miah)) <!-- 2.1.65 -->
22
- - Refactors Terraform plan to break out steps [#2996](https://github.com/chef/inspec/pull/2996) ([dmccown](https://github.com/dmccown)) <!-- 2.1.61 -->
24
+ - Refactors Terraform plan to break out steps [#2996](https://github.com/chef/inspec/pull/2996) ([dmccown](https://github.com/dmccown))
25
+ - Split inspec into a core gem. [#3008](https://github.com/chef/inspec/pull/3008) ([miah](https://github.com/miah))
23
26
 
24
- #### Merged Pull Requests
25
- - Add inspec-core gem to expeditor release [#3018](https://github.com/chef/inspec/pull/3018) ([jquick](https://github.com/jquick)) <!-- 2.1.66 -->
26
- - cmp should recognise a string being a negative int [#3007](https://github.com/chef/inspec/pull/3007) ([james-stocks](https://github.com/james-stocks)) <!-- 2.1.62 -->
27
- - Update Habitat plan [#3000](https://github.com/chef/inspec/pull/3000) ([jerryaldrichiii](https://github.com/jerryaldrichiii)) <!-- 2.1.60 -->
28
- <!-- release_rollup -->
27
+ #### Bug Fixes
28
+ - nginx_conf resource: Fix include paths with quotes [#2726](https://github.com/chef/inspec/pull/2726) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
29
+ - Add A2 support for profile compliance depends [#3014](https://github.com/chef/inspec/pull/3014) ([jquick](https://github.com/jquick))
29
30
 
31
+ #### Merged Pull Requests
32
+ - Update Habitat plan [#3000](https://github.com/chef/inspec/pull/3000) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
33
+ - cmp should recognise a string being a negative int [#3007](https://github.com/chef/inspec/pull/3007) ([james-stocks](https://github.com/james-stocks))
34
+ - Add inspec-core gem to expeditor release [#3018](https://github.com/chef/inspec/pull/3018) ([jquick](https://github.com/jquick))
30
35
  <!-- latest_stable_release -->
36
+
31
37
  ## [v2.1.59](https://github.com/chef/inspec/tree/v2.1.59) (2018-04-26)
32
38
 
33
39
  #### Enhancements
@@ -40,7 +46,6 @@
40
46
  - Makes JSON resource enumerable, despite method_missing magic [#2910](https://github.com/chef/inspec/pull/2910) ([TheLonelyGhost](https://github.com/TheLonelyGhost))
41
47
  - Fix case where res is nil in etc_group [#2984](https://github.com/chef/inspec/pull/2984) ([chris-rock](https://github.com/chris-rock))
42
48
  - os_env resource returns only user&#39;s environment variable on Windows [#2945](https://github.com/chef/inspec/pull/2945) ([omar-irizarry](https://github.com/omar-irizarry))
43
- <!-- latest_stable_release -->
44
49
 
45
50
  ## [v2.1.54](https://github.com/chef/inspec/tree/v2.1.54) (2018-04-19)
46
51
 
@@ -96,6 +96,12 @@ module Compliance
96
96
  %r{^#{@config['server']}/owners/(?<owner>[^/]+)/compliance/(?<id>[^/]+)/tar$}
97
97
  end.match(@target)
98
98
 
99
+ if Compliance::API.is_automate2_server?(@config)
100
+ m = {}
101
+ m[:owner] = @config['profile'][0]
102
+ m[:id] = @config['profile'][1]
103
+ end
104
+
99
105
  raise 'Unable to determine compliance profile name. This can be caused by ' \
100
106
  'an incorrect server in your configuration. Try to login to compliance ' \
101
107
  'via the `inspec compliance login` command.' if m.nil?
@@ -4,5 +4,5 @@
4
4
  # author: Christoph Hartmann
5
5
 
6
6
  module Inspec
7
- VERSION = '2.1.67'
7
+ VERSION = '2.1.68'
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inspec-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.67
4
+ version: 2.1.68
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominik Richter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-03 00:00:00.000000000 Z
11
+ date: 2018-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: train-core