fluent-plugin-formatter_pretty_json 0.0.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +3 -2
- data/README.md +7 -0
- data/fluent-plugin-formatter_pretty_json.gemspec +2 -2
- data/lib/fluent/plugin/formatter_pretty_json.rb +3 -5
- metadata +5 -6
- data/.ruby-version +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67dc107576723f8ebdbd129dd2370620d191521c
|
4
|
+
data.tar.gz: d582805347a8048ca74a63a9dba3d75ace9f6ac5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f7f0d8d2fcb70d062e811bc570225bc851f7ccd00c2b7c6b10aafe302b7aa78a1709b4ef51c5cdd0c27cd61f3c855da9635361e9d0748448916828f10203894
|
7
|
+
data.tar.gz: bec69b9b83b47e6ed2dea609323dd6102b158bc6cc0d06bc39a168e9879b8eb197ddab11e596b6f8bc091389e8ec8a8971af3eaa692dfff81a9099e663f5cfb9
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -4,6 +4,13 @@
|
|
4
4
|
|
5
5
|
[Fluentd](http://www.fluentd.org/) formatter plugin for formatting record to pretty json.
|
6
6
|
|
7
|
+
## Requirements
|
8
|
+
|
9
|
+
| fluent-plugin-formatter_pretty_json | fluentd | ruby |
|
10
|
+
|------------------------|---------|------|
|
11
|
+
| >= 1.0.0 | >= v0.14.0 | >= 2.1 |
|
12
|
+
| < 1.0.0 | >= v0.12.0 | >= 1.9 |
|
13
|
+
|
7
14
|
### Installation
|
8
15
|
|
9
16
|
Install by gem:
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "fluent-plugin-formatter_pretty_json"
|
5
|
-
spec.version = "0.0
|
5
|
+
spec.version = "1.0.0"
|
6
6
|
spec.authors = ["Yoshihiro MIYAI"]
|
7
7
|
spec.email = ["msparrow17@gmail.com"]
|
8
8
|
|
@@ -20,5 +20,5 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.add_development_dependency "rake"
|
21
21
|
spec.add_development_dependency "test-unit"
|
22
22
|
|
23
|
-
spec.add_runtime_dependency "fluentd", ">= 0.
|
23
|
+
spec.add_runtime_dependency "fluentd", ">= 0.14.0"
|
24
24
|
end
|
@@ -1,12 +1,10 @@
|
|
1
1
|
# coding: utf-8
|
2
|
+
require 'fluent/plugin/formatter'
|
2
3
|
|
3
4
|
module Fluent
|
4
|
-
module
|
5
|
+
module Plugin
|
5
6
|
class PrettyJsonFormatter < Formatter
|
6
|
-
Plugin.register_formatter('pretty_json', self)
|
7
|
-
|
8
|
-
include Configurable
|
9
|
-
include HandleTagAndTimeMixin
|
7
|
+
Fluent::Plugin.register_formatter('pretty_json', self)
|
10
8
|
|
11
9
|
def configure(conf)
|
12
10
|
super
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-formatter_pretty_json
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yoshihiro MIYAI
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: 0.14.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
68
|
+
version: 0.14.0
|
69
69
|
description: Fluentd formatter plugin for formatting record to pretty json.
|
70
70
|
email:
|
71
71
|
- msparrow17@gmail.com
|
@@ -74,7 +74,6 @@ extensions: []
|
|
74
74
|
extra_rdoc_files: []
|
75
75
|
files:
|
76
76
|
- ".gitignore"
|
77
|
-
- ".ruby-version"
|
78
77
|
- ".travis.yml"
|
79
78
|
- Gemfile
|
80
79
|
- LICENSE
|
@@ -102,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
101
|
version: '0'
|
103
102
|
requirements: []
|
104
103
|
rubyforge_project:
|
105
|
-
rubygems_version: 2.
|
104
|
+
rubygems_version: 2.6.13
|
106
105
|
signing_key:
|
107
106
|
specification_version: 4
|
108
107
|
summary: Fluentd formatter plugin pretty json.
|
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.2.3
|