csb 0.2.2 → 0.2.3

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: 4afb6c06ec16d04dbd0f1c134e8dbcff3ea8e6ee70ff36a4f0fcf6d71be2e1a2
4
- data.tar.gz: c9f1b9d3e4fb907e0301ec37c7f6080d497f12020b052ba4aefb4b51e63c2d71
3
+ metadata.gz: 3ff19feed336a0df9dc6426e5afa90af371db81b44cac91c7d19c1c6ae6d2ea0
4
+ data.tar.gz: afcd571ef70b7bf55fca807e4013d2a8bf765b1739c7cb21c79e6633e0ae2ca1
5
5
  SHA512:
6
- metadata.gz: 17a9a7c0bc365515117938e71962c2742d3618bb231e43a3ad8be68161d18f0e0407b14802bcef42f2242279fa7810190f86bad7466ed66389fb487c09e77bed
7
- data.tar.gz: a9770d65df6d056328757ff536bb2292e54c4550d36b551284fba7aeee5b7588967cdc714991c66ea33e49fbf0bb4440e7492d67cd94a773d0c514c8186ef4be
6
+ metadata.gz: 0eee7bfb6c29045cbc98b92e28de678309450213bc0bb089fbffee484c94ebd5c89efacac09c092feb0380a2c1b3a01b6810c1d9b0ff3aea9064d16f19156ab4
7
+ data.tar.gz: 18c7f6d86ec92c3ff5e39414772b75a4f370f57de0c43e90a7d97396546e1df275d83b4bd04e43409986ea3431d4efbf83126ef83ca001ed9bd99a0808fa0274
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.2.3
2
+
3
+ - Fix rack@2.2.x bug https://github.com/rack/rack/issues/1619
4
+
1
5
  ## 0.2.2
2
6
 
3
7
  - Update dependency
data/lib/csb/handler.rb CHANGED
@@ -20,6 +20,8 @@ module Csb
20
20
  if csv.streaming?
21
21
  response.headers['Cache-Control'] = 'no-cache'
22
22
  response.headers['X-Accel-Buffering'] = 'no'
23
+ # SEE: https://github.com/rack/rack/issues/1619
24
+ response.headers['Last-Modified'] = '0'
23
25
  end
24
26
  csv.build
25
27
  RUBY
data/lib/csb/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Csb
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: csb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - aki77
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-21 00:00:00.000000000 Z
11
+ date: 2020-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails