ocean-rails 2.3.1 → 2.3.2

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
  SHA1:
3
- metadata.gz: 6a249ef526086a2b4e138e5e54d3b1e634671b20
4
- data.tar.gz: 3f3dc81fca5f468771891cdd1364d8de15af68c4
3
+ metadata.gz: b13718e43658a8cbbab59eeea8772fb33e4af6a5
4
+ data.tar.gz: 93e4ad6542d92d6b618418a619d7500d96aa7849
5
5
  SHA512:
6
- metadata.gz: d2a2e8ba731cae49376517c6bd6ac2d25ee0fc7e0a19fce4deaf923c93eb24b43badff2ebc0599b6573d5493aa85d6732305ef9a77618af3a7add1fa8edd474c
7
- data.tar.gz: 99218c4cf33998ad2e6cb5212d1fc0bfdefea34555591803f17eb467829aee4d6daab435f013d71e9de49d0a9b4fb917c4a3dea60d6d69817ea31d347b9dd75c
6
+ metadata.gz: 1c7b16ef3c629ae4f19a59bb62078b31eaf356a8ff2c0d9ad73969aa9544f349e466802230e30a2eade8cce98b6492d65189ff5db800eaf8dfeac3e9403d88e1
7
+ data.tar.gz: 550c1ce9f07e06a834ecac0ebe3f97b5799e93b660e0488e20e798f84ab44a95bfc2546ef74696f32900c66130fd836ce7246fde9b7919624f0091f2d3f598b8
@@ -50,12 +50,14 @@ if Rails.env == 'production' && ENV['NO_ZEROMQ_LOGGING'].blank?
50
50
  data[:token] = Thread.current[:x_api_token] if Thread.current[:x_api_token].present?
51
51
  data[:username] = Thread.current[:username] if Thread.current[:username].present?
52
52
  data[:max_age] = Thread.current[:max_age] if Thread.current[:max_age].present?
53
+ data[:cache_control] = payload[:response].headers['Cache-Control'] if payload[:response].headers['Cache-Control']
53
54
 
54
55
  Thread.current[:logdata] = data
55
56
  Thread.current[:filter] = nil
56
57
  Thread.current[:x_api_token] = nil
57
58
  Thread.current[:username] = nil
58
59
  Thread.current[:max_age] = nil
60
+ Thread.current[:cache_control] = nil
59
61
  end
60
62
  end
61
63
 
@@ -1,3 +1,3 @@
1
1
  module Ocean
2
- VERSION = "2.3.1"
2
+ VERSION = "2.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ocean-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1
4
+ version: 2.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Bengtson