12 lines
577 B
Diff
12 lines
577 B
Diff
--- rspec-support-3.0.4/spec/rspec/support/caller_filter_spec.rb.regex 2014-08-15 17:30:49.000000000 +0900
|
|
+++ rspec-support-3.0.4/spec/rspec/support/caller_filter_spec.rb 2014-08-15 17:31:29.000000000 +0900
|
|
@@ -6,7 +6,7 @@
|
|
describe CallerFilter 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...
|