Merge pull request #14020 from samford/allow-livecheck-block-in-on_system-blocks
Allow livecheck method in on_system blocks
This commit is contained in:
commit
c6b7836368
@ -120,14 +120,15 @@ module RuboCop
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
on_system_allowed_methods = %w[
|
on_system_allowed_methods = %w[
|
||||||
depends_on
|
livecheck
|
||||||
patch
|
keg_only
|
||||||
resource
|
|
||||||
deprecate!
|
|
||||||
disable!
|
disable!
|
||||||
|
deprecate!
|
||||||
|
depends_on
|
||||||
conflicts_with
|
conflicts_with
|
||||||
fails_with
|
fails_with
|
||||||
keg_only
|
resource
|
||||||
|
patch
|
||||||
ignore_missing_libraries
|
ignore_missing_libraries
|
||||||
]
|
]
|
||||||
on_system_allowed_methods += on_system_methods.map(&:to_s)
|
on_system_allowed_methods += on_system_methods.map(&:to_s)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user