lib/bubble-wrap.rb in bubble-wrap-0.2.1 vs lib/bubble-wrap.rb in bubble-wrap-0.3.0
- old
+ new
@@ -27,13 +27,13 @@
end
Motion::Project::App.setup do |app|
wrapper_files = []
- Dir.glob(File.join(File.dirname(__FILE__), 'bubble-wrap/*.rb')).each do |file|
+ Dir.glob(File.join(File.dirname(__FILE__), 'bubble-wrap/**/*.rb')).each do |file|
app.files << file
wrapper_files << file
end
pollution_file = File.expand_path(File.join(File.dirname(__FILE__), 'pollute.rb'))
- app.files << pollution_file
+ app.files.unshift pollution_file
app.files_dependencies pollution_file => wrapper_files
end