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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d59e7893155f28014e0317793ed6e7f37f5cfe3a
4
- data.tar.gz: a9417aa932c9ed42294d7a556892327a70a1d90f
3
+ metadata.gz: 67dc107576723f8ebdbd129dd2370620d191521c
4
+ data.tar.gz: d582805347a8048ca74a63a9dba3d75ace9f6ac5
5
5
  SHA512:
6
- metadata.gz: 55dc664735cb7b523528e8a369368817a4c1ae04563b3d2caa4faade475004c6ff23fae1e0608315cf81f656e33cd7edfb9e339205a7aff308a3f5345207aca7
7
- data.tar.gz: 20681b2e91084d29be39165bb5de0d72545ea88381832f5a59802de9257c8c01b131d91b99d639f1042e5a7624e7d013509578cb627e9e541f1aebd4a65796e3
6
+ metadata.gz: 2f7f0d8d2fcb70d062e811bc570225bc851f7ccd00c2b7c6b10aafe302b7aa78a1709b4ef51c5cdd0c27cd61f3c855da9635361e9d0748448916828f10203894
7
+ data.tar.gz: bec69b9b83b47e6ed2dea609323dd6102b158bc6cc0d06bc39a168e9879b8eb197ddab11e596b6f8bc091389e8ec8a8971af3eaa692dfff81a9099e663f5cfb9
data/.gitignore CHANGED
@@ -7,3 +7,4 @@
7
7
  /pkg/
8
8
  /test/reports/
9
9
  /tmp/
10
+ .ruby-version
@@ -1,6 +1,7 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.0
4
3
  - 2.1
5
4
  - 2.2
6
- before_install: gem install bundler -v 1.10.6
5
+ - 2.3.5
6
+ - 2.4.2
7
+ before_install: gem install bundler -v 1.15.4
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.2"
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.12.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 TextFormatter
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.2
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: 2015-09-06 00:00:00.000000000 Z
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.12.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.12.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.4.5.1
104
+ rubygems_version: 2.6.13
106
105
  signing_key:
107
106
  specification_version: 4
108
107
  summary: Fluentd formatter plugin pretty json.
@@ -1 +0,0 @@
1
- 2.2.3