ocean-rails 2.4.0 → 2.4.1

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: 64675634c20a08b28e7e2f0195bc6e127c8fdf96
4
- data.tar.gz: 02d7822699140d76070831993e277de19dff1150
3
+ metadata.gz: a7b5a78372d3c35068c061e3004599974cc799b8
4
+ data.tar.gz: 43d486b1440b968dddcc88d143cd4ed6f0c6da15
5
5
  SHA512:
6
- metadata.gz: 04ecd71eb49c13e05256a7bfd60be3a615adc1c739789e833ea0b30b0309d4ae92650e2b39d7ee08945f04d2dc8d07dd1c41c5c62a0b9b10ff4e8ca59f0c9382
7
- data.tar.gz: 0deea387a4dbffc8a442da376c8e2f7b06684ae7e897ae76a36dc3fdf9cdfccb2e7c7c2dd3ed8e2f7e46ca32f14687a61d1841aff6474a965b05049b2b459507
6
+ metadata.gz: 63ae97e72021e9040ea979d7204e0ea6f3b02d3cf17e279207cc3b4b27f3d688eba591f6dd4fd02709871fd4b46a852197a017f2e677dc603910671604e12da9
7
+ data.tar.gz: e038b3a1d74d55c715485baa14cdd7b8cdf328603d74af85a5fffdaedf3f2dffbfa1a526e340fad59aec7ef8d98496c192be687186142ed4689b3c60f238f142
@@ -106,9 +106,9 @@ if Rails.env == 'production' && ENV['NO_ZEROMQ_LOGGING'].blank?
106
106
  end
107
107
  end
108
108
 
109
- if data[:status] >= 500
109
+ if (data[:status] || 0) >= 500
110
110
  Rails.logger.fatal data
111
- elsif data[:status] >= 400
111
+ elsif (data[:status] || 0) >= 400
112
112
  Rails.logger.error data
113
113
  else
114
114
  Rails.logger.info data
data/lib/ocean/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ocean
2
- VERSION = "2.4.0"
2
+ VERSION = "2.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ocean-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Bengtson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-01 00:00:00.000000000 Z
11
+ date: 2014-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday