lib/map-kit-wrapper.rb in map-kit-wrapper-0.0.2 vs lib/map-kit-wrapper.rb in map-kit-wrapper-0.0.3
- old
+ new
@@ -5,10 +5,10 @@
Motion::Project::App.setup do |app|
base_path = "#{File.dirname(__FILE__)}/map-kit-wrapper"
graph = Codependency::Graph.new("#{base_path}/map_view.rb")
- files = (graph.files + Dir.glob(File.join(File.dirname(__FILE__), 'map-kit-wrapper/*.rb')).map { |file| file }).uniq
+ files = (graph.files + Dir.glob(File.join(File.dirname(__FILE__), 'map-kit-wrapper/*.rb'))).uniq
files.reverse.each do |file|
app.files.unshift(file)
end
app.frameworks += ['CoreLocation', 'MapKit']