aports/community/ruby-pathutil/tests-remove-unnecessary-requires.patch
Jakub Jirutka 27f1e437af community/ruby-pathutil: move from testing
Needed for jekyll.
2021-10-22 00:59:48 +02:00

20 lines
501 B
Diff

--- a/spec/rspec/helper.rb
+++ b/spec/rspec/helper.rb
@@ -2,11 +2,12 @@
# Copyright: 2015 - 2017 Jordon Bedwell - MIT License
# Encoding: utf-8
-require "support/coverage"
-require "luna/rspec/formatters/checks"
-require "rspec/helpers"
require "pathutil"
+require "pathname"
+require "tempfile"
+require "tmpdir"
+require "json"
-Dir[File.expand_path("../../support/**/*.rb", __FILE__)].each do |f|
+Dir[File.expand_path("../../support/matchers/*.rb", __FILE__)].each do |f|
require f
end