lib/restly/connection.rb in restly-0.0.1.alpha.7 vs lib/restly/connection.rb in restly-0.0.1.alpha.8

- old
+ new

@@ -70,10 +70,10 @@ end private def cached_request(verb, path, opts={}, &block) - options_hash = { verb: verb, token: token, opts: opts, block: block } + options_hash = { verb: verb, token: token, opts: opts, cache_opts: cache_options, block: block } options_packed = [Marshal.dump(options_hash)].pack('m') options_hex = Digest::MD5.hexdigest(options_packed) cache_key = [path.parameterize, options_hex].join('_') # Force a cache miss for all methods except get \ No newline at end of file