fluent-plugin-graylog 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d80051ea0baf8bfdb65313d56849e651059809f0
4
- data.tar.gz: 7f37f033c4b5d0bf566b7b7611b7becfc2c91d5f
3
+ metadata.gz: f580f3c3b8d1412e059c48d113c6e046aa3eb92a
4
+ data.tar.gz: 50cb0288138f2cac9061851e9298250cac8a8d1c
5
5
  SHA512:
6
- metadata.gz: 58d714731c7b6734c6cae3a7a738ac37a3ce146fa3ac2a8b5c5b2b00a4dd8df707c7000b252a9604bb6e0e9fb3cb9a03f3d22c9ce5941a512bbca244cb0d417d
7
- data.tar.gz: e9a34a30a5924a1874f563abd081df37752ee34d9394ee13516c23497d418c6dc8c913c74edc7283a8a383edb89ccc79c0fb0a0a4ea506351b3b403093c6bee2
6
+ metadata.gz: ee2a7697e5f944c8d6e6db28a0f16dfc42c4292f9ae0794f1288d2d4f3dc86660f52ef1351e755b66817398944de588f1505730664b35917e9d98dd4539d8a87
7
+ data.tar.gz: 43653d2c17c036748c3847e337ede0fdf49735855df0b1e9557ad5db6a0b6b1eba36cceff24e7718dd7205572e978ad9dbc73f545458d881317d038e9faa1aaa
@@ -1,6 +1,14 @@
1
+ Metrics/LineLength:
2
+ Exclude:
3
+ - '*.gemspec'
4
+
1
5
  Style/Documentation:
2
6
  Enabled: false
3
7
 
4
- Style/TrailingComma:
8
+ Style/TrailingCommaInArguments:
9
+ Enabled: true
10
+ EnforcedStyleForMultiline: comma
11
+
12
+ Style/TrailingCommaInLiteral:
5
13
  Enabled: true
6
14
  EnforcedStyleForMultiline: comma
data/Gemfile CHANGED
@@ -1,3 +1,8 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ group :test do
4
+ gem 'codeclimate-test-reporter', require: false
5
+ gem 'simplecov', require: false
6
+ end
7
+
3
8
  gemspec
data/README.md CHANGED
@@ -1,10 +1,17 @@
1
- # [GrayLog](http://graylog.org) plugin for [Fluentd](http://fluentd.org) [![Build Status](https://circleci.com/gh/FundingCircle/fluent-plugin-graylog/tree/master.svg?style=shield&circle-token=532f50099abc19d39f00c89faa39e4d85de12788)](https://circleci.com/gh/FundingCircle/fluent-plugin-graylog/tree/master)
1
+ # [Graylog][graylog] plugin for [Fluentd][fluentd]
2
2
 
