lib/kanoko.rb in kanoko-0.2.0 vs lib/kanoko.rb in kanoko-0.3.0
- old
+ new
@@ -22,10 +22,10 @@
end
module_function :configure=
def path_for(*function, src)
hash = make_hash(*function, src)
- "/#{hash}/#{function.map{ |i| URI.encode_www_form_component(i) }.join('/')}/#{src}"
+ "/#{hash}/#{function.map { |i| URI.encode_www_form_component(i) }.join('/')}/#{src}"
end
module_function :path_for
def make_hash(*args)
configure.hash_proc.call(*args)