X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/53259637f9cef468ce51524a5e6d3fe38eb52c50..b20599b6503be65674c3e420be6cca91b507ac0a:/cookbooks/tile/files/default/ruby/expire.rb diff --git a/cookbooks/tile/files/default/ruby/expire.rb b/cookbooks/tile/files/default/ruby/expire.rb index 8fb0033cd..4e5cba2db 100755 --- a/cookbooks/tile/files/default/ruby/expire.rb +++ b/cookbooks/tile/files/default/ruby/expire.rb @@ -93,7 +93,7 @@ module Expire end end - def Expire.do_expire(change_file, min_zoom, max_zoom, &block) + def Expire.do_expire(change_file, min_zoom, max_zoom, &_) # read in the osm change file doc = XML::Document.file(change_file) @@ -142,7 +142,7 @@ module Expire set = Set.new nodes.values # expire tiles and shrink to the set of parents - (max_zoom).downto(min_zoom) do |z| + (max_zoom).downto(min_zoom) do |_| # allow the block to work on the set, returning the set at the next # zoom level set = yield set