cleanup indentation of ruby files

This commit is contained in:
Emil Tin 2013-09-18 08:16:19 +02:00
parent a178555838
commit 6470838065
10 changed files with 40 additions and 45 deletions

View File

@ -13,18 +13,18 @@ end
def write_server_ini def write_server_ini
s=<<-EOF s=<<-EOF
Threads = 1 Threads = 1
IP = 0.0.0.0 IP = 0.0.0.0
Port = #{OSRM_PORT} Port = #{OSRM_PORT}
hsgrData=#{@osm_file}.osrm.hsgr hsgrData=#{@osm_file}.osrm.hsgr
nodesData=#{@osm_file}.osrm.nodes nodesData=#{@osm_file}.osrm.nodes
edgesData=#{@osm_file}.osrm.edges edgesData=#{@osm_file}.osrm.edges
ramIndex=#{@osm_file}.osrm.ramIndex ramIndex=#{@osm_file}.osrm.ramIndex
fileIndex=#{@osm_file}.osrm.fileIndex fileIndex=#{@osm_file}.osrm.fileIndex
namesData=#{@osm_file}.osrm.names namesData=#{@osm_file}.osrm.names
timestamp=#{@osm_file}.osrm.timestamp timestamp=#{@osm_file}.osrm.timestamp
EOF EOF
File.open( 'server.ini', 'w') {|f| f.write( s ) } File.open( 'server.ini', 'w') {|f| f.write( s ) }
end end

View File

@ -1,4 +1,3 @@
class FuzzyMatch class FuzzyMatch
def self.match got, want def self.match got, want
@ -31,4 +30,3 @@ class FuzzyMatch
end end
end end

View File

@ -47,4 +47,3 @@ end
def fingerprint def fingerprint
@fingerprint ||= Digest::SHA1.hexdigest "#{bin_extract_hash}-#{bin_prepare_hash}-#{bin_routed_hash}-#{profile_hash}-#{lua_lib_hash}-#{osm_hash}" @fingerprint ||= Digest::SHA1.hexdigest "#{bin_extract_hash}-#{bin_prepare_hash}-#{bin_routed_hash}-#{profile_hash}-#{lua_lib_hash}-#{osm_hash}"
end end

View File

@ -63,5 +63,3 @@ end
def log_preprocess_done def log_preprocess_done
end end