update rubocop 0.35.1

This commit is contained in:
Dominik Richter 2015-11-13 01:03:15 +01:00
parent 007594eef7
commit 6cbe3466fb
3 changed files with 3 additions and 3 deletions

View file

@ -41,7 +41,7 @@ class RegistryKey < Inspec.resource(1)
val = registry_value(@reg_key, meth) val = registry_value(@reg_key, meth)
# verify data # verify data
if (val[:exit_code] == 0) if val[:exit_code] == 0
return convert_value(val[:data]) return convert_value(val[:data])
else else
return nil return nil

View file

@ -41,7 +41,7 @@ class SecurityPolicy < Inspec.resource(1)
def method_missing(method) def method_missing(method)
# load data if needed # load data if needed
if (@loaded == false) if @loaded == false
load load
end end

View file

@ -42,7 +42,7 @@ class SimpleConfig
start_idx = 2 start_idx = 2
i = 0 i = 0
count = values - 1 count = values - 1
return match[start_idx] if (values == 1) return match[start_idx] if values == 1
# iterate over expected parameters # iterate over expected parameters
values = [] values = []