From 1132ae6ff7482c9fe6500ab13a2dc16291cf94f7 Mon Sep 17 00:00:00 2001 From: Watson Date: Wed, 28 Nov 2012 23:50:25 +0900 Subject: [PATCH] fix a bug which cannot detecting file dependencies when include a nesting class This patch will fix https://gist.github.com/4160705 --- lib/motion/project/builder.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/motion/project/builder.rb b/lib/motion/project/builder.rb index 09af7c20..a5d4f214 100644 --- a/lib/motion/project/builder.rb +++ b/lib/motion/project/builder.rb @@ -677,6 +677,10 @@ PLIST @referred << name end end + + def on_const_path_ref(parent, args) + on_var_ref(args) + end end end end; end