ougai 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/ougai/formatters/readable.rb +2 -2
- data/lib/ougai/version.rb +1 -1
- data/ougai.gemspec +5 -2
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60f1f030cbb1eb389906d56f3ecad6d4f0b549f2
|
4
|
+
data.tar.gz: 602afdd55a5473b5a967269cb4b1d1b5b7251a8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e33caabe88d4061539a7ac6b187f5280a78d00fd5eb93f6329f57ecf7eb699670f0c3708f67b56970b5ff6ca6f829b4856e2b42f74ae5e3a2b762ba7e94b1e6
|
7
|
+
data.tar.gz: af162bcc83a5d6464c767c726b4e04af903c821303b151f02ed504cac3205e5b0f6b790e925b37a601e7149a4f37373e243e6db1ad29a352e894999adfd35e50
|
data/README.md
CHANGED
@@ -4,8 +4,8 @@ Ougai
|
|
4
4
|
[![Gem Version](https://badge.fury.io/rb/ougai.svg)](https://badge.fury.io/rb/ougai)
|
5
5
|
[![Build Status](https://travis-ci.org/tilfin/ougai.svg?branch=master)](https://travis-ci.org/tilfin/ougai)
|
6
6
|
|
7
|
-
A JSON
|
8
|
-
It is compatible with [
|
7
|
+
A JSON logging system is capable of handling a message, data or an exception easily.
|
8
|
+
It is compatible with [Bunyan](https://github.com/trentm/node-bunyan) for Node.js.
|
9
9
|
It can also output human readable format for the console.
|
10
10
|
|
11
11
|
## Installation
|
@@ -6,7 +6,7 @@ module Ougai
|
|
6
6
|
def initialize(app_name = nil, hostname = nil)
|
7
7
|
super(app_name, hostname)
|
8
8
|
@trace_indent = 4
|
9
|
-
|
9
|
+
load_awesome_print
|
10
10
|
end
|
11
11
|
|
12
12
|
def call(severity, time, progname, data)
|
@@ -42,7 +42,7 @@ module Ougai
|
|
42
42
|
|
43
43
|
private
|
44
44
|
|
45
|
-
def
|
45
|
+
def load_awesome_print
|
46
46
|
require 'awesome_print'
|
47
47
|
rescue LoadError
|
48
48
|
puts 'You must install the awesome_print gem to use this output.'
|
data/lib/ougai/version.rb
CHANGED
data/ougai.gemspec
CHANGED
@@ -9,8 +9,11 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["Toshimitsu Takahashi"]
|
10
10
|
spec.email = ["toshi@tilfin.com"]
|
11
11
|
|
12
|
-
spec.summary = %q{JSON logger compatible node-bunyan.}
|
13
|
-
spec.description
|
12
|
+
spec.summary = %q{JSON logger compatible with node-bunyan is capable of handling data easily.}
|
13
|
+
spec.description = <<-EOF
|
14
|
+
A JSON logging system is capable of handling a message, data or an exception easily.
|
15
|
+
It is compatible with Bunyan for Node.js and can also output human readable format for console.
|
16
|
+
EOF
|
14
17
|
spec.homepage = "https://github.com/tilfin/ougai"
|
15
18
|
spec.license = "MIT"
|
16
19
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ougai
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Toshimitsu Takahashi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -52,7 +52,9 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '3.0'
|
55
|
-
description:
|
55
|
+
description: |2
|
56
|
+
A JSON logging system is capable of handling a message, data or an exception easily.
|
57
|
+
It is compatible with Bunyan for Node.js and can also output human readable format for console.
|
56
58
|
email:
|
57
59
|
- toshi@tilfin.com
|
58
60
|
executables: []
|
@@ -96,6 +98,6 @@ rubyforge_project:
|
|
96
98
|
rubygems_version: 2.2.2
|
97
99
|
signing_key:
|
98
100
|
specification_version: 4
|
99
|
-
summary: JSON logger compatible node-bunyan.
|
101
|
+
summary: JSON logger compatible with node-bunyan is capable of handling data easily.
|
100
102
|
test_files: []
|
101
103
|
has_rdoc:
|