ocean-rails 1.29.7 → 1.29.8

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: 438f3fc7dd3a7df2f2021de6ca28934ba418e913
4
- data.tar.gz: 4231a54ad8f6545f1008e632fdccd0d86ef52cbb
3
+ metadata.gz: 28a1c6e8f241193e243d74f615f22d5d5f86920d
4
+ data.tar.gz: 2819b6adb6e7197052dee4d7ed5c20093fb11a18
5
5
  SHA512:
6
- metadata.gz: ab4856a2329dbcd6cc5a7894cefa76e8541d56b75a3d508ef90f43a2c1e4a05666e4782fad34e9b0ae56f84c143cebf94d96f4b2b43b3913eedcc3458191e96a
7
- data.tar.gz: e3cc8912f91edee0a67c3b3794b1ccbe72fc1706720ccbb944f02e4ef7b9b8ec25c2313e78b9df5099b45633aec479183bad72908c35e8168bd122f0afa0cc70
6
+ metadata.gz: 13a439e08406f55ffd6b4d9f231cecf60d76f863375ddd4773fea9fce68157a2f973af188f8c7a820eb5fceee82f2f483888edd9ba471dc162aed031dc775f45
7
+ data.tar.gz: 8903643bc5207ff8f1b4a74188a7582861a67e2dfc698064b47ea4a862f5e9e9e903659e15ff3a99f06eb2f184ff9be154839c7c4b28f9e4b4ab56c61257740f
@@ -48,8 +48,8 @@ if Rails.env == 'production' && ENV['NO_ZEROMQ_LOGGING'].blank?
48
48
  method: method,
49
49
  status: status,
50
50
  runtime: (runtime * 1000).round(0),
51
- view_runtime: payload[:view_runtime].round(0),
52
- db_runtime: payload[:db_runtime].round(0)
51
+ view_runtime: (payload[:view_runtime] || 0).round(0),
52
+ db_runtime: (payload[:db_runtime] || 0).round(0)
53
53
  }
54
54
  data[:params] = params if params.present?
55
55
  data[:filter] = Thread.current[:filter] if Thread.current[:filter]
data/lib/ocean/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ocean
2
- VERSION = "1.29.7"
2
+ VERSION = "1.29.8"
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: 1.29.7
4
+ version: 1.29.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Bengtson