chairman 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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