lib/onebox/engine.rb in onebox-1.2.0 vs lib/onebox/engine.rb in onebox-1.2.1

- old
+ new

@@ -39,10 +39,10 @@ end private def record - result = cache.fetch(url) { data } + result = cache.fetch(url) { data } cache[url] = result if cache.respond_to?(:key?) result end # raises error if not defined in onebox engine