3
- [fluentd](http://fluentd.org) output plugin for GrayLog.
3
+ [![Build Status](https://circleci.com/gh/FundingCircle/fluent-plugin-graylog/tree/master.svg?style=shield&circle-token=532f50099abc19d39f00c89faa39e4d85de12788)](https://circleci.com/gh/FundingCircle/fluent-plugin-graylog/tree/master)
4
+ [![Code Climate](https://codeclimate.com/github/FundingCircle/fluent-plugin-graylog/badges/gpa.svg)](https://codeclimate.com/github/FundingCircle/fluent-plugin-graylog)
5
+ [![Test Coverage](https://codeclimate.com/github/FundingCircle/fluent-plugin-graylog/badges/coverage.svg)](https://codeclimate.com/github/FundingCircle/fluent-plugin-graylog/coverage)
6
+
7
+ A [Fluentd](http://fluentd.org) output plugin for [Graylog][graylog].
8
+
9
+ [fluentd]: http://fluentd.org
10
+ [graylog]: http://graylog.org
4
11
 
5
12
  ## Installation
6
13
 
7
- This plugin is not available as a Gem.
14
+ gem install fluentd-plugin-graylog
8
15
 
9
16
  ## Configuration
10
17
 
@@ -24,6 +31,7 @@ Example
24
31
  ```
25
32
 
26
33
  ## License
34
+
27
35
  Copyright © 2015 Funding Circle Ltd.
28
36
 
29
37
  Distributed under the BSD 3-Clause License.
data/circle.yml CHANGED
@@ -6,3 +6,5 @@ test:
6
6
  override:
7
7
  - rvm-exec 1.9.3-p392 bundle exec rake
8
8
  - rvm-exec 2.2.2 bundle exec rake
9
+ post:
10
+ - rvm-exec 2.2.2 bundle exec codeclimate-test-reporter
@@ -1,16 +1,15 @@
1
1
  # coding: utf-8
2
- # rubocop:disable Metrics/LineLength
3
2
  lib = File.expand_path('../lib', __FILE__)
4
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
4
 
6
5
  Gem::Specification.new do |spec|
7
6
  spec.name = 'fluent-plugin-graylog'
8
- spec.version = '1.0.1'
7
+ spec.version = '1.0.2'
9
8
  spec.authors = ['Funding Circle']
10
9
  spec.email = ['engineering@fundingcircle.com']
11
10
 
12
- spec.summary = 'GrayLog output plugin for Fluentd'
13
- spec.description = 'Send logging information in JSON format via TCP to an instance of GrayLog'
11
+ spec.summary = 'Graylog output plugin for Fluentd'
12
+ spec.description = 'Send logging information in JSON format via TCP to an instance of Graylog'
14
13
  spec.license = 'BSD-3-Clause'
15
14
 
16
15
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec|features)/}) }
@@ -18,12 +17,13 @@ Gem::Specification.new do |spec|
18
17
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
18
  spec.require_paths = ['lib']
20
19
 
21
- spec.add_runtime_dependency 'fluentd', '~> 0.12'
20
+ spec.required_ruby_version = '>= 1.9.3'
21
+
22
+ spec.add_runtime_dependency 'fluentd', '~> 0.12.36'
22
23
 
23
24
  spec.add_development_dependency 'rake', '~> 10.0'
24
25
  spec.add_development_dependency 'rspec', '~> 3.3'
25
26
  spec.add_development_dependency 'test-unit', '~> 3.1'
26
27
  spec.add_development_dependency 'pry', '~> 0.10'
27
- spec.add_development_dependency 'rubocop', '~> 0.32'
28
+ spec.add_development_dependency 'rubocop', '0.38.0'
28
29
  end
29
- # rubocop:enable Metrics/LineLength
@@ -15,7 +15,7 @@ module Fluent
15
15
 
16
16
  def configure(conf)
17
17
  super
18
- fail ConfigError, "'host' parameter required" unless conf.key?('host')
18
+ raise ConfigError, "'host' parameter required" unless conf.key?('host')
19
19
  end
20
20
 
21
21
  def start
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-graylog
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Funding Circle
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-10-14 00:00:00.000000000 Z
11
+ date: 2017-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.12'
19
+ version: 0.12.36
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.12'
26
+ version: 0.12.36
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -84,17 +84,17 @@ dependencies:
84
84
  name: rubocop
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: '0.32'
89
+ version: 0.38.0
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: '0.32'
97
- description: Send logging information in JSON format via TCP to an instance of GrayLog
96
+ version: 0.38.0
97
+ description: Send logging information in JSON format via TCP to an instance of Graylog
98
98
  email:
99
99
  - engineering@fundingcircle.com
100
100
  executables: []
@@ -124,7 +124,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
124
124
  requirements:
125
125
  - - ">="
126
126
  - !ruby/object:Gem::Version
127
- version: '0'
127
+ version: 1.9.3
128
128
  required_rubygems_version: !ruby/object:Gem::Requirement
129
129
  requirements:
130
130
  - - ">="
@@ -132,9 +132,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  version: '0'
133
133
  requirements: []
134
134
  rubyforge_project:
135
- rubygems_version: 2.4.5
135
+ rubygems_version: 2.6.12
136
136
  signing_key:
137
137
  specification_version: 4
138
- summary: GrayLog output plugin for Fluentd
138
+ summary: Graylog output plugin for Fluentd
139
139
  test_files: []
140
- has_rdoc: