csb 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/csb/handler.rb +3 -1
- data/lib/csb/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03f660277b1cd9d2d49c1ba8c93ecbbb4853b896927795ea6f6224eedf040344
|
4
|
+
data.tar.gz: 06dc9496068e647f38b028de49343af19c9114e92658d0c0a476fcb992c53755
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88ab7dcc5d3b9385f6d7b429cf4f47aae94f0a6bca8b1f1f6744743a5a823d627ae1d6ecef138b9ac3e4aced2eb899b0dd29a988a3e88488b848cd99df5db02d
|
7
|
+
data.tar.gz: 1bb975774c0aa67a666fea8902738d5652302d5d93d4f4b16542f96d5027bf09657e5f7bb0bde0ffa5a146585179707da76fd42f0862cd394d0620f06bd2a4c6
|
data/CHANGELOG.md
CHANGED
data/lib/csb/handler.rb
CHANGED
@@ -21,7 +21,9 @@ module Csb
|
|
21
21
|
response.headers['Cache-Control'] = 'no-cache'
|
22
22
|
response.headers['X-Accel-Buffering'] = 'no'
|
23
23
|
# SEE: https://github.com/rack/rack/issues/1619
|
24
|
-
|
24
|
+
if Gem::Version.new('2.2.0') <= Gem::Version.new(Rack::RELEASE)
|
25
|
+
response.headers['Last-Modified'] = '0'
|
26
|
+
end
|
25
27
|
end
|
26
28
|
csv.build
|
27
29
|
RUBY
|
data/lib/csb/version.rb
CHANGED