diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-12 08:19:18 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-12 08:19:18 +0100 |
commit | 4d0ca679fbcb59301ffc7af98794c411c5061a0b (patch) | |
tree | 8353718f79e0de6c7c5ee2d6cab498bd3bebf565 /dev-ruby/thor/files | |
parent | 683e8a42fb208dee0d6289d084fb39ab17aa2b60 (diff) |
gentoo auto-resync : 12:06:2023 - 08:19:18
Diffstat (limited to 'dev-ruby/thor/files')
-rw-r--r-- | dev-ruby/thor/files/thor-1.2.2-no-coverage.patch | 29 |
1 files changed, 29 insertions, 0 deletions
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" |