summaryrefslogtreecommitdiff
path: root/dev-ruby/thor/files
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/thor/files')
-rw-r--r--dev-ruby/thor/files/thor-1.2.2-no-coverage.patch29
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"