lib/resources/inetd_conf.rb in inspec-1.21.0 vs lib/resources/inetd_conf.rb in inspec-1.22.0

- old
+ new

@@ -48,11 +48,11 @@ return @params = {} end # parse the file conf = SimpleConfig.new( content, - assignment_re: /^\s*(\S+?)\s+(.*?)\s+(.*?)\s+(.*?)\s+(.*?)\s+(.*?)\s+(.*?)\s*$/, - key_vals: 6, + assignment_regex: /^\s*(\S+?)\s+(.*?)\s+(.*?)\s+(.*?)\s+(.*?)\s+(.*?)\s+(.*?)\s*$/, + key_values: 6, multiple_values: false, ) @params = conf.params end