lib/sugarcube-gestures.rb in sugarcube-1.3.4 vs lib/sugarcube-gestures.rb in sugarcube-1.3.5

- old
+ new

@@ -10,6 +10,10 @@ insert_point = app.files.find_index { |file| file =~ /^(?:\.\/)?app\// } || 0 Dir.glob(File.join(File.dirname(__FILE__), 'sugarcube-gestures/**/*.rb')).reverse.each do |file| app.files.insert(insert_point, file) end + + cleanup = File.join(File.dirname(__FILE__), 'sugarcube/sugarcube_cleanup.rb') + gestures = File.join(File.dirname(__FILE__), 'sugarcube-gestures/gestures.rb') + app.files_dependencies gestures => [cleanup] end