lib/octopi/api.rb in devver-octopi-0.2.10 vs lib/octopi/api.rb in devver-octopi-0.2.11
- old
+ new
@@ -191,10 +191,10 @@
params.delete(k)
path = path.gsub(":#{k.to_s}", v)
end
end
begin
- key = "#{Api.api.class.to_s}:#{path} #{format} #{params.inspect} #{auth_parameters.inspect}"
+ key = "#{Api.api.class.to_s}:#{path}:#{format}:#{params.inspect}:#{auth_parameters.inspect}"
resp = if cache
APICache.get(key, :cache => 61) do
handle_github_api_bug_569(path, format) do
yield(path, params, format, auth_parameters)
end