lib/ProMotion.rb in ProMotion-1.0.3 vs lib/ProMotion.rb in ProMotion-1.0.4
- old
+ new
@@ -3,10 +3,11 @@
end
require "ProMotion/version"
Motion::Project::App.setup do |app|
+ app.detect_dependencies = true
original_files = app.files
delegate = File.join(File.dirname(__FILE__), 'ProMotion/delegate/delegate.rb')
promotion_files = FileList[File.join(File.dirname(__FILE__), 'ProMotion/**/*.rb')].exclude(delegate).to_a
app.files = (promotion_files << delegate) + original_files
-end
\ No newline at end of file
+end