From 1b71d99f456cc4e78419c4be7b05e766ab1c1802 Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Sun, 9 Aug 2020 10:25:35 +0100 Subject: [PATCH] Fix order and grouping of cask stanzas - Put `desc` stanza after the `name` stanza - Add missing `vst3_plugin` stanza to the group containing `vst_plugin` --- Library/Homebrew/rubocops/cask/constants/stanza.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/rubocops/cask/constants/stanza.rb b/Library/Homebrew/rubocops/cask/constants/stanza.rb index e0bda8dc7bb52..301917550744e 100644 --- a/Library/Homebrew/rubocops/cask/constants/stanza.rb +++ b/Library/Homebrew/rubocops/cask/constants/stanza.rb @@ -6,7 +6,7 @@ module Cask module Constants STANZA_GROUPS = [ [:version, :sha256], - [:url, :appcast, :desc, :name, :homepage], + [:url, :appcast, :name, :desc, :homepage], [ :auto_updates, :conflicts_with, @@ -32,6 +32,7 @@ module Constants :service, :audio_unit_plugin, :vst_plugin, + :vst3_plugin, :artifact, :stage_only, ],