lib/ProMotion.rb in ProMotion-0.3.0 vs lib/ProMotion.rb in ProMotion-0.4.0
- old
+ new
@@ -3,15 +3,7 @@
end
require "ProMotion/version"
Motion::Project::App.setup do |app|
-
- # Dir.glob(File.join(File.dirname(__FILE__), "ProMotion/**/*.rb")).each do |file|
- # app.files.unshift(file)
- # end
app.files = Dir.glob(File.join(File.dirname(__FILE__), 'ProMotion/**/*.rb')) | app.files
- app.files = Dir.glob(File.join(File.dirname(__FILE__), 'ProMotion/helpers/**/*.rb')) | app.files
- app.files = Dir.glob(File.join(File.dirname(__FILE__), 'ProMotion/modules/**/*.rb')) | app.files
- app.files = Dir.glob(File.join(File.dirname(__FILE__), 'ProMotion/ext/**/*.rb')) | app.files
-
end
\ No newline at end of file