diff --git a/rubygem-rspec-support-3.0.4-callerfilter-searchpath-regex.patch b/rubygem-rspec-support-3.0.4-callerfilter-searchpath-regex.patch new file mode 100644 index 0000000..0390d1f --- /dev/null +++ b/rubygem-rspec-support-3.0.4-callerfilter-searchpath-regex.patch @@ -0,0 +1,11 @@ +--- 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...