lib/tap/support/gems/rake.rb in bahuvrihi-tap-0.10.1 vs lib/tap/support/gems/rake.rb in bahuvrihi-tap-0.10.2
- old
+ new
@@ -57,13 +57,13 @@
end
super
end
- def have_rakefile(indir=nil)
- return super() if indir == nil
- Tap::Root.indir(indir) { super() }
+ def have_rakefile(dir=nil)
+ return super() if dir == nil
+ Tap::Root.chdir(dir) { super() }
end
protected
NAMESPACE_STR = %Q{
@@ -84,7 +84,7 @@
end
end
end
Rake.application.extend Tap::Support::Gems::Rake
-Tap::Env.manifests[:rakefiles] = Tap::Support::RakeManifest
+Tap::Env.manifests[:rakefiles] = Tap::Support::Gems::RakeManifest