rack-cache 1.16.0 → 1.17.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f2edcf7ffd2a3b9c5ba66abcdc566caf900f9068461a585f67c17a4738a33daa
4
- data.tar.gz: f099844a7d9b46df7fa513a242e945845cf9eaec0361e5d94ca9d5b2967025bc
3
+ metadata.gz: 28431bb2846ad3498dbd9f76803a132d630f836d149f18edae0856ffda2e05e6
4
+ data.tar.gz: 22e842331fcdcbd53363140da22aa06d4d09b2fc8acc47b7536c110f7fa13586
5
5
  SHA512:
6
- metadata.gz: 6c8c4d4a74af314173a719e46d9121dca7bb32861abde387ea6512fef37a2b7ca1a46c337d6e6e65d73c148b45ac34dc3f16b350550c956c7ab5f285cbfe8a27
7
- data.tar.gz: '09258a5cbdf83683ca810e416e4f7898811fd0a2263d49b692a8f0299285aa2df8089adff28c79bb5a1bf7962eee6eb0107a56835ed4d58b1cedcdecf4545fbe'
6
+ metadata.gz: eea5f65e0f3a1f33c6a48b7584412296ace827394bd1b5e4f1c5f949de5bc00977fa16862941582096871f3f7efd21be08969d7e4bfc9561ab2ba827efb47951
7
+ data.tar.gz: 9966e29e7d2f9e888c720a7ddffd9d083807562805d3081f072839abf0d76fb5e5c0f272747ef5ec1aa50f7bdb364a144eb57c603745d06f7bdc7fd7f0363a96
@@ -124,10 +124,8 @@ module Rack::Cache
124
124
  if response.fresh?
125
125
  response.expire!
126
126
  modified = true
127
- [req, persist_response(response)]
128
- else
129
- [req, res]
130
127
  end
128
+ [req, persist_response(response)]
131
129
  end
132
130
  write key, entries if modified
133
131
  end
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  module Cache
3
- VERSION = '1.16.0'
3
+ VERSION = '1.17.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-cache
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.0
4
+ version: 1.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Tomayko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-01 00:00:00.000000000 Z
11
+ date: 2024-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack