From 4d0ca679fbcb59301ffc7af98794c411c5061a0b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 12 Jun 2023 08:19:18 +0100 Subject: gentoo auto-resync : 12:06:2023 - 08:19:18 --- dev-ruby/thor/files/thor-1.2.2-no-coverage.patch | 29 ++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 dev-ruby/thor/files/thor-1.2.2-no-coverage.patch (limited to 'dev-ruby/thor/files') diff --git a/dev-ruby/thor/files/thor-1.2.2-no-coverage.patch b/dev-ruby/thor/files/thor-1.2.2-no-coverage.patch new file mode 100644 index 000000000000..f57cbfeb63f5 --- /dev/null +++ b/dev-ruby/thor/files/thor-1.2.2-no-coverage.patch @@ -0,0 +1,29 @@ +--- a/spec/helper.rb ++++ b/spec/helper.rb +@@ -1,17 +1,5 @@ + $TESTING = true + +-if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("2.6.0") +- require "simplecov" +- require "coveralls" +- +- SimpleCov.formatters = [SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter] +- +- SimpleCov.start do +- add_filter "/spec" +- minimum_coverage(90) +- end +-end +- + $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "..", "lib")) + require "thor" + require "thor/group" +@@ -22,8 +10,6 @@ require "rspec" + require "diff/lcs" # You need diff/lcs installed to run specs (but not to run Thor). + require "webmock/rspec" + +-WebMock.disable_net_connect!(:allow => "coveralls.io") +- + # Set shell to basic + ENV["THOR_COLUMNS"] = "10000" + $0 = "thor" -- cgit v1.2.3