rubygem-rspec2-core/Fix-rubygem-expression_parser-test-failure.patch

13 lines
467 B
Diff
Raw Normal View History

diff -Naur a/lib/rspec/core/ruby_project.rb b/lib/rspec/core/ruby_project.rb
--- a/lib/rspec/core/ruby_project.rb 2023-08-11 16:28:19.863503691 +0800
+++ b/lib/rspec/core/ruby_project.rb 2023-08-11 16:29:29.028511667 +0800
@@ -24,7 +24,7 @@
end
def find_first_parent_containing(dir)
- ascend_until {|path| File.exists?(File.join(path, dir))}
+ ascend_until {|path| File.exist?(File.join(path, dir))}
end
def ascend_until