Actually add patch
This commit is contained in:
parent
c90b80f3e3
commit
0132fd0d9d
1 changed files with 16 additions and 0 deletions
|
|
@ -0,0 +1,16 @@
|
|||
--- rspec-1.3.1/lib/spec/rake/spectask.rb.debug 2011-03-07 01:37:11.000000000 +0900
|
||||
+++ rspec-1.3.1/lib/spec/rake/spectask.rb 2011-03-07 01:53:58.000000000 +0900
|
||||
@@ -150,7 +150,12 @@
|
||||
desc "Run specs" + (rcov ? " using RCov" : "")
|
||||
end
|
||||
task name do
|
||||
- RakeFileUtils.verbose(verbose) do
|
||||
+ if defined? RakeFileUtils
|
||||
+ fileutils_module = RakeFileUtils
|
||||
+ else
|
||||
+ fileutils_module = ::Rake::FileUtilsExt
|
||||
+ end
|
||||
+ fileutils_module.verbose(verbose) do
|
||||
unless spec_file_list.empty?
|
||||
# ruby [ruby_opts] -Ilib -S rcov [rcov_opts] bin/spec -- examples [spec_opts]
|
||||
# or
|
||||
Loading…
Add table
Add a link
Reference in a new issue