Last active
March 14, 2022 12:24
-
-
Save leiless/1f81c8979c8879b53afe1a31b42d2619 to your computer and use it in GitHub Desktop.
etsy/mctop patches
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/bin/mctop b/bin/mctop | |
index 20da5f8..f09070e 100755 | |
--- a/bin/mctop | |
+++ b/bin/mctop | |
@@ -23,7 +23,7 @@ sort_order = :desc | |
done = false | |
# trap most of the typical signals | |
-%w[ INT QUIT HUP KILL ].each do |sig| | |
+%w[ INT QUIT HUP ].each do |sig| | |
Signal.trap(sig) do | |
puts "** Caught signal #{sig} - exiting" | |
done = true | |
diff --git a/mctop.gemspec b/mctop.gemspec | |
index 507e2e5..2998fe5 100644 | |
--- a/mctop.gemspec | |
+++ b/mctop.gemspec | |
@@ -15,6 +15,6 @@ Gem::Specification.new do |gem| | |
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } | |
gem.require_paths = ["lib"] | |
- gem.add_runtime_dependency 'ruby-pcap', '= 0.7.8' | |
- gem.add_runtime_dependency 'curses', '~> 1.0.1' | |
+ gem.add_runtime_dependency 'ruby-pcap', '= 0.8.0' | |
+ gem.add_runtime_dependency 'curses', '= 1.4.4' | |
end |
Author
leiless
commented
Mar 14, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment