chairman 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/http_cache/response.rb +2 -2
- data/lib/version.rb +1 -1
- metadata +1 -1
data/lib/http_cache/response.rb
CHANGED
@@ -5,9 +5,9 @@ module Faraday
|
|
5
5
|
# the response headers and status informations about how the caching
|
6
6
|
# middleware should handle this specific response.
|
7
7
|
class Response
|
8
|
-
def cacheable?
|
8
|
+
def cacheable?(unused_argument)
|
9
9
|
return false if cache_control.no_store?
|
10
|
-
|
10
|
+
|
11
11
|
cacheable_status_code? && (validateable? || fresh?)
|
12
12
|
end
|
13
13
|
end
|
data/lib/version.rb
CHANGED