From a4c4731982a359f1fbe3b193b16071b88ff73f5c Mon Sep 17 00:00:00 2001 From: mikeurbanski1 Date: Fri, 21 Aug 2020 08:54:26 -0500 Subject: [PATCH] sort checks in the same framework by number (#495) * sort checks in the same framework by number * Create a comparison key based on the check id (#500) The id is split into text and numbers. They are compared from left to right. It also handles leading zeros, which are placed after te number with one leading zero fewer. (1 -> 01 -> 001 ...) Co-authored-by: Jonas Eckert Co-authored-by: Jonas Eckert <59320234+angatha@users.noreply.github.com> Co-authored-by: Jonas Eckert --- HomebrewFormula/checkov.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HomebrewFormula/checkov.rb b/HomebrewFormula/checkov.rb index e18f642d3d4..ec90058e937 100644 --- a/HomebrewFormula/checkov.rb +++ b/HomebrewFormula/checkov.rb @@ -3,8 +3,8 @@ class Checkov < Formula desc "Shiny new formula" homepage "https://github.com/bridgecrewio/checkov" - url "https://files.pythonhosted.org/packages/13/9a/3ed5ffa9d698a725ef0b190cb57ef6d7226193ad6fcd929597d732a0ca41/checkov-1.0.494.tar.gz" - sha256 "e35f3561e20e6e6425dc13623a28e8dde61c95bc485e096bd0999a15cd907b7c" + url "https://files.pythonhosted.org/packages/60/89/b02e983d3fe3bd75341e163131ddcdb5b98d5e5af9b06c87788de0bd2abb/checkov-1.0.495.tar.gz" + sha256 "5eda17658c50838ceea2fa1fdae6611b606bb520b55216d850db28ee81f5ff1c" depends_on "python3"