3d8c6cc3c3
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/rubygem-rspec-support#da0a03f80dbb1ba22d8be1a8d253345770c6bb1b
12 lines
602 B
Diff
12 lines
602 B
Diff
--- rspec-support-3.2.1/spec/rspec/support/caller_filter_spec.rb.regex 2015-02-09 09:09:58.000000000 +0900
|
|
+++ rspec-support-3.2.1/spec/rspec/support/caller_filter_spec.rb 2015-02-09 09:19:58.589718748 +0900
|
|
@@ -15,7 +15,7 @@
|
|
describe "the filtering regex" do
|
|
def ruby_files_in_lib(lib)
|
|
# http://rubular.com/r/HYpUMftlG2
|
|
- path = $LOAD_PATH.find { |p| p.match(/\/rspec-#{lib}(-[a-f0-9]+)?\/lib/) }
|
|
+ path = $LOAD_PATH.find { |p| p.match(/\/rspec-#{lib}(-[a-f0-9\.]+)?\/lib/) }
|
|
|
|
Dir["#{path}/**/*.rb"].sort.tap do |files|
|
|
# Just a sanity check...
|