Rubocop autofixes.

This commit is contained in:
Andy Allan 2016-09-07 11:07:42 +01:00
parent e6f06f0515
commit 38e12759ea
16 changed files with 56 additions and 69 deletions

View file

@ -1,6 +1,6 @@
# create list of permissions
xml.instruct! :xml, :version=>"1.0"
xml.osm("version" => "#{API_VERSION}", "generator" => "OpenStreetMap Server") do
xml.instruct! :xml, :version => "1.0"
xml.osm("version" => API_VERSION.to_s, "generator" => "OpenStreetMap Server") do
xml.permissions do
@permissions.each do |permission|
xml.permission :name => permission