cookstyle
This commit is contained in:
Родитель
749174fc9e
Коммит
f41535f317
|
@ -78,5 +78,5 @@ module MacOS
|
|||
end
|
||||
end
|
||||
|
||||
Chef::Recipe.include(MacOS)
|
||||
Chef::DSL::Recipe.include(MacOS)
|
||||
Chef::Resource.include(MacOS)
|
||||
|
|
|
@ -35,5 +35,5 @@ module MacOS
|
|||
end
|
||||
end
|
||||
|
||||
Chef::Recipe.include(MacOS)
|
||||
Chef::DSL::Recipe.include(MacOS)
|
||||
Chef::Resource.include(MacOS)
|
||||
|
|
|
@ -32,5 +32,5 @@ module MacOS
|
|||
end
|
||||
end
|
||||
|
||||
Chef::Recipe.include(MacOS::MacOSUserHelpers)
|
||||
Chef::DSL::Recipe.include(MacOS::MacOSUserHelpers)
|
||||
Chef::Resource.include(MacOS::MacOSUserHelpers)
|
||||
|
|
|
@ -21,5 +21,5 @@ module MacOS
|
|||
end
|
||||
end
|
||||
|
||||
Chef::Recipe.include(MacOS)
|
||||
Chef::DSL::Recipe.include(MacOS)
|
||||
Chef::Resource.include(MacOS)
|
||||
|
|
|
@ -121,7 +121,5 @@ module MacOS
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
Chef::Recipe.include MacOS::PlistHelpers
|
||||
Chef::Resource.include MacOS::PlistHelpers
|
||||
Chef::DSL::Recipe.include MacOS::PlistHelpers
|
||||
|
|
|
@ -35,5 +35,5 @@ module MacOS
|
|||
end
|
||||
end
|
||||
|
||||
Chef::Recipe.include(MacOS)
|
||||
Chef::DSL::Recipe.include(MacOS)
|
||||
Chef::Resource.include(MacOS)
|
||||
|
|
|
@ -67,5 +67,5 @@ module MacOS
|
|||
end
|
||||
end
|
||||
|
||||
Chef::Recipe.include(MacOS)
|
||||
Chef::DSL::Recipe.include(MacOS)
|
||||
Chef::Resource.include(MacOS)
|
||||
|
|
|
@ -17,5 +17,5 @@ module MacOS
|
|||
end
|
||||
end
|
||||
|
||||
Chef::Recipe.include(MacOS::SoftwareUpdates)
|
||||
Chef::DSL::Recipe.include(MacOS::SoftwareUpdates)
|
||||
Chef::Resource.include(MacOS::SoftwareUpdates)
|
||||
|
|
|
@ -44,7 +44,5 @@ module MacOS
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
Chef::Recipe.include(MacOS::System)
|
||||
Chef::Resource.include(MacOS::System)
|
||||
Chef::DSL::Recipe.include(MacOS::System)
|
||||
|
|
|
@ -63,6 +63,7 @@ module MacOS
|
|||
return '>= 10.14.4' if Gem::Dependency.new('Xcode', '>= 11.0', '<= 11.3.1').match?('Xcode', @semantic_version)
|
||||
return '>= 10.15.2' if Gem::Dependency.new('Xcode', '>= 11.4').match?('Xcode', @semantic_version)
|
||||
end
|
||||
|
||||
class Simulator
|
||||
attr_reader :version
|
||||
|
||||
|
@ -174,5 +175,5 @@ module MacOS
|
|||
end
|
||||
end
|
||||
|
||||
Chef::Recipe.include(MacOS)
|
||||
Chef::DSL::Recipe.include(MacOS)
|
||||
Chef::Resource.include(MacOS)
|
||||
|
|
|
@ -59,5 +59,5 @@ module MacOS
|
|||
end
|
||||
end
|
||||
|
||||
Chef::Recipe.include(MacOS)
|
||||
Chef::DSL::Recipe.include(MacOS)
|
||||
Chef::Resource.include(MacOS)
|
||||
|
|
Загрузка…
Ссылка в новой задаче