Skip to content

Commit

Permalink
Update libraries/compliance.rb to use inspec 1.27.0 API. Bumped versi…
Browse files Browse the repository at this point in the history
…on in metadata. Fixes #232

Signed-off-by: qubitrenegade <qubitrenegade@gmail.com>
  • Loading branch information
qubitrenegade authored and chris-rock committed Jun 29, 2017
1 parent ba845f8 commit bb239cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libraries/compliance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def login_to_compliance(server, user, access_token, refresh_token)
config['server'] = server
config['token'] = access_token
config['insecure'] = true
config['version'] = Compliance::API.version(server, true)
config['version'] = Compliance::API.version(server)
config.store
else
Chef::Log.error msg
Expand Down
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
license 'Apache-2.0'
description 'Allows for fetching and executing compliance profiles, and reporting its results'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '4.0.0'
version '4.0.1'

source_url 'https://github.com/chef-cookbooks/audit'
issues_url 'https://github.com/chef-cookbooks/audit/issues'
Expand Down

0 comments on commit bb239cc

Please sign in to comment.