]> git.openstreetmap.org Git - rails.git/blob - Vendorfile
Make the node controller return the modified time for deleted nodes
[rails.git] / Vendorfile
1 folder 'vendor/assets' do
2   folder 'leaflet' do
3     file 'leaflet.js', 'http://cdn.leafletjs.com/leaflet-0.6.3/leaflet-src.js'
4     file 'leaflet.css', 'http://cdn.leafletjs.com/leaflet-0.6.3/leaflet.css'
5     file 'leaflet.ie.css', 'http://cdn.leafletjs.com/leaflet-0.6.3/leaflet.ie.css'
6
7     [ 'layers.png', 'layers-2x.png',
8       'marker-icon.png', 'marker-icon-2x.png',
9       'marker-shadow.png' ].each do |image|
10       file "images/#{image}", "http://cdn.leafletjs.com/leaflet-0.6.3/images/#{image}"
11     end    
12
13     from 'git://github.com/kajic/leaflet-locationfilter.git' do
14       file 'leaflet.locationfilter.css', 'src/locationfilter.css'
15       file 'leaflet.locationfilter.js', 'src/locationfilter.js'
16       folder 'img', 'src/img'
17     end
18
19     from 'git://github.com/domoritz/leaflet-locatecontrol.git' do
20       file 'leaflet.locate.js', 'src/L.Control.Locate.js'
21     end
22
23     from 'git://github.com/jfirebaugh/leaflet-osm.git' do
24       file 'leaflet.osm.js', 'leaflet-osm.js'
25     end
26   end
27
28   folder 'ohauth' do
29     from 'git://github.com/osmlab/ohauth.git' do
30       file 'ohauth.js'
31     end
32   end
33
34   folder 'iD' do
35     from 'git://github.com/systemed/iD', :branch => 'release' do
36       folder 'iD/img', 'dist/img'
37       folder 'iD/locales', 'dist/locales'
38       file 'iD.css.erb', 'dist/iD.css' do |path|
39         rewrite(path) { |content| content.gsub(/url\('?(img\/[^')]+)'?\)/, 'url(<%= asset_path("iD/\1") %>)') }
40       end
41       file 'iD.js', 'dist/iD.js'
42     end
43   end
44 end