From 979386acd5b6902cf12d3922946ee0d5d1ced288 Mon Sep 17 00:00:00 2001 From: Uday Kadaboina Date: Mon, 7 Jun 2021 22:26:49 -0400 Subject: [PATCH 1/2] fix Thor's deprecation error --- bin/derailed | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/derailed b/bin/derailed index c130bc1..7cc94bf 100755 --- a/bin/derailed +++ b/bin/derailed @@ -20,6 +20,9 @@ Bundler.setup require 'thor' class DerailedBenchmarkCLI < Thor + def self.exit_on_failure? + true + end desc "exec", "executes given derailed benchmark" def exec(task = nil) From 334ebc409a5f597f8e106ac4f1bd1cedfe0b89d6 Mon Sep 17 00:00:00 2001 From: Uday Kadaboina Date: Tue, 8 Jun 2021 17:13:03 -0400 Subject: [PATCH 2/2] Added CHANGELOG entry --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fb70f0..aaa0466 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ ## HEAD +- Fix Thor's deprecation warning by implementing `exit_on_failure?` (https://github.com/schneems/derailed_benchmarks/pull/195) + ## 2.1.0 - Add `perf:heap_diff` tool (https://github.com/schneems/derailed_benchmarks/pull/193)