inspec-cloudformation 0.0.4 → 0.0.5

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
2
  SHA256:
3
- metadata.gz: 84d84c23a0a26abdbb5043ef7d209f0ca47021be1d83c4713e68a380f1750937
4
- data.tar.gz: bf790958e6ff825b7e88f18137466b88dcbb5acdfe561b1ac9efa7eb5d089bd5
3
+ metadata.gz: e96908dc7e410048189fb3e7e4ddd8ddcde32109204a2f2b4cb3e792907bdd47
4
+ data.tar.gz: a4dd5efe5c88c82778eb421627df4fd0ff8daf454a08d49a466143563036c6e9
5
5
  SHA512:
6
- metadata.gz: 3be38104a21d39f805b88a6c1e76e68ec323720bcfcddc7ad8c2559919c878d34d6582deb1268426891d83c92235d13e78758b1a56f99d908edb742aff063443
7
- data.tar.gz: b6a097f49229b9c574f7a2c81e4cf540408c2f3e908a4756f86782637214f350170305340fa40a93c6e4bd964348d8e7732b324725d7269a7b7ee07f14cf41d9
6
+ metadata.gz: df1da2ff6388e562e048f9f73ec6f495a24e339483021895d0d5048abfc309723492ab5fed8e3013e33d041b778e981ddd01ebe4e25d38e7bff1f778d90e4bc6
7
+ data.tar.gz: 3512c44a93d000d5f6acca4cbb050ad0e632adab8eb585b4f175f5124fdb4cfeca392f3bbbc8c67c05f0c75401c29b545d38c46e6958389e9d3576820b8427cc
@@ -71,10 +71,10 @@ module InspecPlugins::CloudFormation
71
71
  # VALID_PATTERNS.any? { |regex| regex.match? input }
72
72
  # end
73
73
 
74
- # def fetch_plugin_setting(setting_name, default = nil)
75
- # env_var_name = "INSPEC_CLOUDFORMATION_#{setting_name.upcase}"
76
- # ENV[env_var_name] || plugin_conf[setting_name] || default
77
- # end
74
+ def fetch_plugin_setting(setting_name, default = nil)
75
+ env_var_name = "INSPEC_CLOUDFORMATION_#{setting_name.upcase}"
76
+ ENV[env_var_name] || plugin_conf[setting_name] || default
77
+ end
78
78
 
79
79
  end
80
80
  end
@@ -3,6 +3,6 @@
3
3
  # to learn the current version.
4
4
  module InspecPlugins
5
5
  module CloudFormation
6
- VERSION = "0.0.4".freeze
6
+ VERSION = "0.0.5".freeze
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inspec-cloudformation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Boutte