ocean-rails 1.29.2 → 1.29.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ocean/version.rb +1 -1
- data/lib/ocean/zeromq_logger.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33f7c5df637adc115cbe36bb4b64200236157072
|
4
|
+
data.tar.gz: 6a21e73db016ae2f6dd27cd770549d52e2a8786b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24eeebbddad4df0e68fc19cb4d836e71004ac1adee201ec8968e033fbc4dc628182dcbdf7074bcb4c3f0f1e52a67df289cdf25322863d76187d83ec9f3e7f3e3
|
7
|
+
data.tar.gz: dd0ae3c80216b9af828088db861ca2549838930321336f21f9cd4c88232765c93754307b1d3f0f3eb7bb68fba491cc1b94cd97bda946910ffba72ea88b833a0b
|
data/lib/ocean/version.rb
CHANGED
data/lib/ocean/zeromq_logger.rb
CHANGED
@@ -8,7 +8,7 @@ require 'socket'
|
|
8
8
|
#
|
9
9
|
class ZeromqLogger
|
10
10
|
|
11
|
-
attr_accessor :level, :
|
11
|
+
attr_accessor :level, :formatter
|
12
12
|
|
13
13
|
#
|
14
14
|
# Obtains the IP of the current process, initialises the @logger object
|
@@ -25,6 +25,7 @@ class ZeromqLogger
|
|
25
25
|
@log_hosts = cfg['LOG_HOSTS'].blank? ? cfg['production']['LOG_HOSTS'] : cfg['LOG_HOSTS']
|
26
26
|
# Set up the logger
|
27
27
|
@logger = ZeroLog.new "/tmp/sub_push_#{Process.pid}", @log_hosts
|
28
|
+
@formatter = ::Logger::Formatter.new
|
28
29
|
end
|
29
30
|
|
30
31
|
#
|
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: 1.29.
|
4
|
+
version: 1.29.3
|
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-02-
|
11
|
+
date: 2014-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|