Instead have dependencies built from your files
app.files_dependencies {
'app/foo_controller.rb' => 'app/app_controller.rb',
'app/baz_controller.rb' => 'app/app_controller.rb'
}
# depends app_controller.rb
class FooController < AppController
end
$ gem install motion-dependencies
Add this line to your application's Rakefile:
require 'motion-dependencies'
Motion::Project::App.setup do |app|
app.files = Dir.glob('./app/lib/**/*.rb') | Dir.glob('./app/**/*.rb')
app.files_dependencies Motion::Dependencies.find_dependencies(app.files)
end
# depends your-mixin.rb
class FooViewController < UIViewController
include YourMixin
end
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request